![]() |
VR-Forces Developer's Guide
|
Class Description: DtIffLocalNetInterface.
Publishes the IFF found in the DIFFStateComponent passed in

Public Types | |
| typedef boost::function< void(DtIffPublisher *pub, const DtIffStateComponent *)> | ModeEncoder |
Public Member Functions | |
| DtIffLocalNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objectManager, bool publishObject=true) | |
| virtual | ~DtIffLocalNetInterface () override |
| virtual bool | init (const DtStateComponent *) override |
| virtual DtString | type () const override |
| virtual bool | isLocal () const override |
| virtual bool | wantsToCreatePublisher () const override |
Public Member Functions inherited from makVrf::DtLocalStateComponentNetInterface | |
| DtLocalStateComponentNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objectManager, bool publishObject=true) | |
| virtual | ~DtLocalStateComponentNetInterface () override |
| virtual bool | isUnit () const override |
| virtual bool | isEntity () const override |
| virtual bool | isEnvironmental () const override |
| virtual void | onTick () override |
| virtual bool | publishObject () const override |
Public Member Functions inherited from makVrf::DtStateComponentNetInterface | |
| DtStateComponentNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objectManager, bool publishObject=true) | |
| virtual | ~DtStateComponentNetInterface () 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 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 Types | |
| typedef std::map< int, ModeEncoder > | ModeEncoders |
Protected Member Functions | |
| virtual DtObjectPublisher * | createPublisher (const DtIffStateComponent *) |
| virtual void | updatePublisher (DtObjectPublisher *, const DtIffStateComponent *) |
| virtual void | updatePublisher () override |
| virtual bool | shouldPublish () const override |
Protected Member Functions inherited from makVrf::DtLocalStateComponentNetInterface | |
| virtual void | lock () |
| virtual void | unlock () |
Protected Member Functions inherited from makVrf::DtStateComponentNetInterface | |
| 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 DtIffStateComponent * | myIffComponent |
| bool | myWasOnceOn |
Protected Attributes inherited from makVrf::DtLocalStateComponentNetInterface | |
| bool | myPublishObject |
| DtObjectPublisher * | myPublisher |
| boost::signals2::connection | myComponentAddedConnection |
| boost::signals2::connection | myComponentRemovedConnection |
Protected Attributes inherited from makVrf::DtStateComponentNetInterface | |
| 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 |
Static Protected Attributes | |
| static ModeEncoders | theModeEncoders |
Static Protected Attributes inherited from makVrf::DtSimObjectNetInterface | |
| static DtSimObjectNetInterfaceFactory * | theFactory |
| static DtNonVrfUUIDResolver * | theNonVrfUUIDResolver |
Private Member Functions | |
| DtIffLocalNetInterface () | |
| DtIffLocalNetInterface (const DtSimObjectNetInterface &orig) | |
| const DtIffLocalNetInterface & | 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 |
| typedef boost::function<void (DtIffPublisher* pub, const DtIffStateComponent*)> makVrf::DtIffLocalNetInterface::ModeEncoder |
|
protected |
|
private |
default constructor
|
private |
copy constructor
| makVrf::DtIffLocalNetInterface::DtIffLocalNetInterface | ( | 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 |
Derived classes that need to perform virtual construction my override this function as desired.
Reimplemented from makVrf::DtStateComponentNetInterface.
|
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? Local network interfaces should implement this function to return true. Remote network interfaces should implement this to return true.
Reimplemented from makVrf::DtLocalStateComponentNetInterface.
|
overridevirtual |
Returns true if this interface wants to create a publisher. This cannot be done in parallel.
Implements makVrf::DtSimObjectNetInterface.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Implements makVrf::DtLocalStateComponentNetInterface.
|
overrideprotectedvirtual |
Reimplemented from makVrf::DtLocalStateComponentNetInterface.
|
staticprotected |
|
protected |
|
mutableprotected |