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;
99 virtual bool sensorsKilled()
const;
100 virtual void setSensorsKilled(
bool killed);
106 std::map<unsigned, DtString>& recTypesToAttrNames);
112 virtual void updateExtensions();
119 virtual bool updatePropertiesFromAttributes(
bool updatesOnly =
true);
123 virtual void updateAttributesFromProperties();
130 virtual void addPropertyDecoder(
const DtString& propName, PropertyDecoder decoder,
void* usr,
131 unsigned disRecordType = 0);
138 virtual void addPropertyEncoder(
const DtString& propName, PropertyEncoder encoder,
void* usr,
139 unsigned disRecordType = 0);
147 virtual void addVrfObjectDataDecoder(
const DtString& propName, PropertyDecoder decoder,
void* usr,
148 unsigned disRecordType = 0);
154 virtual void addVrfObjectDataEncoder(
const DtString& propName, PropertyEncoder encoder,
void* usr,
155 unsigned disRecordType = 0);
158 virtual void removePropertyEncodersAndDecoders();
164 virtual bool createVrfObjectDataMessage();
168 virtual void giveOwernshipOfProperties();
179 virtual void addPropertyUpdatedCallback(
181 virtual void removePropertyUpdatedCallback(
188 virtual void initializeVrfObjectDataProperties();
194 virtual char* encodingBuffer(
int size);
208 : propertyName(pn), decoder(d), usr(u) {};
219 : propertyName(pn), encoder(e), usr(u) {};
PropertyDecoderInfo()
Definition: extAggregateStateRepository.h:206
Contains the DtExtAggregateBaseStateRepository class. This is the base extension class for the Aggreg...
PropertyDecoder decoder
Definition: extAggregateStateRepository.h:211
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
DtNoArgumentCallbackList myPropertyUpdatedCallbacks
Definition: extAggregateStateRepository.h:244
DtTime myLastEncodeTime
Definition: extAggregateStateRepository.h:232
std::list< PropertyDecoderInfo > myVrfObjectDataDecoders
Definition: extAggregateStateRepository.h:226
std::list< PropertyEncoderInfo > myAdditionalEncoders
Definition: extAggregateStateRepository.h:228
DtRwProperties * myStateProperties
Definition: extAggregateStateRepository.h:198
void(* DtCallbackFunctionType)(void *)
The function signature of the callback function.
Definition: noArgumentCallbackList.h:156
int myPropertyVersion
Definition: extAggregateStateRepository.h:240
void * usr
Definition: extAggregateStateRepository.h:212
Definition: extAggregateStateRepository.h:204
voidpf void uLong size
Definition: ioapi.h:39
static const DtRwProperties & emptyProperties()
PropertyEncoderInfo()
Definition: extAggregateStateRepository.h:217
Definition: readerWriter.h:85
DtTime myLastDecodeTime
Definition: extAggregateStateRepository.h:233
Contains the DtSensorFieldOfViewPublisher class declaration.
std::vector< char > myPropertyBuffer
Definition: extAggregateStateRepository.h:230
virtual const DtRwProperties & stateProperties() const
Definition: extAggregateStateRepository.h:77
bool myReceivedVrfObjectDataVersion
Definition: extAggregateStateRepository.h:237
DtRwProperties * myParameterProperties
Definition: extAggregateStateRepository.h:199
bool myIsInitialized
Definition: extAggregateStateRepository.h:202
bool myReceivedVrfPropertyVersion
Definition: extAggregateStateRepository.h:238
DtRangeItems myRangeItemsCache
Definition: extAggregateStateRepository.h:242
bool mySensorsKilled
Definition: extAggregateStateRepository.h:235
DtClock myClock
Definition: extAggregateStateRepository.h:231
virtual const DtRwProperties & parameterProperties() const
Definition: extAggregateStateRepository.h:87
PropertyEncoderInfo(const DtString &pn, PropertyEncoder e, void *u)
Definition: extAggregateStateRepository.h:218
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:222
Definition: rangeItem.h:206
void * usr
Definition: extAggregateStateRepository.h:223
bool myOwnsProperties
Definition: extAggregateStateRepository.h:200
Definition: extAggregateStateRepository.h:215
PropertyDecoderInfo(const DtString &pn, PropertyDecoder d, void *u)
Definition: extAggregateStateRepository.h:207
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:126
std::list< PropertyDecoderInfo > myAdditionalDecoders
Definition: extAggregateStateRepository.h:227
virtual DtTime lastPropertyEncodeTime() const
Last time properties were encoded.
Definition: extAggregateStateRepository.h:171
virtual DtTime lastPropertyDecodeTime() const
Last time properties were decoded.
Definition: extAggregateStateRepository.h:174
#define DT_DLL_vrfExtObjects
Definition: dllExport.h:23
DtExtAggregateStateRepository class extends the DtExtAggregateBaseStateRepository to be able to handl...
Definition: extAggregateStateRepository.h:26