17 #include <vlutil/vlUtil.h>
19 #include <vlutil/vlHashlist.h>
20 #include <vlutil/vlFedTarget.h>
43 tuple(
unsigned int o,
float r, MAKRti::DtTime t):offset(o),rate(r),timestamp(t){}
178 void initUpdateRates(
const MAKRti::DtUpdateRateSetT rates);
188 virtual const char* objName()
const;
189 virtual void setObjName(
const char* name);
212 virtual bool ownPriviledgeToDelete();
220 virtual void setIsKnown(
bool isKnownValue);
221 virtual bool isKnown()
const;
245 virtual bool hasBeenUpdated()
const;
248 virtual void markAsUpdated();
251 virtual bool hasBeenReflected()
const;
254 virtual void markAsReflected();
297 virtual void addRemoteRequest(
304 virtual void removeRemoteRequest(
333 virtual void cancelRemoteRequest(
351 virtual int requestCount()
const;
357 virtual int confirmCount()
const;
381 bool keepForConfirm);
395 bool includePendingConfirm=
false);
418 virtual bool okToReceive(
DtHandle attrHandle,
float tolerance);
421 virtual unsigned int computeAttrOffset(
DtHandle attrHandle);
430 virtual int expectedCount(
431 const DtAhvps& inSet,
436 virtual void selectExpected(
438 const DtAhvps& inSet,
443 virtual void removeUnexpected(
487 virtual bool inScope()
const;
557 virtual DtBitMask getDestinations()
const;
568 virtual void overrideDestinations(
DtBitMask const& mask);
571 virtual void setAllDestinations();
586 virtual bool isUpdateOn()
const;
601 virtual MAKRti::DtTransportType attrTransport(
605 virtual MAKRti::DtOrderType attrOrder(
609 virtual void setAttrTransport(
613 virtual void setAttrOrder(
620 DtPubRegionSet* regionSet);
631 virtual unsigned int encodedLength()
const;
633 virtual void encode(
const char *buff);
641 void setTimeToUseDestinations(MAKRti::DtTime timeVal);
644 MAKRti::DtTime timeToUseDestinations()
const;
658 static void setUseDiscoveredClass(
bool yesNo);
std::map< float, DtObjectAttrInfo::tuple > myUpdateRateHold
Helper class for calculating update rate reduction values. Kept here for performance reasons...
Definition: rtiObject.h:782
DtAttributeHandleSet myPendingReqIfAvailSet
Definition: rtiObject.h:727
Definition: rtiObject.h:90
DtFederateHandleStdSet remoteSubscriptions
Federate handles for DM.
Definition: rtiObject.h:74
float rate
Added to base mcast addr;.
Definition: rtiObject.h:46
MAKRti::DtTime timestamp
Definition: rtiObject.h:47
static bool theUseDiscoveredClass
Indicates if discovered class should be used.
Definition: rtiObject.h:772
DtAttributeHandleSet myDivestedSet
Attributes unconditionally divested and managed by LRC These attributes must be actively divested by ...
Definition: rtiObject.h:719
#define DtAhvpBase
Definition: aHandValBase.h:85
DtPubRegionSet * regionSet
Region used to publish attribute.
Definition: rtiObject.h:65
DtAttributeHandleSet myOwnedSet
The set of attributes owned by this federate.
Definition: rtiObject.h:691
Definition: rtiObject.h:89
DtAttributeHandleSet myUnownedSet
Attributes never owned or divested through unpublish and managed by LRC.
Definition: rtiObject.h:715
std::map< DtRegionHandle, DtFederateHandle > DtRegionToFederateMap
Definition: internalTypes.h:47
DtObjectClassInfo * myActualClass
Actual class info.
Definition: rtiObject.h:737
DtUpdateType myUpdateType
Indicates the update type.
Definition: rtiObject.h:709
DtObjectInstanceHandle myId
The object instance handle.
Definition: rtiObject.h:679
DtAttributeHandleSet myDivestingSet
Attributes for which we have initiated a negotiated divestiture.
Definition: rtiObject.h:731
unsigned int offset
Definition: rtiObject.h:45
MAKRti::DtOrderType order
Current time management order type.
Definition: rtiObject.h:59
char * myObjName
The object instance name.
Definition: rtiObject.h:688
tuple()
Definition: rtiObject.h:42
DtObjectClassInfo * myKnownClass
Known class info.
Definition: rtiObject.h:740
DtAttributeHandleSet myPendingRequestSet
Attributes that we've requested, whose requests are pending.
Definition: rtiObject.h:726
DtObjectAttrInfo * myAttrs
List of attributes and information about them.
Definition: rtiObject.h:756
bool myIsKnown
Indicates if the federate knows about this object.
Definition: rtiObject.h:697
static DtEmptyRtiObjectCreator theEmptyCreator
Static Creator Method for Empty RTI Objects.
Definition: rtiObject.h:775
unsigned myNumAttrs
Number of attributes.
Definition: rtiObject.h:759
DtHandle DtObjectClassHandle
Definition: internalTypes.h:31
DtAttributeHandleSet myOutHandleSet
Temporary set holds owned attributes of a given set.
Definition: rtiObject.h:694
bool myHasBeenReflected
Indicates if this object has been reflected.
Definition: rtiObject.h:706
DtRtiObject *(* DtEmptyRtiObjectCreator)()
creator Typedef for Empty RTI Object Creator
Definition: rtiObject.h:95
DtRegionToFederateMap remoteSubscriptionRegions
Federate subscribed by region index by region.
Definition: rtiObject.h:68
DtUpdateType
Update type for object.
Definition: rtiObject.h:87
DtAttributeHandleSet myInScopeAttrs
Attribute in scope advisory status.
Definition: rtiObject.h:743
DtObjectClassHandle myActualHandle
The actual object class handle.
Definition: rtiObject.h:682
MAKRti::DtTime myTimeToUseDestinations
Time that smart forwarding destinations should take effect Before this time, RTI is waiting for disco...
Definition: rtiObject.h:764
#define NULL
Definition: baseTypes13.h:8
Definition: attrHandSet.h:37
DtBitMask * myOverideDestinationsMask
Create this bit mask to override remote subscrbie destinations.
Definition: rtiObject.h:753
Attribute information maintained per object.
Definition: rtiObject.h:36
static DtDiscoveredRtiObjectCreator theDiscoveredCreator
Static Creator Method for Discovered RTI Objects.
Definition: rtiObject.h:779
DtHandle DtFederateHandle
Definition: internalTypes.h:29
DtHandle DtObjectInstanceHandle
Definition: internalTypes.h:33
The RTI object maintains the internal RTI object state.
Definition: rtiObject.h:116
Definition: rtiObject.h:39
std::deque< tuple > offsets
list of (offset, timestamp) for sending
Definition: rtiObject.h:83
std::map< DtFederateHandle, DtObjectClassHandle > DtObjectClassHandleByFederateHandleMap
Definition: rtiObject.h:30
static DtRegisteredRtiObjectCreator theRegisteredCreator
Static Creator Method for Registered RTI Objects.
Definition: rtiObject.h:777
DtFederateHandle myOwnerHandle
The federate who owns the privilege to delete.
Definition: rtiObject.h:700
DtObjectClassHandle myKnownHandle
The federate knows the object as this class.
Definition: rtiObject.h:685
std::map< DtFederateHandle, DtRegionHandle > DtFederateToRegionMap
Definition: internalTypes.h:48
MAKRti::DtTime myNextReceiveTime
Timestamp for deciding whether to receive current update.
Definition: rtiObject.h:80
DtHandle regionSetHandle
Handle of publish region set (when region set is not yet available)
Definition: rtiObject.h:62
tuple(unsigned int o, float r, MAKRti::DtTime t)
Definition: rtiObject.h:43
unsigned long DtHandle
The internal types.
Definition: internalTypes.h:25
DtHandle DtAttributeHandle
Definition: internalTypes.h:37
DtAttributeHandleSet myUpdateOnAttrs
Attribute update on advisory status.
Definition: rtiObject.h:746
bool myHasBeenUpdated
Indicates if this object has been updated.
Definition: rtiObject.h:703
DtRtiObject *(* DtDiscoveredRtiObjectCreator)(DtObjectInstanceHandle id, const char *objName, DtObjectClassInfo *actualClass, DtObjectClassInfo *discoveredClass, DtUpdateType updateType)
creator Typedef for Discovered RTI Object creator
Definition: rtiObject.h:104
DtAttributeHandleSet myRtiOwnedSet
Attributes owned by the RTI (MOM attributes)
Definition: rtiObject.h:722
DtBitMask represents a variable length bit-field which may be used to represent an array of boolean d...
Definition: bitMask.h:24
#define DT_DLL_LRC
Definition: rtiMsConfig.h:126
DtObjectClassHandleByFederateHandleMap myKnownAttributeOwnersMap
This contains attribute owner information.
Definition: rtiObject.h:768
DtRtiObject *(* DtRegisteredRtiObjectCreator)(DtObjectInstanceHandle id, const char *objName, DtObjectClassInfo *actualClass, DtUpdateType updateType)
creator Typedef for Registered RTI Object Creator
Definition: rtiObject.h:98
The declaration of internal types.
Definition: objClassInfo.h:37
MAKRti::DtTransportType transport
Current transport type.
Definition: rtiObject.h:56
DtFederateToRegionMap remoteSubscriptionRegionsByFederate
Region used in remote subscription indexed by federate.
Definition: rtiObject.h:71
std::set< DtFederateHandle > DtFederateHandleStdSet
Definition: internalTypes.h:30
Definition: rtiObject.h:91
DtAttributeHandleSet myLrcManagedSet
Union of attributes that are not owned by anyone and managed by LRC.
Definition: rtiObject.h:712
DtBitMask remoteSubscriberMask
Union of DM and DDM subs.
Definition: rtiObject.h:77
std::map< DtFederateHandle, DtObjectClassHandle > myDiscoveredClass
For each remote federate that discovered this object, contains the discovery class handle...
Definition: rtiObject.h:750
class DtRequestDatabase
Definition: requestDb.h:38
DtRequestDatabase myRemoteReqDb
Database of remote request information. These attributes are owned.
Definition: rtiObject.h:734