#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 | ||
| ) |
References dynamicgraph::sot::Mailbox< Object >::mainObject, dynamicgraph::sot::Mailbox< Object >::mainObjectMutex, dynamicgraph::sot::Mailbox< Object >::mainTimeStamp, dynamicgraph::sot::Mailbox< Object >::sotTimestampedObject::obj, dynamicgraph::sot::Mailbox< Object >::sotTimestampedObject::timestamp, and dynamicgraph::sot::Mailbox< Object >::update.
|
inlinevirtual |
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 | ||
| ) |
| bool dynamicgraph::sot::Mailbox< Object >::hasBeenUpdated | ( | void | ) |
| void dynamicgraph::sot::Mailbox< Object >::post | ( | const Object & | obj | ) |
|
static |
Referenced by dynamicgraph::sot::Mailbox< Object >::getClassName().
|
protected |
|
protected |
|
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 |
| dg::SignalTimeDependent<struct timeval, int> dynamicgraph::sot::Mailbox< Object >::timeSOUT |
Referenced by dynamicgraph::sot::Mailbox< Object >::Mailbox().
|
protected |