MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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/lgrCore.h>
13 #include <lgrCore/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 Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)