|
mbsim
4.0.0
MBSim Kernel
|
Interface for models of arbitrary domains, e.g. electrical components. More...
#include <modelling_interface.h>
Public Member Functions | |
| virtual | ~ModellingInterface ()=default |
| Destructor. | |
| virtual void | init (Element::InitStage stage, const InitConfigSet &config)=0 |
| initialize object at start of simulation with respect to contours and frames | |
| virtual std::string | getName () const =0 |
| Get the name of the model. More... | |
| virtual void | setName (std::string name)=0 |
| Set the name of the model. More... | |
| virtual Element * | getParent ()=0 |
| virtual const Element * | getParent () const =0 |
| virtual void | setParent (Element *parent_)=0 |
| virtual void | processModellList (std::vector< ModellingInterface * > &modellList, std::vector< MBSim::Object * > &objectList, std::vector< MBSim::Link * > &linkList)=0 |
| Process all models of the same type as the calling model. More... | |
Public Member Functions inherited from fmatvec::Atom | |
| Atom & | operator= (const Atom &) |
| void | setMessageStreamActive (MsgType type, bool activeFlag) |
| void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const |
| void | adoptMessageStreams (const Atom *src=nullptr) |
| std::ostream & | msg (MsgType type) const |
| bool | msgAct (MsgType type) const |
Additional Inherited Members | |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
Static Public Member Functions inherited from fmatvec::Atom | |
| 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) |
Protected Member Functions inherited from fmatvec::Atom | |
| Atom (const Atom &src) | |
Interface for models of arbitrary domains, e.g. electrical components.
|
pure virtual |
Get the name of the model.
|
pure virtual |
Process all models of the same type as the calling model.
| modellList | On input, modellList contains all models. On output, modellList contains all models that are not processed, i.e. all models of different type. |
| objectList | On output, objectList contains all models that are objects. |
| linkList | On output, linkList contains all models that are links. |
|
pure virtual |
Set the name of the model.
| name | The name |