mbsimcontrol 4.0.0 MBSim Control Module

Public Member Functions | Protected Attributes | List of all members
MBSimControl::SignalFunction< Ret(Arg1, Arg2)> Class Template Reference

A function with two arguments which get its return value from a signal. More...

`#include <signal_function.h>`

Inheritance diagram for MBSimControl::SignalFunction< Ret(Arg1, Arg2)>:
[legend]

## Public Member Functions

| SignalFunction (Signal *ret_=nullptr)
void | setReturnSignal (Signal *ret_)
std::pair< int, int > | getRetSize () const override
Ret | operator() (const Arg1 &a1, const Arg2 &a2) override
void | init (MBSim::Element::InitStage stage, const MBSim::InitConfigSet &config) override
void | initializeUsingXML (xercesc::DOMElement *element) override
MBSim::Element * | getDependency () const override
Public Member Functions inherited from MBSim::Element
| Element (const std::string &name)
virtual void | setDynamicSystemSolver (DynamicSystemSolver *sys)
virtual void | plot ()
virtual void | plotAtSpecialEvent ()
const std::string & | getName () const
void | setName (const std::string &str)
DynamicSystemSolver * | getDynamicSystemSolver ()
virtual void | init (InitStage stage, const InitConfigSet &config)
virtual void | createPlotGroup ()
H5::GroupBase * | getPlotGroup ()
bool | getPlotFeature (const PlotFeatureEnum &pf)
virtual void | setPlotFeature (const PlotFeatureEnum &pf, bool value)
void | setPlotFeatureForChildren (const PlotFeatureEnum &pf, bool value)
void | setPlotFeatureRecursive (const PlotFeatureEnum &pf, bool value)
void | setPlotAttribute (const std::string &name, const T &value)
T * | getByPath (const std::string &path, bool initialCaller=true) const
std::string | getPath (const Element *relTo=nullptr, std::string sep="/") const
virtual Element * | getChildByContainerAndName (const std::string &container, const std::string &name) const
std::vector< Element * > | getDependencies () const
int | computeLevel ()

## Protected Attributes

std::string | retString
Signal * | ret
Protected Attributes inherited from MBSim::Element
std::string | name
std::string | path
MBXMLUtils::DOMEvalException | domEvalError
DynamicSystemSolver * | ds
H5::VectorSerie< double > * | plotVectorSerie
std::vector< double > | plotVector
std::vector< std::string > | plotColumns
H5::GroupBase * | plotGroup
std::vector< Element * > | dependency
PlotFeatureMap | plotFeature

## Additional Inherited Members

Public Types inherited from MBSim::Element
enum | InitStage
Public Attributes inherited from MBSim::Element
| resolveStringRef
| preInit
| plotting
| unknownStage

## Detailed Description

### template<typename Ret, typename Arg1, typename Arg2>
class MBSimControl::SignalFunction< Ret(Arg1, Arg2)>

A function with two arguments which get its return value from a signal.

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

- /mbsim-env/mbsim/modules/mbsimControl/mbsimControl/signal_function.h