dynamicgraph::sot::Mailbox< Object > Class Template Reference

#include <sot/core/mailbox.hh>

Inheritance diagram for dynamicgraph::sot::Mailbox< Object >:
dynamicgraph::Entity noncopyable

List of all members.

Classes

struct  sotTimestampedObject

Public Member Functions

virtual const std::string & getClassName (void) const
 Mailbox (const std::string &name)
 ~Mailbox (void)
void post (const Object &obj)
sotTimestampedObjectget (sotTimestampedObject &res, const int &dummy)
Object & getObject (Object &res, const int &time)
struct timeval & getTimestamp (struct timeval &res, const int &time)
bool hasBeenUpdated (void)

Public Attributes

dg::SignalTimeDependent
< struct sotTimestampedObject,
int > 
SOUT
dg::SignalTimeDependent
< Object, int > 
objSOUT
dg::SignalTimeDependent
< struct timeval, int > 
timeSOUT

Static Public Attributes

static const std::string CLASS_NAME

Protected Attributes

boost::timed_mutex mainObjectMutex
Object mainObject
struct timeval mainTimeStamp
bool update

template<class Object>
class dynamicgraph::sot::Mailbox< Object >


Constructor & Destructor Documentation

template<class Object >
dynamicgraph::sot::Mailbox< Object >::~Mailbox ( void  )

Member Function Documentation

template<class Object >
virtual const std::string& dynamicgraph::sot::Mailbox< Object >::getClassName ( void  ) const [inline, virtual]
template<class Object >
Object & dynamicgraph::sot::Mailbox< Object >::getObject ( Object &  res,
const int &  time 
)
template<class Object >
timeval & dynamicgraph::sot::Mailbox< Object >::getTimestamp ( struct timeval &  res,
const int &  time 
) [read]
template<class Object >
bool dynamicgraph::sot::Mailbox< Object >::hasBeenUpdated ( void  )
template<class Object >
void dynamicgraph::sot::Mailbox< Object >::post ( const Object &  obj)

Member Data Documentation

template<class Object >
const std::string dynamicgraph::sot::Mailbox< Object >::CLASS_NAME [static]
template<class Object >
Object dynamicgraph::sot::Mailbox< Object >::mainObject [protected]
template<class Object >
boost::timed_mutex dynamicgraph::sot::Mailbox< Object >::mainObjectMutex [protected]
template<class Object >
struct timeval dynamicgraph::sot::Mailbox< Object >::mainTimeStamp [protected]
template<class Object >
dg::SignalTimeDependent< Object,int > dynamicgraph::sot::Mailbox< Object >::objSOUT
template<class Object >
dg::SignalTimeDependent< struct timeval,int > dynamicgraph::sot::Mailbox< Object >::timeSOUT
template<class Object >
bool dynamicgraph::sot::Mailbox< Object >::update [protected]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines