32 typedef void (*PropertyDecoder) (
const char* buffer,
unsigned size,
int version,
void* usr);
33 typedef void (*PropertyEncoder) (std::vector<char>& buffer,
void* usr);
60 virtual void initialize();
64 virtual bool isInitialized()
const;
79 if (myStateProperties)
81 return *myStateProperties;
89 if (myParameterProperties)
91 return *myParameterProperties;
97 virtual void setUuidString(
const DtString& uuidStr);
102 virtual bool sensorsKilled()
const;
103 virtual void setSensorsKilled(
bool killed);
109 std::map<unsigned, DtString>& recTypesToAttrNames);
115 virtual void updateExtensions();
122 virtual bool updatePropertiesFromAttributes(
bool updatesOnly =
true);
126 virtual void updateAttributesFromProperties();
132 virtual void addPropertyDecoder(
const DtString& propName, PropertyDecoder decoder,
void* usr);
138 virtual void addPropertyEncoder(
const DtString& propName, PropertyEncoder encoder,
void* usr);
141 virtual void removePropertyEncodersAndDecoders();
147 virtual bool createVrfObjectDataMessage();
151 virtual void giveOwernshipOfProperties();
162 virtual void addPropertyUpdatedCallback(
164 virtual void removePropertyUpdatedCallback(
171 virtual void initializeVrfObjectDataProperties();
177 virtual char* encodingBuffer(
int size);
191 : propertyName(pn), decoder(d), usr(u) {};
202 : propertyName(pn), encoder(e), usr(u) {};
PropertyDecoderInfo()
Definition: extAggregateStateRepository.h:189
Contains the DtExtAggregateBaseStateRepository class.
PropertyDecoder decoder
Definition: extAggregateStateRepository.h:194
DtString myUUIDString
Definition: extAggregateStateRepository.h:224
Definition: symbolString.h:20
DtNoArgumentCallbackList myPropertyUpdatedCallbacks
Definition: extAggregateStateRepository.h:229
DtTime myLastEncodeTime
Definition: extAggregateStateRepository.h:214
std::list< PropertyEncoderInfo > myAdditionalEncoders
Definition: extAggregateStateRepository.h:210
DtRwProperties * myStateProperties
Definition: extAggregateStateRepository.h:181
void(* DtCallbackFunctionType)(void *)
The function signature of the callback function.
Definition: noArgumentCallbackList.h:156
int myPropertyVersion
Definition: extAggregateStateRepository.h:222
void * usr
Definition: extAggregateStateRepository.h:195
Definition: extAggregateStateRepository.h:187
voidpf void uLong size
Definition: ioapi.h:39
static const DtRwProperties & emptyProperties()
PropertyEncoderInfo()
Definition: extAggregateStateRepository.h:200
Definition: readerWriter.h:85
DtTime myLastDecodeTime
Definition: extAggregateStateRepository.h:215
Contains the DtSensorFieldOfViewPublisher class declaration.
std::vector< char > myPropertyBuffer
Definition: extAggregateStateRepository.h:212
virtual const DtRwProperties & stateProperties() const
Definition: extAggregateStateRepository.h:77
bool myReceivedVrfObjectDataVersion
Definition: extAggregateStateRepository.h:219
DtRwProperties * myParameterProperties
Definition: extAggregateStateRepository.h:182
bool myIsInitialized
Definition: extAggregateStateRepository.h:185
std::map< DtString, DtString > myExtendedDataCache
Definition: extAggregateStateRepository.h:226
bool myReceivedVrfPropertyVersion
Definition: extAggregateStateRepository.h:220
DtRangeItems myRangeItemsCache
Definition: extAggregateStateRepository.h:227
bool mySensorsKilled
Definition: extAggregateStateRepository.h:217
DtClock myClock
Definition: extAggregateStateRepository.h:213
virtual const DtRwProperties & parameterProperties() const
Definition: extAggregateStateRepository.h:87
PropertyEncoderInfo(const DtString &pn, PropertyEncoder e, void *u)
Definition: extAggregateStateRepository.h:201
This class works just as DtCalllbackTable, but manages callbacks that have no arguments, and therefore don't fit in the template defined by DtCallbackList.
Definition: noArgumentCallbackList.h:152
PropertyEncoder encoder
Definition: extAggregateStateRepository.h:205
Definition: rangeItem.h:136
void * usr
Definition: extAggregateStateRepository.h:206
bool myOwnsProperties
Definition: extAggregateStateRepository.h:183
Definition: extAggregateStateRepository.h:198
PropertyDecoderInfo(const DtString &pn, PropertyDecoder d, void *u)
Definition: extAggregateStateRepository.h:190
A list of properties.
Definition: rwProperties.h:126
std::list< PropertyDecoderInfo > myAdditionalDecoders
Definition: extAggregateStateRepository.h:209
virtual DtTime lastPropertyEncodeTime() const
Last time properties were encoded.
Definition: extAggregateStateRepository.h:154
virtual DtTime lastPropertyDecodeTime() const
Last time properties were decoded.
Definition: extAggregateStateRepository.h:157
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23
DtExtAggregateStateRepository class extends the DtExtAggregateBaseStateRepository to be able to handl...
Definition: extAggregateStateRepository.h:26