MAK Data Logger API Documentation for HLA
lgrSimOutput.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef lgrSimOutput_H_
11 #define lgrSimOutput_H_
12 
13 #include "lgrCore.h"
14 #include "messageOutput.h"
15 
16 namespace MAKLogger
17 {
18 
19  class DtLgrSimManager;
20  class DtLgrImmediateSender;
21  class DtLgrRetainedSender;
22 
26  {
27  public:
28 
31 
33  virtual ~DtLgrSimOutput();
34 
35  private:
39  DtLgrSimOutput& operator=(const DtLgrSimOutput&);
40 
41  public:
43  virtual void activate(const DtMessageInput* msgInput);
44 
46  virtual void activateImplementation() = 0;
47 
49  virtual bool isActivated() const;
50 
52  virtual void deactivate();
53 
55  virtual void deactivateImplementation() = 0;
56 
58  virtual bool outputPacket(const DtPacket& packet);
59 
61  virtual void filterMessage(DtPacket* packet);
63  virtual void filterMessageAllowingCheckpoints(DtPacket* packet);
64 
66  virtual bool sentPackets();
67 
68  virtual bool isDynamicMetaData(DtPacket *packet);
69 
71  {
74  NotSent
75  };
76 
78  virtual PacketSenderType packetSenderType(const DtPacket&) const = 0;
79 
80  protected:
82  virtual void immediateSend(const DtPacket&) const = 0;
83 
85  virtual void retainedSend(const DtPacket&) = 0;
86 
88  void sendPacket(const DtPacket&);
89 
93  };
94 
95 }
96 
97 #endif
98 

Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)