#include <mailbox.hh>
Public Types | |
typedef MailboxTimestampedObject< Object > | sotTimestampedObject |
Public Types inherited from dynamicgraph::Entity | |
typedef std::map< const std::string, command::Command *> | CommandMap_t |
typedef std::map< std::string, SignalBase< int > *> | SignalMap |
Public Member Functions | |
sotTimestampedObject & | get (sotTimestampedObject &res, const int &dummy) |
virtual const std::string & | getClassName (void) const |
Object & | getObject (Object &res, const int &time) |
struct timeval & | getTimestamp (struct timeval &res, const int &time) |
bool | hasBeenUpdated (void) |
Mailbox (const std::string &name) | |
void | post (const Object &obj) |
~Mailbox (void) | |
Public Member Functions inherited from dynamicgraph::Entity | |
virtual void | display (std::ostream &os) const |
std::ostream & | displaySignalList (std::ostream &os) const |
Entity (const std::string &name) | |
const std::string & | getCommandList () const |
virtual std::string | getDocString () const |
LoggerVerbosity | getLoggerVerbosityLevel () |
LoggerVerbosity | getLoggerVerbosityLevel () |
const std::string & | getName () const |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
CommandMap_t | getNewStyleCommandMap () |
SignalBase< int > & | getSignal (const std::string &signalName) |
const SignalBase< int > & | getSignal (const std::string &signalName) const |
SignalMap | getSignalMap () const |
double | getStreamPrintPeriod () |
double | getStreamPrintPeriod () |
double | getTimeSample () |
double | getTimeSample () |
bool | hasSignal (const std::string &signame) const |
Logger & | logger () |
Logger const & | logger () const |
Logger & | logger () |
Logger const & | logger () const |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
bool | setStreamPrintPeriod (double t) |
bool | setStreamPrintPeriod (double t) |
bool | setTimeSample (double t) |
bool | setTimeSample (double t) |
virtual SignalBase< int > * | test () |
virtual void | test2 (SignalBase< int > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Public Attributes | |
dynamicgraph::SignalTimeDependent< Object, int > | objSOUT |
dynamicgraph::SignalTimeDependent< sotTimestampedObject, int > | SOUT |
dynamicgraph::SignalTimeDependent< struct timeval, int > | timeSOUT |
Static Public Attributes | |
static const std::string | CLASS_NAME |
Protected Attributes | |
Object | mainObject |
boost::timed_mutex | mainObjectMutex |
struct timeval | mainTimeStamp |
bool | update |
Protected Attributes inherited from dynamicgraph::Entity | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Additional Inherited Members | |
Protected Member Functions inherited from dynamicgraph::Entity | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityDeregistration () |
void | entityRegistration () |
void | signalDeregistration (const std::string &name) |
void | signalRegistration (const SignalArray< int > &signals) |
Definition at line 43 of file mailbox.hh.
typedef MailboxTimestampedObject<Object> dynamicgraph::sot::Mailbox< Object >::sotTimestampedObject |
Definition at line 49 of file mailbox.hh.
dynamicgraph::sot::Mailbox< Object >::Mailbox | ( | const std::string & | name | ) |
dynamicgraph::sot::Mailbox< Object >::~Mailbox | ( | void | ) |
sotTimestampedObject& dynamicgraph::sot::Mailbox< Object >::get | ( | sotTimestampedObject & | res, |
const int & | dummy | ||
) |
|
inlinevirtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 46 of file mailbox.hh.
Object& dynamicgraph::sot::Mailbox< Object >::getObject | ( | Object & | res, |
const int & | time | ||
) |
struct 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 |
Definition at line 45 of file mailbox.hh.
|
protected |
Definition at line 65 of file mailbox.hh.
|
protected |
Definition at line 64 of file mailbox.hh.
|
protected |
Definition at line 66 of file mailbox.hh.
dynamicgraph::SignalTimeDependent<Object, int> dynamicgraph::sot::Mailbox< Object >::objSOUT |
Definition at line 71 of file mailbox.hh.
dynamicgraph::SignalTimeDependent<sotTimestampedObject, int> dynamicgraph::sot::Mailbox< Object >::SOUT |
Definition at line 70 of file mailbox.hh.
dynamicgraph::SignalTimeDependent<struct timeval, int> dynamicgraph::sot::Mailbox< Object >::timeSOUT |
Definition at line 72 of file mailbox.hh.
|
protected |
Definition at line 67 of file mailbox.hh.