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
makVrf::DtMetocServiceLocalNetInterface Class Reference

Local network interface for weather state objects. These objects must have a DtWeatherStateRepository to work with this net interface.

Inheritance diagram for makVrf::DtMetocServiceLocalNetInterface:
Inheritance graph
[legend]

Public Member Functions

 DtMetocServiceLocalNetInterface (DtStateData *vrfObject, DtVrlinkNetworkInterface *mgr, bool publishObject=true)
 
virtual ~DtMetocServiceLocalNetInterface () override
 
virtual bool createPublisher (const DtEntityIdentifier &id=DtEntityIdentifier::nullId()) override
 
virtual void destroyPublisher () override
 
virtual DtString type () const override
 
virtual RTI::ObjectClassHandle objectClassHandle () const override
 
virtual bool wantsToCreatePublisher () const override
 
virtual DtObjectPublisherpublisher () override
 
virtual void updatePublisher () override
 
virtual void updateUuid () override
 
- Public Member Functions inherited from makVrf::DtSimLocalEnvironmentalNetInterface
 DtSimLocalEnvironmentalNetInterface (DtStateData *vrfObject, DtVrlinkNetworkInterface *mgr, bool publishObject=true)
 
virtual ~DtSimLocalEnvironmentalNetInterface () override
 
virtual bool init (const DtEntityIdentifier &id=DtEntityIdentifier::nullId()) override
 
virtual void forceUpdate () override
 
virtual bool publisherUserSupplied () const
 
virtual bool setEntityPublisher (DtEnvironmentProcessPublisher *publisher)
 
virtual
DtEnvironmentProcessPublisher
environmentalPublisher () const
 
virtual void setupNetworkRepository ()
 
virtual bool publishObject () const override
 
virtual bool isLocal () const override
 
- Public Member Functions inherited from makVrf::DtSimEnvironmentalNetInterface
 DtSimEnvironmentalNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objMgr, bool publishObject=true)
 
virtual ~DtSimEnvironmentalNetInterface () override
 
virtual bool init ()
 
virtual DtControlObjectRepositorycontrolObjectNetworkState () const
 
virtual
DtEnvironmentProcessRepository
environmentalNetworkState () const
 
virtual bool isUnit () const override
 
virtual bool isEntity () const override
 
virtual bool isEnvironmental () const override
 
- Public Member Functions inherited from makVrf::DtSimObjectNetInterface
DtVrfCallbackQueue::CallbackInterface::Ptr parallelContainer ()
 
 DtSimObjectNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *, bool publishObject=true)
 
virtual ~DtSimObjectNetInterface ()
 
virtual bool init (DtHlaObjectWithStateRep *obj, DtHlaObjectWithStateRep *extendedAttributes=nullptr)
 
virtual void tick ()
 
virtual int maxNameLength () const
 
virtual void toBeRemoved ()
 
virtual void sendFinalPduOnDestruction (bool)
 
bool isValid () const
 
virtual std::vector
< DtGlobalObjectDesignator
associatedGlobalObjectDesignators () const
 
virtual void parallelTick ()
 

Static Public Member Functions

static DtSimObjectNetInterfacecreator (DtStateData *vrfObject, DtVrlinkNetworkInterface *mgr, bool publishObject)
 
- Static Public Member Functions inherited from makVrf::DtSimLocalEnvironmentalNetInterface
static
DtSimLocalEnvironmentalNetInterface
isLocalEnvironmentalNetInterface (const DtSimObjectNetInterface *objNetInterface)
 
static void setHeartbeatVariance (double variance)
 
static double heartbeatVariance ()
 
- Static Public Member Functions inherited from makVrf::DtSimEnvironmentalNetInterface
static
DtSimEnvironmentalNetInterface
isEnvironmentalNetInterface (const DtSimObjectNetInterface *objNetInterface)
 
- Static Public Member Functions inherited from makVrf::DtSimObjectNetInterface
static void setNonVrfUUIDResolver (DtNonVrfUUIDResolver *)
 
static DtNonVrfUUIDResolvernonVrfUUIDResolver ()
 
static void addSimObjectNetInterfaceCreatorFcn (const DtString &type, DtSimObjectNetIfaceCreatorFcn fcn)
 
static void setFactory (DtSimObjectNetInterfaceFactory *factory)
 
static
DtSimObjectNetInterfaceFactory
factory ()
 
static DtSimObjectNetInterfacecreateNetInterface (const DtString &type, DtStateData *simObject, DtVrlinkNetworkInterface *, bool publishObject=true)
 
static int maxNameLengthForInterfaceType (const DtString &interfaceTypeString)
 
static void setNonVrfObjectsUUIDScheme (const DtString &)
 
static DtString nonVrfObjectsUUIDScheme ()
 

Protected Member Functions

 DtMetocServiceLocalNetInterface ()
 
 DtMetocServiceLocalNetInterface (const DtMetocServiceLocalNetInterface &orig)
 
const
DtMetocServiceLocalNetInterface
operator= (const DtMetocServiceLocalNetInterface &orig)
 
virtual void setupMetocPublisher ()
 
virtual void metocTick ()
 
virtual void onTick () override
 
- Protected Member Functions inherited from makVrf::DtSimLocalEnvironmentalNetInterface
virtual
DtEnvironmentProcessPublisher
_createPublisher (const DtEntityIdentifier &id=DtEntityIdentifier::nullId())
 
virtual
DtEnvironmentProcessRepository
_createSR () const
 
- Protected Member Functions inherited from makVrf::DtSimObjectNetInterface
virtual void stateDataDestroyed ()
 
bool runFullyThreaded () const
 
const DtStateDatavrfObject () const
 
DtStateDatanextFrameVrfObject ()
 
virtual const DtStateRepositorynetworkState () const
 

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
 
- Protected Attributes inherited from makVrf::DtSimLocalEnvironmentalNetInterface
bool myPublisherUserSupplied
 
DtEnvironmentProcessPublishermyEnvironmentalPublisher
 
bool myPublishObject
 
bool myEnvironmentalPublisherNeedsDeletion = true
 
- Protected Attributes inherited from makVrf::DtSimObjectNetInterface
DtStateDatamySimObject
 
DtVrlinkNetworkInterfacemyObjectManager
 
DtStateRepositorymyNetworkState
 
bool myNeedsNetworkSetup
 
DtNetInterfaceParallelLock myLock
 
boost::signals2::connection mySimObjectRemovalConnection
 
tbb::mutex myDeleteGuardMutex
 
DtVrfCallbackQueue::CallbackInterface::Ptr myParallelContainer
 
- Static Protected Attributes inherited from makVrf::DtSimLocalEnvironmentalNetInterface
static double theHeartbeatVariance
 
- Static Protected Attributes inherited from makVrf::DtSimObjectNetInterface
static
DtSimObjectNetInterfaceFactory
theFactory
 
static DtNonVrfUUIDResolvertheNonVrfUUIDResolver
 

Constructor & Destructor Documentation

makVrf::DtMetocServiceLocalNetInterface::DtMetocServiceLocalNetInterface ( )
protected

default constructor

makVrf::DtMetocServiceLocalNetInterface::DtMetocServiceLocalNetInterface ( const DtMetocServiceLocalNetInterface orig)
protected
makVrf::DtMetocServiceLocalNetInterface::DtMetocServiceLocalNetInterface ( DtStateData vrfObject,
DtVrlinkNetworkInterface mgr,
bool  publishObject = true 
)

read/writable constructor

virtual makVrf::DtMetocServiceLocalNetInterface::~DtMetocServiceLocalNetInterface ( )
overridevirtual

destructor; calls destroyPublisher()

Member Function Documentation

const DtMetocServiceLocalNetInterface& makVrf::DtMetocServiceLocalNetInterface::operator= ( const DtMetocServiceLocalNetInterface orig)
protected
virtual bool makVrf::DtMetocServiceLocalNetInterface::createPublisher ( const DtEntityIdentifier &  id = DtEntityIdentifier::nullId())
overridevirtual

Called by init() to create a VR-Link publisher, deriving classes create the type of publisher needed for that entity type.

Reimplemented from makVrf::DtSimLocalEnvironmentalNetInterface.

virtual void makVrf::DtMetocServiceLocalNetInterface::destroyPublisher ( )
overridevirtual

Called by the destructor (and also by setPublisher() in some cases, deletes a publisher.

Reimplemented from makVrf::DtSimLocalEnvironmentalNetInterface.

virtual DtString makVrf::DtMetocServiceLocalNetInterface::type ( ) const
overridevirtual

Return type string for publisher that can be referred to in ope files (see "vrfNetIfTypes.h")

Implements makVrf::DtSimLocalEnvironmentalNetInterface.

static DtSimObjectNetInterface* makVrf::DtMetocServiceLocalNetInterface::creator ( DtStateData vrfObject,
DtVrlinkNetworkInterface mgr,
bool  publishObject 
)
static
virtual RTI::ObjectClassHandle makVrf::DtMetocServiceLocalNetInterface::objectClassHandle ( ) const
overridevirtual

Returns the HLA object class handle of the published or reflected object.

Reimplemented from makVrf::DtSimLocalEnvironmentalNetInterface.

virtual bool makVrf::DtMetocServiceLocalNetInterface::wantsToCreatePublisher ( ) const
overridevirtual

Returns true if this interface wants to create a publisher. This cannot be done in parallel.

Reimplemented from makVrf::DtSimLocalEnvironmentalNetInterface.

virtual DtObjectPublisher* makVrf::DtMetocServiceLocalNetInterface::publisher ( )
overridevirtual

Returns the publisher used by this net interface.

Reimplemented from makVrf::DtSimLocalEnvironmentalNetInterface.

virtual void makVrf::DtMetocServiceLocalNetInterface::updatePublisher ( )
overridevirtual

This will copy from the local state repository to the specific type of publisher created in deriving classes.

Implements makVrf::DtSimLocalEnvironmentalNetInterface.

virtual void makVrf::DtMetocServiceLocalNetInterface::updateUuid ( )
overridevirtual

Updates the UUID to be published to the network.

Implements makVrf::DtSimLocalEnvironmentalNetInterface.

virtual void makVrf::DtMetocServiceLocalNetInterface::setupMetocPublisher ( )
protectedvirtual

Create and sets the METOC publisher.

virtual void makVrf::DtMetocServiceLocalNetInterface::metocTick ( )
protectedvirtual
virtual void makVrf::DtMetocServiceLocalNetInterface::onTick ( )
overrideprotectedvirtual

Override of base class onTick() Checks if VR-Forces-specific data has changed. If it has, sets the object changed flag. Calls updatePublisher().

Reimplemented from makVrf::DtSimLocalEnvironmentalNetInterface.


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)