#include <sot/core/mailbox.hh>
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) |
sotTimestampedObject & | get (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 |
dynamicgraph::sot::Mailbox< Object >::Mailbox | ( | const std::string & | name | ) |
dynamicgraph::sot::Mailbox< Object >::~Mailbox | ( | void | ) |
Mailbox< Object >::sotTimestampedObject & dynamicgraph::sot::Mailbox< Object >::get | ( | sotTimestampedObject & | res, |
const int & | dummy | ||
) |
virtual const std::string& dynamicgraph::sot::Mailbox< Object >::getClassName | ( | void | ) | const [inline, virtual] |
Implements dynamicgraph::Entity.
References dynamicgraph::sot::Mailbox< Object >::CLASS_NAME.
Object & dynamicgraph::sot::Mailbox< Object >::getObject | ( | Object & | res, |
const int & | time | ||
) |
timeval & dynamicgraph::sot::Mailbox< Object >::getTimestamp | ( | struct timeval & | res, |
const int & | time | ||
) | [read] |
bool dynamicgraph::sot::Mailbox< Object >::hasBeenUpdated | ( | void | ) |
void dynamicgraph::sot::Mailbox< Object >::post | ( | const Object & | obj | ) |
const std::string dynamicgraph::sot::Mailbox< Object >::CLASS_NAME [static] |
Referenced by dynamicgraph::sot::Mailbox< Object >::getClassName().
Object dynamicgraph::sot::Mailbox< Object >::mainObject [protected] |
boost::timed_mutex dynamicgraph::sot::Mailbox< Object >::mainObjectMutex [protected] |
struct timeval dynamicgraph::sot::Mailbox< Object >::mainTimeStamp [protected] |
dg::SignalTimeDependent< Object,int > dynamicgraph::sot::Mailbox< Object >::objSOUT |
Referenced by dynamicgraph::sot::Mailbox< Object >::Mailbox().
dg::SignalTimeDependent< struct sotTimestampedObject,int > dynamicgraph::sot::Mailbox< Object >::SOUT |
Referenced by dynamicgraph::sot::Mailbox< Object >::Mailbox().
dg::SignalTimeDependent< struct timeval,int > dynamicgraph::sot::Mailbox< Object >::timeSOUT |
Referenced by dynamicgraph::sot::Mailbox< Object >::Mailbox().
bool dynamicgraph::sot::Mailbox< Object >::update [protected] |