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 
70  {
73  NotSent
74  };
75 
77  virtual PacketSenderType packetSenderType(const DtPacket&) const = 0;
78 
79  protected:
81  virtual void immediateSend(const DtPacket&) const = 0;
82 
84  virtual void retainedSend(const DtPacket&) = 0;
85 
87  void sendPacket(const DtPacket&);
88 
92  };
93 
94 }
95 
96 #endif
97 

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)