#include <timer.hh>
Public Member Functions | |
virtual void | display (std::ostream &os) const |
virtual const std::string & | getClassName (void) const |
Timer (const std::string &name) | |
Public Member Functions inherited from dynamicgraph::Entity | |
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< sigtime_t > & | getSignal (const std::string &signalName) |
const SignalBase< sigtime_t > & | 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 & | logger () |
const Logger & | logger () const |
const Logger & | 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< sigtime_t > * | test () |
virtual void | test2 (SignalBase< sigtime_t > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Public Attributes | |
dynamicgraph::SignalTimeDependent< T, dg::sigtime_t > | sigClockSOUT |
dynamicgraph::SignalPtr< T, dg::sigtime_t > | sigSIN |
dynamicgraph::SignalTimeDependent< T, dg::sigtime_t > | sigSOUT |
dynamicgraph::Signal< double, dg::sigtime_t > | timerSOUT |
Static Public Attributes | |
static const std::string | CLASS_NAME |
Protected Member Functions | |
template<bool UseClock> | |
T & | compute (T &t, const sigtime_t &time) |
double & | getDt (double &res, const sigtime_t &) |
void | plug (dynamicgraph::Signal< T, dg::sigtime_t > &sig) |
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< sigtime_t > &signals) |
Protected Attributes | |
clock_t | c0 |
clock_t | c1 |
double | dt |
struct timeval t0 | t1 |
Protected Attributes inherited from dynamicgraph::Entity | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Friends | |
Timer_EXPORT friend std::ostream & | operator<< (std::ostream &os, const Timer< T > &timer) |
Additional Inherited Members | |
Public Types inherited from dynamicgraph::Entity | |
typedef std::map< const std::string, command::Command * > | CommandMap_t |
typedef std::map< std::string, SignalBase< sigtime_t > * > | SignalMap |
Reimplemented from dynamicgraph::Entity.
Reimplemented from dynamicgraph::Entity.
|
inlineprotected |
|
friend |
dynamicgraph::SignalTimeDependent<T, dg::sigtime_t> Timer< T >::sigClockSOUT |
dynamicgraph::SignalPtr<T, dg::sigtime_t> Timer< T >::sigSIN |
dynamicgraph::SignalTimeDependent<T, dg::sigtime_t> Timer< T >::sigSOUT |
dynamicgraph::Signal<double, dg::sigtime_t> Timer< T >::timerSOUT |