6 #ifndef __SOT_LATCH_H__
7 #define __SOT_LATCH_H__
14 #include <dynamic-graph/all-signals.h>
15 #include <dynamic-graph/command-bind.h>
16 #include <dynamic-graph/entity.h>
29 using dynamicgraph::Entity;
30 using dynamicgraph::command::docCommandVoid0;
31 using dynamicgraph::command::makeCommandVoid0;
62 outSOUT(
"Latch(" + name +
")::output(bool)::out"),
63 turnOnSOUT(
"Latch(" + name +
")::output(bool)::turnOnSout"),
64 turnOffSOUT(
"Latch(" + name +
")::output(bool)::turnOffSout") {
72 docCommandVoid0(
"Turn on the latch")));
75 docCommandVoid0(
"Turn off the latch")));
Signal< bool, int > turnOnSOUT
Definition: latch.hh:37
bool & latchOutput(bool &res, int)
Definition: latch.hh:54
Signal< bool, int > turnOffSOUT
Definition: latch.hh:38
void turnOff()
Definition: latch.hh:48
bool & turnOffLatch(bool &res, int)
Definition: latch.hh:49
virtual ~Latch(void)
Definition: latch.hh:78
bool & turnOnLatch(bool &res, int)
Definition: latch.hh:43
Latch(const std::string &name)
Definition: latch.hh:60
Signal< bool, int > outSOUT
Definition: latch.hh:36
DYNAMIC_GRAPH_ENTITY_DECL()
bool signalOutput
Definition: latch.hh:41
void turnOn()
Definition: latch.hh:42
Definition: abstract-sot-external-interface.hh:17