Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
dynamicgraph::sot::TimeStamp Class Reference

#include <time-stamp.hh>

Inheritance diagram for dynamicgraph::sot::TimeStamp:
Inheritance graph
[legend]

Public Member Functions

virtual void display (std::ostream &os) const
 
virtual const std::string & getClassName (void) const
 
 TimeStamp (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::CommandgetNewStyleCommand (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
 
Loggerlogger ()
 
Loggerlogger ()
 
const Loggerlogger () const
 
const Loggerlogger () 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::Signal< double, sigtime_ttimeDoubleSOUT
 
dynamicgraph::SignalTimeDependent< double, sigtime_ttimeOnceDoubleSOUT
 
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, sigtime_ttimeOnceSOUT
 
dynamicgraph::Signal< dynamicgraph::Vector, sigtime_ttimeSOUT
 

Static Public Attributes

static const std::string CLASS_NAME
 

Protected Member Functions

dynamicgraph::VectorgetTimeStamp (dynamicgraph::Vector &res, const sigtime_t &time)
 
doublegetTimeStampDouble (const dynamicgraph::Vector &vect, double &res)
 
- 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

bool offsetSet
 
std::size_t offsetValue
 
struct timeval val
 
- Protected Attributes inherited from dynamicgraph::Entity
CommandMap_t commandMap
 
Logger logger_
 
std::string name
 
SignalMap signalMap
 

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
 

Detailed Description

Definition at line 54 of file time-stamp.hh.

Constructor & Destructor Documentation

◆ TimeStamp()

TimeStamp::TimeStamp ( const std::string &  name)

Definition at line 31 of file time-stamp.cpp.

Member Function Documentation

◆ display()

void TimeStamp::display ( std::ostream &  os) const
virtual

Reimplemented from dynamicgraph::Entity.

Definition at line 61 of file time-stamp.cpp.

◆ getClassName()

virtual const std::string& dynamicgraph::sot::TimeStamp::getClassName ( void  ) const
inlinevirtual

Reimplemented from dynamicgraph::Entity.

Definition at line 57 of file time-stamp.hh.

◆ getTimeStamp()

dynamicgraph::Vector & TimeStamp::getTimeStamp ( dynamicgraph::Vector res,
const sigtime_t time 
)
protected

Definition at line 70 of file time-stamp.cpp.

◆ getTimeStampDouble()

double & TimeStamp::getTimeStampDouble ( const dynamicgraph::Vector vect,
double res 
)
protected

Definition at line 82 of file time-stamp.cpp.

Member Data Documentation

◆ CLASS_NAME

const std::string dynamicgraph::sot::TimeStamp::CLASS_NAME
static

Definition at line 56 of file time-stamp.hh.

◆ offsetSet

bool dynamicgraph::sot::TimeStamp::offsetSet
protected

Definition at line 62 of file time-stamp.hh.

◆ offsetValue

std::size_t dynamicgraph::sot::TimeStamp::offsetValue
protected

Definition at line 61 of file time-stamp.hh.

◆ timeDoubleSOUT

dynamicgraph::Signal<double, sigtime_t> dynamicgraph::sot::TimeStamp::timeDoubleSOUT

Definition at line 75 of file time-stamp.hh.

◆ timeOnceDoubleSOUT

dynamicgraph::SignalTimeDependent<double, sigtime_t> dynamicgraph::sot::TimeStamp::timeOnceDoubleSOUT

Definition at line 81 of file time-stamp.hh.

◆ timeOnceSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::TimeStamp::timeOnceSOUT

Definition at line 80 of file time-stamp.hh.

◆ timeSOUT

dynamicgraph::Signal<dynamicgraph::Vector, sigtime_t> dynamicgraph::sot::TimeStamp::timeSOUT

Definition at line 74 of file time-stamp.hh.

◆ val

struct timeval dynamicgraph::sot::TimeStamp::val
protected

Definition at line 60 of file time-stamp.hh.


The documentation for this class was generated from the following files:


sot-core
Author(s): Olivier Stasse, ostasse@laas.fr
autogenerated on Tue Oct 24 2023 02:26:32