![]() |
VR-Forces Developer's Guide
|
Class Description: DtStateComponentNetInterface.
DtStateComponentNetInterface is a base class for net interfaces that simply deal with components that are part of a state data

Public Member Functions | |
| DtStateComponentNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objectManager, bool publishObject=true) | |
| virtual | ~DtStateComponentNetInterface () override |
| virtual bool | init (const DtStateComponent *) |
| virtual bool | isUnit () const override |
| virtual bool | isEntity () const override |
| virtual bool | isEnvironmental () const override |
| virtual bool | publishObject () const override |
| virtual void | tick () override |
Public Member Functions inherited from makVrf::DtSimObjectNetInterface | |
| DtVrfCallbackQueue::CallbackInterface::Ptr | parallelContainer () |
| DtSimObjectNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *, bool publishObject=true) | |
| virtual | ~DtSimObjectNetInterface () |
| virtual bool | init (const DtEntityIdentifier &id=DtEntityIdentifier()) |
| virtual bool | init (DtHlaObjectWithStateRep *obj, DtHlaObjectWithStateRep *extendedAttributes=nullptr) |
| virtual void | onTick ()=0 |
| virtual bool | wantsToCreatePublisher () const =0 |
| virtual bool | isLocal () const =0 |
| virtual DtString | type () const =0 |
| 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 () |
Protected Member Functions | |
| virtual RTI::ObjectClassHandle | objectClassHandle () const override |
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 DtStateComponent * | myStateComponent |
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 | |
| DtStateComponentNetInterface () | |
| DtStateComponentNetInterface (const DtStateComponentNetInterface &orig) | |
| const DtStateComponentNetInterface & | operator= (const DtStateComponentNetInterface &orig) |
|
private |
default constructor
|
private |
copy constructor
| makVrf::DtStateComponentNetInterface::DtStateComponentNetInterface | ( | 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
|
virtual |
Derived classes that need to perform virtual construction my override this function as desired. The state component passed in is the state component that will be published from.
Reimplemented in makVrf::DtTaskVisualizationLocalNetInterface, makVrf::DtActiveSonarLocalNetInterface, makVrf::DtAirTurbulenceLocalNetInterface, makVrf::DtIffLocalNetInterface, makVrf::DtWindCorridorLocalNetInterface, makVrf::DtEmitterSystemLocalNetInterface, makVrf::DtTimeAndDateLocalNetInterface, makVrf::DtUnderwaterAcousticsLocalNetInterface, makVrf::DtDynamicTerrainLocalNetInterface, makVrf::DtRadioTransmitterLocalNetInterface, makVrf::DtRadioReceiverLocalNetInterface, makVrf::DtSensorFieldOfViewLocalNetInterface, and makVrf::DtLaserDesignatorLocalNetInterface.
|
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.
Reimplemented in makVrf::DtRemoteStateComponentNetInterface, and makVrf::DtLocalStateComponentNetInterface.
|
inlineoverridevirtual |
Implements makVrf::DtSimObjectNetInterface.
Reimplemented in makVrf::DtRemoteStateComponentNetInterface, and makVrf::DtLocalStateComponentNetInterface.
|
inlineoverridevirtual |
Implements makVrf::DtSimObjectNetInterface.
Reimplemented in makVrf::DtRemoteStateComponentNetInterface, and makVrf::DtLocalStateComponentNetInterface.
|
inlineoverridevirtual |
Reimplemented from makVrf::DtSimObjectNetInterface.
Reimplemented in makVrf::DtLocalStateComponentNetInterface.
|
overridevirtual |
Calls onTick()
Reimplemented from makVrf::DtSimObjectNetInterface.
|
overrideprotectedvirtual |
Returns the HLA object class handle of the published or reflected object.
Implements makVrf::DtSimObjectNetInterface.
|
protected |