mbsimcontrol  4.0.0
MBSim Control Module
MBSimControl::SignalObserver Class Reference
Inheritance diagram for MBSimControl::SignalObserver:
[legend]

Public Member Functions

 SignalObserver (const std::string &name="")
 
void setSignal (Signal *signal_)
 
void setPosition (Signal *position_)
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void plot () override
 
 BOOST_PARAMETER_MEMBER_FUNCTION ((void), enableOpenMBV, MBSim::tag,(optional(scaleLength,(double), 1)(scaleSize,(double), 1)(referencePoint,(MBSim::OpenMBVArrow::ReferencePoint), MBSim::OpenMBVArrow::fromPoint)(colorRepresentation,(MBSim::OpenMBVArrow::ColorRepresentation), MBSim::OpenMBVArrow::none)(minimalColorValue,(double), 0)(maximalColorValue,(double), 1)(diffuseColor,(const fmatvec::Vec3 &),"[-1;1;1]")(transparency,(double), 0)(pointSize,(double), 0)(lineWidth,(double), 0)))
 
void setOpenMBVIvScreenAnnotation (const std::shared_ptr< OpenMBV::IvScreenAnnotation > &ivsa)
 
std::shared_ptr< OpenMBV::IvScreenAnnotationgetOpenMBVIvScreenAnnotation () const
 
- Public Member Functions inherited from MBSim::Observer
void init (InitStage stage, const InitConfigSet &config) override
 
void createPlotGroup () override
 
virtual void aboutToUpdateInternalState ()
 
- 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)
 
DynamicSystemSolvergetDynamicSystemSolver ()
 
virtual void init (InitStage stage, const InitConfigSet &config=InitConfigSet())
 
virtual void createPlotGroup ()
 
H5::GroupBasegetPlotGroup ()
 
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, PlotAttributeStorage storage=PlotAttributeStorage::attribute)
 
T * getByPath (const std::string &path, bool initialCaller=true) const
 
std::string getPath (const Element *relTo=nullptr, std::string sep="/") const
 
virtual ElementgetChildByContainerAndName (const std::string &container, const std::string &name) const
 
std::vector< Element * > getDependencies () const
 
int computeLevel ()
 

Private Attributes

Signalsignal {nullptr}
 
Signalposition {nullptr}
 
std::shared_ptr< MBSim::OpenMBVArrowombvArrow
 
std::shared_ptr< OpenMBV::ArrowopenMBVArrow
 
std::shared_ptr< OpenMBV::IvScreenAnnotationopenMBVIvScreenAnnotation
 
std::string saved_signal
 
std::string saved_position
 

Additional Inherited Members

- Public Types inherited from MBSim::Element
enum  InitStage
 
- Public Attributes inherited from MBSim::Element
 resolveStringRef
 
 preInit
 
 plotting
 
 unknownStage
 
- Protected Attributes inherited from MBSim::Element
std::string name
 
std::string path
 
MBXMLUtils::DOMEvalException domEvalError
 
DynamicSystemSolverds
 
H5::VectorSerie< double > * plotVectorSerie
 
std::vector< double > plotVector
 
std::vector< std::string > plotColumns
 
H5::GroupBaseplotGroup
 
std::vector< Element * > dependency
 
PlotFeatureMap plotFeature
 

Member Function Documentation

◆ plot()

void MBSimControl::SignalObserver::plot ( )
overridevirtual

Reimplemented from MBSim::Element.


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