sot-core
4.11.8
Hierarchical task solver plug-in for dynamic-graph.
|
#include <sot/core/mailbox.hh>
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) |
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 | |
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 |
typedef MailboxTimestampedObject<Object> dynamicgraph::sot::Mailbox< Object >::sotTimestampedObject |
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 | ||
) |
|
inlinevirtual |
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 |
|
protected |
|
protected |
|
protected |
dynamicgraph::SignalTimeDependent<Object, int> dynamicgraph::sot::Mailbox< Object >::objSOUT |
dynamicgraph::SignalTimeDependent<sotTimestampedObject, int> dynamicgraph::sot::Mailbox< Object >::SOUT |
dynamicgraph::SignalTimeDependent<struct timeval, int> dynamicgraph::sot::Mailbox< Object >::timeSOUT |
|
protected |