11#error This file may only be included by DtAgent.h
64 if (
myThreadId != DtThread::GetCurrentThreadHandle())
66 DtTHROW_NEW(DtCorruptedState,
"Agent used from wrong thread.");
96#define DT_DEFINE_QUEUE_OPERATION_FUNCTION(argCount)\
97 template <typename C, MAKE_LIST(typename T,argCount)>\
98 void DtAgent::queueOperationCall(unsigned int state_function,\
99 void (C::*m)(MAKE_LIST(T,argCount)),\
100 MAKE_MULTILIST(typename Arg<T,>::Type t,argCount))\
102 DtMessage& msg = startNewCall(state_function);\
103 msg << MAKE_STREAM(t,argCount);\
108 template <
typename C>
#define DT_DEFINE_QUEUE_OPERATION_FUNCTION(argCount)
Definition DtAgent.inl:96
void setSceneInterface(DtAgentManagerInterface *iface)
Set the internal scene interface pointer.
Definition DtAgent.inl:23
void dirty()
Definition DtAgent.inl:45
void queueOperationCall(unsigned int state_function, void(C::*m)())
Definition DtAgent.inl:109
bool distributeMessages() const
Accessor for myDistributeMessageFlag. Returns true if messages are going to be distributed to each sl...
Definition DtAgent.inl:88
const std::string & className() const
Get the class name.
Definition DtAgent.inl:29
std::string myClassName
Definition DtAgent.h:146
DtMessage & startNewCall(unsigned int function)
Inline get arguments for a operation call operation.
Definition DtAgent.inl:62
DtUniqueID myUniqueId
Definition DtAgent.h:145
DtAgentManagerInterface::OrderedCallList & callList()
Get a pointer to the call list.
Definition DtAgent.inl:82
DtAgentManagerInterface * mySceneInterface
Definition DtAgent.h:144
unsigned int callCount() const
Get the number of calls.
Definition DtAgent.inl:76
DtAgentManagerInterface::OrderedCallList myCalls
Definition DtAgent.h:148
bool myDistributeObjectFlag
Definition DtAgent.h:149
void clean()
Definition DtAgent.inl:35
DtUniqueID uniqueId() const
inline accessor
Definition DtAgent.inl:55
friend class DtAgentManagerInterface
Allow the scene manager interface access the processed functions.
Definition DtAgent.h:59
DtAgentManagerInterface & sceneInterface()
Definition DtAgent.inl:18
bool myUpdateFlag
Definition DtAgent.h:147
DtThreadId myThreadId
Definition DtAgent.h:150
std::list< IndexedMessage, tbb::tbb_allocator< IndexedMessage > > OrderedCallList
Definition DtAgentManagerInterface.h:123
The IGI Message. Is easily encoded and decoding using stream operators. It also provides validation d...
Definition DtMessage.h:31
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16
unsigned long long DtUniqueID
Definition DtUniqueID.h:19