20 #ifndef _MODELLING_INTERFACE_H_
21 #define _MODELLING_INTERFACE_H_
52 virtual std::string
getName()
const = 0;
58 virtual void setName(std::string name) = 0;
60 virtual Element* getParent() = 0;
61 virtual const Element* getParent()
const = 0;
62 virtual void setParent(
Element* parent_) = 0;
72 virtual void processModellList(std::vector<ModellingInterface*> &modellList, std::vector<MBSim::Object*> &objectList, std::vector<MBSim::Link*> &linkList) = 0;
virtual ~ModellingInterface()
Destructor.
Definition: modelling_interface.h:41
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.
virtual std::string getName() const =0
Get the name of the model.
basic class of MBSim mainly for plotting
Definition: element.h:58
virtual void init(Element::InitStage stage)=0
initialize object at start of simulation with respect to contours and frames
InitStage
The stages of the initialization.
Definition: element.h:97
Interface for models of arbitrary domains, e.g. electrical components.
Definition: modelling_interface.h:35
virtual void setName(std::string name)=0
Set the name of the model.