VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtExampleEmbeddedSystemRemoteNetInterface Class Reference

Remote network interface for example embedded system objects. Handles network communication for embedded systems discovered from remote sources, managing state synchronization between network data and local state components.

Inheritance diagram for DtExampleEmbeddedSystemRemoteNetInterface:
Inheritance graph
[legend]

Public Member Functions

 DtExampleEmbeddedSystemRemoteNetInterface (makVrf::DtStateData *vrfObject, makVrf::DtVrlinkNetworkInterface *mgr, bool publishObject=true)
 
virtual ~DtExampleEmbeddedSystemRemoteNetInterface ()
 
virtual void init (makVrf::DtFrameStateInterface *frameState, DtReflectedObject *reflectedObj)
 
virtual DtString type () const
 
- Public Member Functions inherited from makVrf::DtRemoteStateComponentNetInterface
 DtRemoteStateComponentNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objectManager, bool publishObject=true)
 
virtual ~DtRemoteStateComponentNetInterface () override
 
virtual bool isUnit () const override
 
virtual bool isEntity () const override
 
virtual bool isEnvironmental () const override
 
virtual void onTick () override
 
virtual bool isLocal () const override
 
virtual bool wantsToCreatePublisher () const override
 
- Public Member Functions inherited from makVrf::DtStateComponentNetInterface
 DtStateComponentNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objectManager, bool publishObject=true)
 
virtual ~DtStateComponentNetInterface () override
 
virtual bool init (const DtStateComponent *)
 
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 void setInQueue (bool b)
 
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 DtString sidcFromSymbolIdentifier (const DtString &) const
 
virtual void parallelTick ()
 
virtual void forceUpdate ()
 

Static Public Member Functions

static DtSimObjectNetInterface * creator (makVrf::DtStateData *vrfObject, makVrf::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 AddSymbolIdentifierToSidcConversionFcn (const DtString &, SymbolIdentifierToSidcConversionFcn)
 
static DtString App6DToSidcConverter (const DtString &)
 
static void setNonVrfObjectsUUIDScheme (const DtString &)
 
static DtString nonVrfObjectsUUIDScheme ()
 

Protected Member Functions

virtual void updateComponent ()
 
- Protected Member Functions inherited from makVrf::DtRemoteStateComponentNetInterface
virtual void processReflectedObjectUpdated (DtReflectedObject *)
 
- 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

makVrf::DtExampleEmbeddedSystemStateComponent * myExEmbeddedSystemComponent
 
DtReflectedExampleEmbeddedSystem * myExampleEmbeddedSystem
 
- Protected Attributes inherited from makVrf::DtRemoteStateComponentNetInterface
DtReflectedObject * myReflectedObject
 
DtFrameStateInterface * myStateComponent
 
bool myUpdatedOnNetwork
 
- 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

 DtExampleEmbeddedSystemRemoteNetInterface ()
 
 DtExampleEmbeddedSystemRemoteNetInterface (const DtSimObjectNetInterface &orig)
 
const
DtExampleEmbeddedSystemRemoteNetInterface & 
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 Member Functions inherited from makVrf::DtRemoteStateComponentNetInterface
static void reflectedObjectUpdatedCallback (DtReflectedObject *, void *)
 
- Static Protected Attributes inherited from makVrf::DtSimObjectNetInterface
static std::map< DtString,
SymbolIdentifierToSidcConversionFcn > 
theSymbolIdentifierToSidcConversionFcns
 
static
DtSimObjectNetInterfaceFactory * 
theFactory
 
static DtNonVrfUUIDResolver * theNonVrfUUIDResolver
 

Constructor & Destructor Documentation

DtExampleEmbeddedSystemRemoteNetInterface::DtExampleEmbeddedSystemRemoteNetInterface ( makVrf::DtStateData *  vrfObject,
makVrf::DtVrlinkNetworkInterface *  mgr,
bool  publishObject = true 
)

Constructor for remote network interface.

Parameters
vrfObjectVRF state data object containing embedded system data
mgrVR-Link network interface manager
publishObjectWhether this object should be published to network
virtual DtExampleEmbeddedSystemRemoteNetInterface::~DtExampleEmbeddedSystemRemoteNetInterface ( )
virtual

Virtual destructor for proper cleanup.

DtExampleEmbeddedSystemRemoteNetInterface::DtExampleEmbeddedSystemRemoteNetInterface ( )
private

Default constructor - not implemented.

DtExampleEmbeddedSystemRemoteNetInterface::DtExampleEmbeddedSystemRemoteNetInterface ( const DtSimObjectNetInterface &  orig)
private

Copy constructor - not implemented.

Member Function Documentation

virtual void DtExampleEmbeddedSystemRemoteNetInterface::init ( makVrf::DtFrameStateInterface *  frameState,
DtReflectedObject *  reflectedObj 
)
virtual

Initializes the network interface with frame state and reflected object.

Parameters
frameStateInterface for accessing frame-based state data
reflectedObjReflected object representing the remote embedded system

Reimplemented from makVrf::DtRemoteStateComponentNetInterface.

virtual DtString DtExampleEmbeddedSystemRemoteNetInterface::type ( ) const
virtual

Returns the type identifier for this network interface. Overridden to provide custom type identification.

Returns
Type string constant for this interface

Implements makVrf::DtSimObjectNetInterface.

static DtSimObjectNetInterface* DtExampleEmbeddedSystemRemoteNetInterface::creator ( makVrf::DtStateData *  vrfObject,
makVrf::DtVrlinkNetworkInterface *  mgr,
bool  publishObject 
)
static

Factory creator method for instantiating remote network interfaces.

Parameters
vrfObjectVRF state data object for the new interface
mgrVR-Link network interface manager
publishObjectWhether the new object should be published
Returns
Pointer to newly created network interface
virtual void DtExampleEmbeddedSystemRemoteNetInterface::updateComponent ( )
protectedvirtual

Updates the state component with data from the reflected object. Called when network data is received and needs to be applied to local state.

Implements makVrf::DtRemoteStateComponentNetInterface.

const DtExampleEmbeddedSystemRemoteNetInterface& DtExampleEmbeddedSystemRemoteNetInterface::operator= ( const DtSimObjectNetInterface &  orig)
private

Assignment operator - not implemented.

Member Data Documentation

makVrf::DtExampleEmbeddedSystemStateComponent* DtExampleEmbeddedSystemRemoteNetInterface::myExEmbeddedSystemComponent
protected

Pointer to the embedded system state component for local state management.

DtReflectedExampleEmbeddedSystem* DtExampleEmbeddedSystemRemoteNetInterface::myExampleEmbeddedSystem
protected

Pointer to the reflected embedded system object containing network data.


The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)