21 #include <vl/reflectedObject.h>
31 template <
typename BaseNetInterface,
typename BaseStateRepository>
45 bool publishObject =
true)
47 , myIsUninitialized(true)
56 , myIsUninitialized(true)
65 BaseNetInterface::operator=(orig));
76 BaseStateRepository* stateRep =
77 dynamic_cast<BaseStateRepository*
>(this->myNetworkState);
82 stateRep->setObjectClassHandle(this->objectClassHandle());
86 initializeNetWithProperties();
88 myIsUninitialized =
false;
94 virtual void initializeNetWithProperties() = 0;
101 if (myIsUninitialized)
103 initExtendedProperties();
106 BaseNetInterface::updateFromReflectedObject();
116 name, simObject, parentRegistry, publishObject);
DtRemoteExtendedPropertiesNetInterface(const DtString &name, DtVrfObject *simObject, DtReaderWriterRegistry *parentRegistry=0, bool publishObject=true)
read/writable constructor
Definition: remoteExtendedPropertiesNetInterface.h:42
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
std::map< DtString, DtReaderWriterRegistryData * > myStatePropertyMap
Definition: remoteExtendedPropertiesNetInterface.h:120
virtual bool initExtendedProperties()
Initializer.
Definition: remoteExtendedPropertiesNetInterface.h:72
bool myIsUninitialized
Definition: remoteExtendedPropertiesNetInterface.h:119
Definition: readerWriterRegistry.h:39
Contains the DtSensorFieldOfViewPublisher class declaration.
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:99
const DtRemoteExtendedPropertiesNetInterface & operator=(const DtRemoteExtendedPropertiesNetInterface< BaseNetInterface, BaseStateRepository > &orig)
assignment operator
Definition: remoteExtendedPropertiesNetInterface.h:61
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
static DtSimObjectNetInterface * creator(const DtString &name, DtVrfObject *simObject, DtReaderWriterRegistry *parentRegistry, bool publishObject)
Definition: remoteExtendedPropertiesNetInterface.h:109
virtual ~DtRemoteExtendedPropertiesNetInterface()
destructor
Definition: remoteExtendedPropertiesNetInterface.h:69
Implements the DtRemoteExtendedPropertiesNetInterface class template.
Definition: remoteExtendedPropertiesNetInterface.h:32
Class Description: DtSimObjectNetInterface.
Definition: simObjectNetInterface.h:37
DtRemoteExtendedPropertiesNetInterface()
default constructor
Definition: remoteExtendedPropertiesNetInterface.h:37
DtRemoteExtendedPropertiesNetInterface(const DtRemoteExtendedPropertiesNetInterface< BaseNetInterface, BaseStateRepository > &orig, DtReaderWriterRegistry *parentRegistry=0)
copy constructor
Definition: remoteExtendedPropertiesNetInterface.h:52
std::map< DtString, DtReaderWriterRegistryData * > myParamPropertyMap
Definition: remoteExtendedPropertiesNetInterface.h:121