![]() |
VR-Forces 5.0.2 Developer's Guide
|
Class Description: DtActiveSonarLocalNetInterface.
Publishes emitter found in the DtActiveSonarStateComponent passed in
There is a unified publisher in VR-Link, so, even though both of these types are added, if there are both acoustic and underwater propulsion going on, the active sonar publisher will do the unified publishing and the underwater acoustics will do nothing

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 Attributes | |
| const DtActiveSonarStateComponent * | myActiveSonarComponent |
| bool | myInCombinedMode |
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 |
Private Member Functions | |
| DtActiveSonarLocalNetInterface () | |
| DtActiveSonarLocalNetInterface (const DtSimObjectNetInterface &orig) | |
| const DtActiveSonarLocalNetInterface & | operator= (const DtSimObjectNetInterface &orig) |
Additional Inherited Members | |
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::DtActiveSonarLocalNetInterface::DtActiveSonarLocalNetInterface | ( | 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.
|
virtual |
destructor
|
private |
assignment operator
|
virtual |
Derived classes that need to perform virtual construction my override this function as desired.
Reimplemented from makVrf::DtStateComponentNetInterface.
|
virtual |
Returns the type of net interface object. Strings are defined in netIfTypes.h.
Implements makVrf::DtSimObjectNetInterface.
|
static |
|
inlinevirtual |
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.
|
virtual |
Returns true if this interface wants to create a publisher. This cannot be done in parallel.
Implements makVrf::DtSimObjectNetInterface.
|
protectedvirtual |
Implements makVrf::DtLocalStateComponentNetInterface.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |