mbsimcontrol  4.0.0
MBSim Control Module
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
MBSimControl::SignalFunction< Ret(Arg)> Class Template Reference

A function with one argument which get its return value from a signal. More...

#include <signal_function.h>

Inheritance diagram for MBSimControl::SignalFunction< Ret(Arg)>:
[legend]

Public Member Functions

 SignalFunction (Signal *ret_=nullptr)
 
void setReturnSignal (Signal *ret_)
 
std::pair< int, int > getRetSize () const override
 
Ret operator() (const Arg &a) override
 
void init (MBSim::Element::InitStage stage, const MBSim::InitConfigSet &config) override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
MBSim::Element * getDependency () const override
 

Protected Attributes

std::string retString
 
Signal * ret
 

Detailed Description

template<typename Ret, typename Arg>
class MBSimControl::SignalFunction< Ret(Arg)>

A function with one argument which get its return value from a signal.


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