12 #ifndef DtRtiMsgQueue_H_
13 #define DtRtiMsgQueue_H_
20 #include <vlutil/vlHashlist.h>
80 virtual bool timeRegulating();
81 virtual void setTimeRegulating(
bool isTimeRegulating);
82 virtual bool timeConstrained();
83 virtual void setTimeConstrained(
bool isTimeConstrained);
84 virtual bool asynchronous();
85 virtual void setAsynchronous(
bool isAsynchronous);
86 virtual bool timeAvailable();
87 virtual void setTimeAvailable(
bool isTimeAvailable);
88 virtual bool timeAdvancing();
89 virtual void setTimeAdvancing(
bool isTimeAdvancing);
93 virtual void setTimestamp(
const DtRtiApiTime& federateTime);
110 virtual bool queueMsg(
DtRtiMsg const& msg);
113 virtual void restoreMsg(
DtRtiMsg const& msg);
126 virtual void deleteAll();
135 virtual DtRtiMsg* removeNextTsoMsg();
141 inline unsigned int roQueueLength()
const;
144 virtual void clean();
147 virtual bool isDirty()
const;
163 virtual int evaluateSubscription(
DtRtiMsg const& msg);
bool myTimeAvailable
Definition: msgQueue.h:171
bool myIsDirty
Definition: msgQueue.h:173
virtual void setTimeConstrained(bool isTimeConstrained)
Definition: msgQueue.h:197
virtual bool timeRegulating()
Set/Get status of time regulation/constraint.
Definition: msgQueue.h:182
virtual bool operator<(const DtSortedListItem &) const
Sorted list for queueing messages in time stamped order.
Definition: msgQueue.h:71
DtInteractionMgr * myIntMgr
Definition: msgQueue.h:176
bool myTimeRegulatingEnabled
Definition: msgQueue.h:169
unsigned int roQueueLength() const
Return the RO queue length.
Definition: msgQueue.h:262
Definition: fedTimeFactory.h:73
virtual void setGalt(const DtRtiApiTime &federateTime)
Definition: msgQueue.h:257
virtual bool timeAdvancing()
Definition: msgQueue.h:222
DtRtiApiUniquePtr< DtRtiApiTime > myGalt
Definition: msgQueue.h:179
virtual void setTimeAdvancing(bool isTimeAdvancing)
Definition: msgQueue.h:227
virtual void printData()
Print data contents.
virtual DtSortedListItem * newItem(void *data)
Create a new sorted list item envelope for the data to be inserted into the list. ...
virtual bool timeAvailable()
Definition: msgQueue.h:212
RTI_API::LogicalTime DtRtiApiTime
Typedefs for RTI API types that frequently require conditional precompile directives.
Definition: rtiApiTypes.h:91
DtObjectMgr * myObjMgr
Definition: msgQueue.h:175
virtual bool asynchronous()
Definition: msgQueue.h:202
virtual void setTimeRegulating(bool isTimeRegulating)
Definition: msgQueue.h:187
DtSortedListItem is an envelope class used by DtSortedList.
Definition: sortedList.h:24
virtual bool operator==(const DtSortedListItem &) const
MAKRti::DtList myRoList
Definition: msgQueue.h:167
virtual void setTimestamp(const DtRtiApiTime &federateTime)
Definition: msgQueue.h:237
virtual const DtRtiApiTime & galt()
Set/Get greatest allowed logical time When in the time advancing state messages with timestamps less ...
Definition: msgQueue.h:252
Envelope used by DtMsgQueue to contain the messsage inserted into it.
Definition: msgQueue.h:30
Instances of DtInteractionMgr manage the sending and receiving of interactions.
Definition: interMgr.h:46
DtRtiMsg is the base class for messages between RTI components.
Definition: rtiMsg.h:34
DtHandle DtFederateHandle
Definition: internalTypes.h:46
virtual DtSortedListItem * add(void *data)
Add element to the list in sorted order.
virtual bool timeConstrained()
Definition: msgQueue.h:192
bool myAsynchronous
Definition: msgQueue.h:170
DtSortedList & operator=(const DtSortedList &orig)
Assignment operator.
The object manager class processes the object management services.
Definition: objMgr.h:81
virtual void setTimeAvailable(bool isTimeAvailable)
Definition: msgQueue.h:217
bool myTimeConstrainedEnabled
Definition: msgQueue.h:168
DtRtiApiUniquePtr< DtRtiApiTime > myTime
Definition: msgQueue.h:177
Definition: internalTypes.h:84
virtual bool operator>(const DtSortedListItem &) const
virtual DtRtiMsg * msg()
Return pointer to data as a message.
Definition: msgQueue.h:64
DtLogicalTimeFactory * myLogicalTimeFactory
Definition: msgQueue.h:174
virtual bool operator<=(const DtSortedListItem &) const
Comparison operators for sorting.
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
RTI_API::LogicalTimeInterval DtRtiApiTimeInterval
Definition: rtiApiTypes.h:92
DtRtiMsg * myMsg
Definition: msgQueue.h:60
The declaration of internal types.
bool myTimeAdvancing
Definition: msgQueue.h:172
virtual void setLookahead(const DtRtiApiTimeInterval &lookaheadValue)
Definition: msgQueue.h:247
DtRtiApiUniquePtr< DtRtiApiTimeInterval > myLookahead
Definition: msgQueue.h:178
DtLogicalTimeFactory * myLogicalTimeFactory
Definition: msgQueue.h:61
virtual const DtRtiApiTimeInterval & lookahead()
Set/Get current federate lookahead.
Definition: msgQueue.h:242
A DtSortedList is a list of elements of arbitrary type.
Definition: sortedList.h:98
virtual bool operator>=(const DtSortedListItem &) const
virtual const DtRtiApiTime & timestamp()
Set/Get current federate time.
Definition: msgQueue.h:232
virtual void setAsynchronous(bool isAsynchronous)
Definition: msgQueue.h:207