20#ifndef _MODELLING_INTERFACE_H_
21#define _MODELLING_INTERFACE_H_
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;
basic class of MBSim mainly for plotting
Definition: element.h:56
InitStage
The stages of the initialization.
Definition: element.h:62
Interface for models of arbitrary domains, e.g. electrical components.
Definition: modelling_interface.h:35
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 void setName(std::string name)=0
Set the name of the model.
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.
namespace MBSim
Definition: bilateral_constraint.cc:30