MAK Data Logger API Documentation for HLA
messageInput.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef messageInput_H_
10 #define messageInput_H_
11 
12 #include "lgrCore.h"
13 #include "messageBuffer.h"
14 
15 namespace MAKLogger
16 {
17  class DtMessageIOInfo;
18 
23  {
24  protected:
26  private:
30  DtMessageInput& operator=(const DtMessageInput&);
31  public:
32 
33  virtual ~DtMessageInput();
34 
36  virtual void activate() = 0;
37 
39  virtual void deactivate() = 0;
40 
42  virtual void startReadMessages(DtAbsoluteTime timeToRead);
43 
45  virtual void stopReadMessages();
46 
48  virtual DtAbsoluteTime inputTime() const;
49 
55  virtual void setStopReadingTimeBoundary(bool inclusive);
56 
60  virtual bool stopReadingBoundary() const;
61 
63  virtual void getNextMessages(DtMessageBuffer&) = 0;
64 
66  virtual void dropNextMessages() = 0;
67 
69  virtual const DtMessageIOInfo* info() const = 0;
70 
72  virtual void tick();
73 
76  virtual void setTimeLimit(double limit);
77 
79  virtual void insertPacket(DtPacket* packet);
80 
81  protected:
82 
85  double myTimeLimit;
86  // The time of the next packet waiting to be read if known; otherwise, -1.0.
88 
90  };
91 
92 }
93 
94 #endif

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)