![]() |
VR-Forces Developer's Guide
|
Class Description: DtAerodromeLocalNetInterface.
Publishes aerodrome found in the DtAerodromeStateComponent passed in

Public Member Functions | |
| DtAerodromeLocalNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objectManager, bool publishObject=true) | |
| virtual | ~DtAerodromeLocalNetInterface () override |
| virtual DtString | type () const override |
| virtual bool | isUnit () const override |
| virtual bool | isEntity () const override |
| virtual bool | isEnvironmental () const override |
| virtual bool | init (const DtEntityIdentifier &id=DtEntityIdentifier()) override |
| virtual bool | isLocal () const override |
| virtual bool | publishObject () const override |
| virtual bool | wantsToCreatePublisher () const override |
| virtual void | onTick () override |
| virtual RTI::ObjectClassHandle | objectClassHandle () const override |
Public Member Functions inherited from makVrf::DtSimObjectNetInterface | |
| DtVrfCallbackQueue::CallbackInterface::Ptr | parallelContainer () |
| DtSimObjectNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *, bool publishObject=true) | |
| virtual | ~DtSimObjectNetInterface () |
| virtual bool | init (DtHlaObjectWithStateRep *obj, DtHlaObjectWithStateRep *extendedAttributes=nullptr) |
| virtual void | tick () |
| virtual int | maxNameLength () const |
| virtual void | toBeRemoved () |
| virtual void | sendFinalPduOnDestruction (bool) |
| bool | isValid () const |
| virtual std::vector < DtGlobalObjectDesignator > | associatedGlobalObjectDesignators () const |
| virtual void | parallelTick () |
| virtual void | forceUpdate () |
Static Public Member Functions | |
| static DtSimObjectNetInterface * | creator (DtStateData *vrfObject, DtVrlinkNetworkInterface *mgr, bool publishObject) |
Static Public Member Functions inherited from makVrf::DtSimObjectNetInterface | |
| static void | setNonVrfUUIDResolver (DtNonVrfUUIDResolver *) |
| static DtNonVrfUUIDResolver * | nonVrfUUIDResolver () |
| static void | addSimObjectNetInterfaceCreatorFcn (const DtString &type, DtSimObjectNetIfaceCreatorFcn fcn) |
| static void | setFactory (DtSimObjectNetInterfaceFactory *factory) |
| static DtSimObjectNetInterfaceFactory * | factory () |
| static DtSimObjectNetInterface * | createNetInterface (const DtString &type, DtStateData *simObject, DtVrlinkNetworkInterface *, bool publishObject=true) |
| static int | maxNameLengthForInterfaceType (const DtString &interfaceTypeString) |
| static void | setNonVrfObjectsUUIDScheme (const DtString &) |
| static DtString | nonVrfObjectsUUIDScheme () |
Protected Member Functions | |
| virtual bool | createPublisher (const DtAerodromeStateComponent *) |
| virtual void | updatePublisher (DtObjectPublisher *, const DtAerodromeStateComponent *) |
| virtual void | updateRunway (const DtRunwayStateData &, DtRunwayStateRepository *) |
| virtual void | updateAerodrome (const DtAerodromeStateComponent *data, DtAerodromeStateRepository *) |
| virtual void | updateVrfDataAsSeenByRemote (DtAerodromeStateRepository *) |
| virtual const DtVrfStateComponent * | vrfStateComponent () |
| virtual void | updatePublisher () |
| virtual const DtAerodromeStateComponent * | aerodromeStateComponent () |
| virtual void | firstTimeInitialize () |
Protected Member Functions inherited from makVrf::DtSimObjectNetInterface | |
| virtual void | stateDataDestroyed () |
| bool | runFullyThreaded () const |
| const DtStateData * | vrfObject () const |
| DtStateData * | nextFrameVrfObject () |
| virtual const DtStateRepository * | networkState () const |
Protected Attributes | |
| const DtAerodromeStateComponent * | myAerodromeComponent |
| std::vector < DtRunwayStateRepository * > | myRunways |
| const DtVrfStateComponent * | myVrfStateComponent |
| DtVrfAerodromePublisher * | myPublisher |
| bool | myPublishObject |
| bool | myFirstTimeInitialize |
Protected Attributes inherited from makVrf::DtSimObjectNetInterface | |
| DtStateData * | mySimObject |
| DtVrlinkNetworkInterface * | myObjectManager |
| DtStateRepository * | myNetworkState |
| bool | myNeedsNetworkSetup |
| DtNetInterfaceParallelLock | myLock |
| boost::signals2::connection | mySimObjectRemovalConnection |
| tbb::mutex | myDeleteGuardMutex |
| DtVrfCallbackQueue::CallbackInterface::Ptr | myParallelContainer |
Private Member Functions | |
| DtAerodromeLocalNetInterface () | |
| DtAerodromeLocalNetInterface (const DtAerodromeLocalNetInterface &orig) | |
| const DtAerodromeLocalNetInterface & | operator= (const DtSimObjectNetInterface &orig) |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtSimObjectNetInterface | |
| boost::signals2::signal< void()> | signal_networkInterfaceDeleted |
Static Public Attributes inherited from makVrf::DtSimObjectNetInterface | |
| static tbb::spin_rw_mutex | thePublisherCreationMutex |
| static tbb::spin_rw_mutex | thePublisherTickMutex |
Static Protected Attributes inherited from makVrf::DtSimObjectNetInterface | |
| static DtSimObjectNetInterfaceFactory * | theFactory |
| static DtNonVrfUUIDResolver * | theNonVrfUUIDResolver |
|
private |
default constructor
|
private |
copy constructor
| makVrf::DtAerodromeLocalNetInterface::DtAerodromeLocalNetInterface | ( | DtStateData * | simObject, |
| DtVrlinkNetworkInterface * | objectManager, | ||
| bool | publishObject = true |
||
| ) |
read/writable constructor Publish object flag indicate whether or not locally simulated objects should actually publish the object on the network. If flag is false, no PDUs/RPR interactions should be sent over the network for the object.
|
overridevirtual |
destructor
|
private |
assignment operator
|
overridevirtual |
Returns the type of net interface object. Strings are defined in netIfTypes.h.
Implements makVrf::DtSimObjectNetInterface.
|
static |
|
inlineoverridevirtual |
Is this network interface for a local (true) or remote (false) object? Deriving network interfaces should implement this function to return the appropriate value.
Implements makVrf::DtSimObjectNetInterface.
|
inlineoverridevirtual |
Implements makVrf::DtSimObjectNetInterface.
|
inlineoverridevirtual |
Implements makVrf::DtSimObjectNetInterface.
|
overridevirtual |
Derived classes that need to perform virtual construction my override this function as desired.
Reimplemented from makVrf::DtSimObjectNetInterface.
|
inlineoverridevirtual |
Is this network interface for a local (true) or remote (false) object? Local network interfaces should implement this function to return true. Remote network interfaces should implement this to return true.
Implements makVrf::DtSimObjectNetInterface.
|
inlineoverridevirtual |
Reimplemented from makVrf::DtSimObjectNetInterface.
|
overridevirtual |
Returns true if this interface wants to create a publisher. This cannot be done in parallel.
Implements makVrf::DtSimObjectNetInterface.
|
overridevirtual |
Depending on the whether or not the entity is local or remote, this will cause the VR-Link network repository info to be copied to the local state repository or vice versa.
Implements makVrf::DtSimObjectNetInterface.
|
overridevirtual |
Returns the HLA object class handle of the published or reflected object.
Implements makVrf::DtSimObjectNetInterface.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |