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

#include <latch.hh>

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

Public Member Functions

 DYNAMIC_GRAPH_ENTITY_DECL ()
 
 Latch (const std::string &name)
 
virtual ~Latch (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)
 
virtual const std::string & getClassName () const
 
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

Signal< bool, sigtime_toutSOUT
 
Signal< bool, sigtime_tturnOffSOUT
 
Signal< bool, sigtime_tturnOnSOUT
 

Protected Member Functions

bool & latchOutput (bool &res, sigtime_t)
 
void turnOff ()
 
bool & turnOffLatch (bool &res, sigtime_t)
 
void turnOn ()
 
bool & turnOnLatch (bool &res, sigtime_t)
 
- 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 signalOutput
 
- 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 33 of file latch.hh.

Constructor & Destructor Documentation

◆ Latch()

dynamicgraph::sot::Latch::Latch ( const std::string &  name)
inline

Definition at line 60 of file latch.hh.

◆ ~Latch()

virtual dynamicgraph::sot::Latch::~Latch ( void  )
inlinevirtual

Definition at line 78 of file latch.hh.

Member Function Documentation

◆ DYNAMIC_GRAPH_ENTITY_DECL()

dynamicgraph::sot::Latch::DYNAMIC_GRAPH_ENTITY_DECL ( )

◆ latchOutput()

bool& dynamicgraph::sot::Latch::latchOutput ( bool &  res,
sigtime_t   
)
inlineprotected

Definition at line 54 of file latch.hh.

◆ turnOff()

void dynamicgraph::sot::Latch::turnOff ( )
inlineprotected

Definition at line 48 of file latch.hh.

◆ turnOffLatch()

bool& dynamicgraph::sot::Latch::turnOffLatch ( bool &  res,
sigtime_t   
)
inlineprotected

Definition at line 49 of file latch.hh.

◆ turnOn()

void dynamicgraph::sot::Latch::turnOn ( )
inlineprotected

Definition at line 42 of file latch.hh.

◆ turnOnLatch()

bool& dynamicgraph::sot::Latch::turnOnLatch ( bool &  res,
sigtime_t   
)
inlineprotected

Definition at line 43 of file latch.hh.

Member Data Documentation

◆ outSOUT

Signal<bool, sigtime_t> dynamicgraph::sot::Latch::outSOUT

Definition at line 36 of file latch.hh.

◆ signalOutput

bool dynamicgraph::sot::Latch::signalOutput
protected

Definition at line 41 of file latch.hh.

◆ turnOffSOUT

Signal<bool, sigtime_t> dynamicgraph::sot::Latch::turnOffSOUT

Definition at line 38 of file latch.hh.

◆ turnOnSOUT

Signal<bool, sigtime_t> dynamicgraph::sot::Latch::turnOnSOUT

Definition at line 37 of file latch.hh.


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


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