sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::Mailbox< Object > Class Template Reference

#include <sot/core/mailbox.hh>

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

Public Types

typedef MailboxTimestampedObject< Object > 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

dynamicgraph::SignalTimeDependent< sotTimestampedObject, int > SOUT
 
dynamicgraph::SignalTimeDependent< Object, int > objSOUT
 
dynamicgraph::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
 

Member Typedef Documentation

◆ sotTimestampedObject

template<class Object >
typedef MailboxTimestampedObject<Object> dynamicgraph::sot::Mailbox< Object >::sotTimestampedObject

Constructor & Destructor Documentation

◆ Mailbox()

template<class Object >
dynamicgraph::sot::Mailbox< Object >::Mailbox ( const std::string &  name)

◆ ~Mailbox()

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

Member Function Documentation

◆ get()

template<class Object >
Mailbox< Object >::sotTimestampedObject & dynamicgraph::sot::Mailbox< Object >::get ( sotTimestampedObject res,
const int &  dummy 
)

◆ getClassName()

template<class Object >
virtual const std::string& dynamicgraph::sot::Mailbox< Object >::getClassName ( void  ) const
inlinevirtual

◆ getObject()

template<class Object >
Object & dynamicgraph::sot::Mailbox< Object >::getObject ( Object &  res,
const int &  time 
)

◆ getTimestamp()

template<class Object >
timeval & dynamicgraph::sot::Mailbox< Object >::getTimestamp ( struct timeval &  res,
const int &  time 
)

◆ hasBeenUpdated()

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

◆ post()

template<class Object >
void dynamicgraph::sot::Mailbox< Object >::post ( const Object &  obj)

Member Data Documentation

◆ CLASS_NAME

template<class Object >
const std::string dynamicgraph::sot::Mailbox< Object >::CLASS_NAME
static

◆ mainObject

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

◆ mainObjectMutex

template<class Object >
boost::timed_mutex dynamicgraph::sot::Mailbox< Object >::mainObjectMutex
protected

◆ mainTimeStamp

template<class Object >
struct timeval dynamicgraph::sot::Mailbox< Object >::mainTimeStamp
protected

◆ objSOUT

template<class Object >
dynamicgraph::SignalTimeDependent<Object, int> dynamicgraph::sot::Mailbox< Object >::objSOUT

◆ SOUT

template<class Object >
dynamicgraph::SignalTimeDependent<sotTimestampedObject, int> dynamicgraph::sot::Mailbox< Object >::SOUT

◆ timeSOUT

template<class Object >
dynamicgraph::SignalTimeDependent<struct timeval, int> dynamicgraph::sot::Mailbox< Object >::timeSOUT

◆ update

template<class Object >
bool dynamicgraph::sot::Mailbox< Object >::update
protected

The documentation for this class was generated from the following files: