MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
bufferPrinter.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: bufferPrinter.h,v $ $Revision: 1.1 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef bufferPrinter_H_
10 #define bufferPrinter_H_
11 
14 
15 #include "rtiMsConfig.h"
16 #include "printerBuf.h"
17 #include <vlutil/vlPrint.h>
18 #include <vlutil/vlSmartPointers.h>
19 
25 class DT_DLL_RTIUTIL DtBufferPrinter : public MAKRti::DtPrinter
26 {
27 public:
28 
30  DtBufferPrinter( DtBoost::shared_ptr<DtPrinterBuf> buffer );
31 
33  virtual ~DtBufferPrinter();
34 
36  virtual void write(const std::string &st, int notify_level, bool sync);
37 
39  DtBoost::shared_ptr<DtPrinterBuf> buffer() { return myBuffer; }
40 
42  virtual void swapBuffer( DtBoost::shared_ptr<DtPrinterBuf> buffer );
43 
46  virtual void swapAndCopyBuffer( DtBoost::shared_ptr<DtPrinterBuf> buffer );
47 
48 protected:
49 
51  DtBoost::shared_ptr<DtPrinterBuf> myBuffer;
52 
53 };
54 
55 #endif
56 

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)