19 #include <boost/signal.hpp>
26 #include <tbb/tbb_allocator.h>
52 unsigned char myNamespaceId);
62 return (myFreeID & 0x00FFFFFFFFFFFFFFULL) | (myNamespaceId << 56);
66 static inline unsigned char namespaceFromUniqueId(
DtUniqueID id)
68 return (
unsigned char) (
id >> 56);
71 unsigned char namespaceId()
const;
74 inline bool uniqueIdFromAgentManagerInterface(
const DtUniqueID&
id)
const
81 inline unsigned int createNewCallID()
83 return ++myUpdateCallIndex;
88 virtual DtAgent* createNewObject(
const std::string& objectClass,
bool bDistribute);
93 virtual void recreateObject(
DtAgent* proxy);
96 bool encodeUpdate(
DtMessage& masterMsg,
DtMessage& distributedMsg,
double simulationTime );
101 virtual void tick() = 0;
110 void queueObjectForUpdate(
DtAgent*
object);
126 typedef std::list<IndexedMessage, tbb::tbb_allocator<IndexedMessage> >
OrderedCallList;