43 virtual void Name(
const std::string& name) = 0;
44 [[nodiscard]]
virtual const std::string&
Name()
const = 0;
70 [[nodiscard]]
virtual const std::vector<ElementLink>&
ElementLinks()
Base class for all MDF blocks.
Definition iblock.h:19
Interface against a channel group (CG) block.
Definition ichannelgroup.h:66
Channel hierarchy (CH) block.
Definition ichannelhierarchy.h:40
virtual IMetaData * CreateMetaData()=0
Returns an interface against an MD4 block.
virtual ChType Type() const =0
Block type.
virtual const std::vector< ElementLink > & ElementLinks() const =0
Returns a list of element links.
virtual void Name(const std::string &name)=0
Sets name.
virtual const IMetaData * MetaData() const =0
Returns an constant interface against a MD4 block.
virtual void Type(ChType type)=0
Sets the block type.
virtual IChannelHierarchy * CreateChannelHierarchy()=0
Create a CH block.
virtual void AddElementLink(const ElementLink &element)=0
Adds an element link.
virtual void Description(const std::string &description)=0
Sets the descriptive text.
virtual const std::string & Name() const =0
Name.
std::string TypeToString() const
Block type as text.
virtual std::string Description() const =0
Description.
virtual std::vector< IChannelHierarchy * > ChannelHierarchies() const =0
Returns a list of CH blocks.
Defines a MDF channel (CN) block.
Definition ichannel.h:126
Interface to a data group (DG) block.
Definition idatagroup.h:42
All MDF blocks inherits from the IBlock class. The interface class is used internally in lists....
The define an interface against a channel block (CN).
Defines an interface against a channel group (CG) block.
Interface to a data group (DG) block.
Main namespace for the MDF library.
Definition canmessage.h:17
ChType
Block type.
Definition ichannelhierarchy.h:27
@ MapList
Define a map list.
@ OutputVariable
Define output variables.
@ InputVariable
Define input variables.
@ CalibrationObject
Define calibration reference objects.
@ Function
Define a function.
@ LocalVariable
Define local variables.
@ CalibrationDefinition
Define calibration define objects.
@ Structure
Define a structure.
Support structure that holds a DG/CG/CN relation.
Definition ichannelhierarchy.h:20
const IChannel * channel
Pointer to a CN block.
Definition ichannelhierarchy.h:23
const IDataGroup * data_group
Pointer to a DG block.
Definition ichannelhierarchy.h:21
const IChannelGroup * channel_group
Pointer to a CG block.
Definition ichannelhierarchy.h:22