6 #ifndef __SOT_LATCH_H__     7 #define __SOT_LATCH_H__    16 #include <dynamic-graph/entity.h>    42   void turnOn() { signalOutput = 
true; }
    44     res = signalOutput = 
true;
    50     res = signalOutput = 
false;
    62         outSOUT(
"Latch(" + name + 
")::output(bool)::out"),
    63         turnOnSOUT(
"Latch(" + name + 
")::output(bool)::turnOnSout"),
    64         turnOffSOUT(
"Latch(" + name + 
")::output(bool)::turnOffSout") {
    83 #endif  // #ifndef __SOT_LATCH_H__ Signal< bool, int > turnOffSOUT
CommandVoid0< E > * makeCommandVoid0(E &entity, boost::function< void(void)> function, const std::string &docString)
bool & turnOnLatch(bool &res, int)
Signal< bool, int > outSOUT
DYNAMIC_GRAPH_ENTITY_DECL()
void signalRegistration(const SignalArray< int > &signals)
bool & latchOutput(bool &res, int)
std::string docCommandVoid0(const std::string &doc)
bool & turnOffLatch(bool &res, int)
void addCommand(const std::string &name, command::Command *command)
virtual void setFunction(boost::function2< T &, T &, Time > t, Mutex *mutexref=NULL)
Signal< bool, int > turnOnSOUT
Latch(const std::string &name)