16 #include <vl/globalObjectDesignator.h>
18 namespace MAKVrExchange
21 namespace DtTenaBroker
28 typedef void (*DtAmoCallbackFunction)( DtReflectedAmo* obj,
void* userData );
39 typedef DtAmoStateRepository* (*DtStateRepCreator)();
44 DtReflectedAmo(DtExerciseConn* conn);
47 virtual ~DtReflectedAmo();
50 virtual DtReflectedAmo* next()
const;
54 virtual DtAmoStateRepository* amoRep()
const;
57 virtual DtAmoStateRepository* asr()
const;
60 virtual DtReflectedAmo* prev()
const;
64 virtual DtReflectedAmo* wrapNext()
const;
68 virtual DtReflectedAmo* wrapPrev()
const;
71 void removePostUpdateCallback( DtAmoCallbackFunction ,
void* );
74 void addPostUpdateCallback( DtAmoCallbackFunction ,
void* );
77 virtual const DtObjectId& id()
const;
80 virtual const DtGlobalObjectDesignator& globalId()
const;
83 virtual void printDataToStream(std::ostream& str)
const;
86 static DtStateRepCreator setStateRepCreator(DtStateRepCreator creator);
91 DtReflectedAmo(
const DtReflectedAmo& orig);
94 DtReflectedAmo& operator=(
const DtReflectedAmo& orig);
98 static DtStateRepCreator theStateRepCreator;
102 inline DtAmoStateRepository* DtReflectedAmo::amoRep()
const
104 return (DtAmoStateRepository*) myStateRep;
107 inline DtAmoStateRepository* DtReflectedAmo::asr()
const
109 return (DtAmoStateRepository*) myStateRep;