VR-Forces 5.0.2 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
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 ()
 
virtual bool createPublisher (const DtEntityIdentifier &id=DtEntityIdentifier::nullId())
 
virtual void destroyPublisher ()
 
virtual DtString type () const
 
virtual RTI::ObjectClassHandle objectClassHandle () const
 
virtual DtObjectPublisherpublisher () override
 
virtual void updatePublisher ()
 
virtual void updateUuid ()
 
- Public Member Functions inherited from makVrf::DtSimLocalEnvironmentalNetInterface
 DtSimLocalEnvironmentalNetInterface (DtStateData *vrfObject, DtVrlinkNetworkInterface *mgr, bool publishObject=true)
 
virtual ~DtSimLocalEnvironmentalNetInterface ()
 
virtual bool init (const DtEntityIdentifier &id=DtEntityIdentifier::nullId())
 
virtual void forceUpdate ()
 
virtual bool publisherUserSupplied () const
 
virtual bool wantsToCreatePublisher () const
 
virtual bool setEntityPublisher (DtEnvironmentProcessPublisher *publisher)
 
virtual
DtEnvironmentProcessPublisher
environmentalPublisher () const
 
virtual void setupNetworkRepository ()
 
virtual bool publishObject () const
 
virtual bool isLocal () const
 
- Public Member Functions inherited from makVrf::DtSimEnvironmentalNetInterface
 DtSimEnvironmentalNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *objMgr, bool publishObject=true)
 
virtual ~DtSimEnvironmentalNetInterface ()
 
virtual bool init ()
 
virtual DtControlObjectRepositorycontrolObjectNetworkState () const
 
virtual
DtEnvironmentProcessRepository
environmentalNetworkState () const
 
virtual bool isUnit () const
 
virtual bool isEntity () const
 
virtual bool isEnvironmental () const
 
- Public Member Functions inherited from makVrf::DtSimObjectNetInterface
 DtSimObjectNetInterface (DtStateData *simObject, DtVrlinkNetworkInterface *, bool publishObject=true)
 
virtual ~DtSimObjectNetInterface ()
 
virtual void tick ()
 
virtual int maxNameLength () const
 
virtual void toBeRemoved ()
 
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 ()
 
- 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
bool runFullyThreaded () const
 
const DtStateDatavrfObject () const
 
DtStateDatanextFrameVrfObject ()
 
virtual const DtStateRepositorynetworkState () const
 

Protected Attributes

DtVrfServicePublisherPtr myMetocServicePublisher
 
- Protected Attributes inherited from makVrf::DtSimLocalEnvironmentalNetInterface
bool myPublisherUserSupplied
 
DtEnvironmentProcessPublishermyEnvironmentalPublisher
 
bool myPublishObject
 
- Protected Attributes inherited from makVrf::DtSimObjectNetInterface
DtStateDatamySimObject
 
DtVrlinkNetworkInterfacemyObjectManager
 
DtStateRepositorymyNetworkState
 
bool myNeedsNetworkSetup
 
DtNetInterfaceParallelLock myLock
 

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::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 ( )
virtual

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())
virtual

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 ( )
virtual

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

Reimplemented from makVrf::DtSimLocalEnvironmentalNetInterface.

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

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
virtual

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

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 ( )
virtual

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 ( )
virtual

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 ( )
protectedvirtual

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.

Member Data Documentation

DtVrfServicePublisherPtr makVrf::DtMetocServiceLocalNetInterface::myMetocServicePublisher
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)