A function with one argument which get its return value from a signal. More...
#include <signal_function.h>
Public Member Functions | |
SignalFunction (Signal *ret_=NULL) | |
void | setReturnSignal (Signal *ret_) |
virtual Ret | operator() (const Arg &a) |
void | init (MBSim::Element::InitStage stage) |
void | initializeUsingXML (xercesc::DOMElement *element) |
MBSim::Element * | getDependency () const |
![]() | |
Atom & | operator= (const Atom &) |
void | setMessageStreamActive (MsgType type, bool active) |
void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) |
void | adoptMessageStreams (const Atom *src=NULL) |
std::ostream & | msg (MsgType type) |
bool | msgAct (MsgType type) |
Protected Attributes | |
std::string | retString |
Signal * | ret |
Additional Inherited Members | |
![]() | |
enum | MsgType |
![]() | |
static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
static std::ostream & | msgStatic (MsgType type) |
static bool | msgActStatic (MsgType type) |
![]() | |
Atom (const Atom &src) | |
A function with one argument which get its return value from a signal.