19 #include <vl/reflectedObject.h>
31 template <
typename BaseNetInterface,
typename BaseStateRepository>
45 , myIsUninitialized(true)
57 BaseStateRepository* stateRep =
58 dynamic_cast<BaseStateRepository*
>(this->myNetworkState);
63 stateRep->setObjectClassHandle(this->objectClassHandle());
67 initializeNetWithProperties();
69 myIsUninitialized =
false;
75 virtual void initializeNetWithProperties() = 0;
82 if (myIsUninitialized)
84 initExtendedProperties();
87 BaseNetInterface::updateFromReflectedObject();
95 simObject, mgr, publishObject);
static DtSimObjectNetInterface * creator(DtStateData *simObject, DtVrlinkNetworkInterface *mgr, bool publishObject)
Definition: remoteExtendedPropertiesNetInterface.h:90
DtRemoteExtendedPropertiesNetInterface()
default constructor
Definition: remoteExtendedPropertiesNetInterface.h:37
virtual void updateFromReflectedObject()
Calls the base class function to copy the network data to the local state repository, then does the same for the extended property attributes.
Definition: remoteExtendedPropertiesNetInterface.h:80
virtual bool initExtendedProperties()
Initializer.
Definition: remoteExtendedPropertiesNetInterface.h:53
Contains the DtSensorFieldOfViewPublisher class declaration.
DtRemoteExtendedPropertiesNetInterface(DtStateData *simObject, DtVrlinkNetworkInterface *mgr, bool publishObject=false)
read/writable constructor
Definition: remoteExtendedPropertiesNetInterface.h:42
class DtVrlinkNetworkInterface:
Definition: vrlinkNetworkInterface.h:55
bool myIsUninitialized
Definition: remoteExtendedPropertiesNetInterface.h:98
The overall structure of the DtStateData mechanism is: The DtStateData contains a list of double buff...
Definition: stateData.h:336
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:48
#define DT_DLL_vrlinkNetworkInterface
This file is used to determine how to build.
Definition: vrlinkNetworkInterfaceDefines.h:24
Definition: remoteExtendedPropertiesNetInterface.h:32
std::map< DtString, DtReaderWriterRegistryData * > myParamPropertyMap
Definition: remoteExtendedPropertiesNetInterface.h:100
std::map< DtString, DtReaderWriterRegistryData * > myStatePropertyMap
Definition: remoteExtendedPropertiesNetInterface.h:99
virtual ~DtRemoteExtendedPropertiesNetInterface()
destructor
Definition: remoteExtendedPropertiesNetInterface.h:50