![]() |
VR-Forces Developer's Guide
|
Local network interface for example embedded system objects. Handles network communication for locally simulated embedded systems, managing state synchronization between local components and network publication.

Protected Member Functions | |
| virtual void | updatePublisher () |
| virtual DtObjectPublisher * | createPublisher (const makVrf::DtExampleEmbeddedSystemStateComponent *stateComponent) |
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 DtString | symbolIdentifierFromSidc (const DtString &sidc) const |
| virtual void | stateDataDestroyed () |
| bool | runFullyThreaded () const |
| const DtStateData * | vrfObject () const |
| DtStateData * | nextFrameVrfObject () |
| virtual const DtStateRepository * | networkState () const |
Protected Attributes | |
| const makVrf::DtExampleEmbeddedSystemStateComponent * | myExEmbeddedSystemComponent |
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 |
| tbb::mutex::scoped_lock | myDeleteGuardLock |
| DtVrfCallbackQueue::CallbackInterface::Ptr | myParallelContainer |
| bool | myInQueue = false |
Private Member Functions | |
| DtExampleEmbeddedSystemLocalNetInterface () | |
| DtExampleEmbeddedSystemLocalNetInterface (const DtSimObjectNetInterface &orig) | |
| const DtExampleEmbeddedSystemLocalNetInterface & | operator= (const DtSimObjectNetInterface &orig) |
Additional Inherited Members | |
Public Types inherited from makVrf::DtSimObjectNetInterface | |
| using | SymbolIdentifierToSidcConversionFcn = boost::function< DtString(const DtString &)> |
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 std::map< DtString, SymbolIdentifierToSidcConversionFcn > | theSymbolIdentifierToSidcConversionFcns |
| static DtSimObjectNetInterfaceFactory * | theFactory |
| static DtNonVrfUUIDResolver * | theNonVrfUUIDResolver |
| DtExampleEmbeddedSystemLocalNetInterface::DtExampleEmbeddedSystemLocalNetInterface | ( | makVrf::DtStateData * | simObject, |
| makVrf::DtVrlinkNetworkInterface * | objectManager, | ||
| bool | publishObject = true |
||
| ) |
Constructor for local network interface.
| simObject | VRF state data object containing embedded system data |
| objectManager | VR-Link network interface manager |
| publishObject | Whether locally simulated objects should publish to network |
|
virtual |
Virtual destructor for proper cleanup.
|
private |
Default constructor - not implemented.
|
private |
Copy constructor - not implemented.
|
virtual |
Initializes the state component for this interface.
| stateComponent | The state component to initialize with |
Reimplemented from makVrf::DtStateComponentNetInterface.
|
virtual |
Returns the type identifier for this network interface. Overridden to provide custom type identification.
Implements makVrf::DtSimObjectNetInterface.
|
static |
Factory creator method for instantiating local network interfaces.
| vrfObject | VRF state data object for the new interface |
| mgr | VR-Link network interface manager |
| publishObject | Whether the new object should be published |
|
virtual |
Indicates whether this interface wants to create a publisher.
Implements makVrf::DtSimObjectNetInterface.
|
inlinevirtual |
Indicates this is a local network interface.
Reimplemented from makVrf::DtLocalStateComponentNetInterface.
|
protectedvirtual |
Copies data from the VRF state component into the VR-Link state repository. Called when local state needs to be published to the network.
Implements makVrf::DtLocalStateComponentNetInterface.
|
protectedvirtual |
Creates the publisher for this component.
| stateComponent | The state component to create a publisher for |
|
private |
Assignment operator - not implemented.
|
protected |
Pointer to the embedded system state component for accessing local state data.