MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assistantPrinter.h
Go to the documentation of this file.
1 /*********************************************************************
2  ** Copyright (c) 2008 MaK Technologies, Inc.
3  ** All rights reserved.
4  *********************************************************************/
5 /*******************************************************************************
6  ** $RCSfile: assistantPrinter.h,v $ $Revision: 1.8 $ $State: Exp $
7  *******************************************************************************/
8 
9 #ifndef assistantPrinter_H_
10 #define assistantPrinter_H_
11 
15 
16 #include "rtiMsConfig.h"
17 #include <vlutil/vlPrint.h>
18 #include <vlutil/vlSmartPointers.h>
19 #include <vlutil/vlString.h>
20 #include <vlutil/vlMutex.h>
21 #include <set>
22 
24 
33 class DT_DLL_ASSISTANT DtAssistantPrinter : public MAKRti::DtPrinter
34 {
35 public:
36 
38  DtAssistantPrinter( std::shared_ptr<DtRtiAssistantClient> client );
39 
41  virtual ~DtAssistantPrinter();
42 
43 private:
44 
47 
49  DtAssistantPrinter& operator=(DtAssistantPrinter const&);
50 
51 public:
52 
56  virtual void write(const std::string &st, int notifyLevel, bool sync);
57 
60  virtual void ignoreNotifyMsg( const MAKRti::DtString& text );
61 
62 protected:
63 
65  std::shared_ptr<DtRtiAssistantClient> myClient;
66 
68  mutable MAKRti::DtMutex myMutex;
69 
71  std::multiset< MAKRti::DtString > myMsgsToIgnore;
72 };
73 
74 #endif
std::multiset< MAKRti::DtString > myMsgsToIgnore
Messages to be ignored the next time they are sent.
Definition: assistantPrinter.h:71
MAKRti::DtMutex myMutex
Used for locking the client connection.
Definition: assistantPrinter.h:68
Manages the client connection to the RTI Assistant.
Definition: rtiAssistantClient.h:59
Sends data from an output stream to the RTI Assistant.
Definition: assistantPrinter.h:33
#define DT_DLL_ASSISTANT
Default – Unix or Win32 static.
Definition: rtiMsConfig.h:150
std::shared_ptr< DtRtiAssistantClient > myClient
The Assistant client connection through which messages are sent.
Definition: assistantPrinter.h:65

Document ID: Generated on Sun Jul 20 16:15:30 EDT 2025 from SVN revision 277985
Copyright © 2005-2025 MAK Technologies Inc. All Rights Reserved (www.mak.com)