19 namespace makVrfVrlinkExtToolkit
21 class DtReflectedExtendedAttributesObjectList;
22 class DtReflectedExtendedAttributesObject;
26 #include <vl/globalObjectDesignator.h>
29 #include <vlutil/vlPrint.h>
30 #include <vlutil/vlPrintUtil.h>
54 template<
class ReflectedObjType,
class StateRepType>
57 template<
class ReflectedObjType,
class StateRepType>
63 template<
class ReflectedObjType,
class StateRepType>
66 template<
class ReflectedObjType,
class StateRepType>
72 template<
class ReflectedObjType,
class StateRepType>
75 template<
class ReflectedObjType,
class StateRepType>
95 template<
class StateRepType>
98 DtPrintAttribute(DtInfo,
"EntityId", stateRep->entityId().string());
99 DtPrintAttribute(DtInfo,
"EntityType", stateRep->entityType().string());
105 DtPrintAttribute(DtInfo,
"EnvironmentProcessId", stateRep->environmentalProcessID().string());
106 DtPrintAttribute(DtInfo,
"EnvironmentType", stateRep->environmentType().string());
110 template<
class ReflectedObjType,
class StateRepType>
114 processObjectAdded<ReflectedObjType, StateRepType>(
object);
117 template<
class ReflectedObjType,
class StateRepType>
122 object->addPostUpdateCallback(objectUpdatedCallback<ReflectedObjType, StateRepType>,
this);
124 processObjectUpdated<ReflectedObjType, StateRepType>(object);
128 template<
class ReflectedObjType,
class StateRepType>
132 processObjectUpdated<ReflectedObjType, StateRepType>(
object);
135 template<
class ReflectedObjType,
class StateRepType>
140 bool headerPrinted =
false;
144 StateRepType* sr =
dynamic_cast<StateRepType*
>(
object->stateRep());
149 std::vector<DtReaderWriterRegistryData *>::const_iterator propIter =
150 sr->stateProperties().registry().registryData().begin();
151 std::vector<DtReaderWriterRegistryData *>::const_iterator propEnd =
152 sr->stateProperties().registry().registryData().end();
153 for (; propIter != propEnd; ++propIter)
164 DtInfo <<
"****************************************" << std::endl;
165 DtInfo <<
"****** Updated State Properties *******" << std::endl;
166 DtInfo <<
"****************************************" << std::endl;
167 printStateRepBasicInfo<StateRepType>(sr);
169 headerPrinted =
true;
172 DtInfo << prop->
stringRep() << std::endl;
182 template<
class ReflectedObjType,
class StateRepType>
186 processObjectRemoved<ReflectedObjType, StateRepType>(
object);
189 template<
class ReflectedObjType,
class StateRepType>
194 object->removePostUpdateCallback(objectUpdatedCallback<ReflectedObjType, StateRepType>,
this);