MAK RTIspy API Documentation for HLA 1.3
bufferPrinter.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: bufferPrinter.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef bufferPrinter_H_
00010 #define bufferPrinter_H_
00011 
00014 
00015 #include "rtiMsConfig.h"
00016 #include "printerBuf.h"
00017 #include <vlutil/vlPrint.h>
00018 #include <vlutil/vlSmartPointers.h>
00019 
00025 class DT_DLL_RTIUTIL DtBufferPrinter : public MAKRti::DtPrinter
00026 {
00027 public:
00028    
00030    DtBufferPrinter( DtBoost::shared_ptr<DtPrinterBuf> buffer );
00031 
00033    virtual ~DtBufferPrinter();
00034 
00036    virtual void write(const std::string &st, int notify_level);
00037 
00039    DtBoost::shared_ptr<DtPrinterBuf> buffer() { return myBuffer; }
00040 
00042    virtual void swapBuffer( DtBoost::shared_ptr<DtPrinterBuf> buffer );
00043 
00046    virtual void swapAndCopyBuffer( DtBoost::shared_ptr<DtPrinterBuf> buffer );
00047 
00048 protected:
00049 
00051    DtBoost::shared_ptr<DtPrinterBuf> myBuffer;
00052 
00053 };
00054 
00055 #endif
00056 

Document ID: Generated on Thu Jun 14 14:15:04 EDT 2012 from SVN revision 116116
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)