CTL  0.6.1
Computed Tomography Library
Classes | Functions
systemcomponent.h File Reference
#include "io/serializationinterface.h"
#include <QJsonObject>
#include <QString>
#include <memory>
Include dependency graph for systemcomponent.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CTL::SystemComponent
 Base class for all system components. More...
 

Macros

#define DECLARE_ELEMENTAL_TYPE
 

Macro Definition Documentation

◆ DECLARE_ELEMENTAL_TYPE

#define DECLARE_ELEMENTAL_TYPE
Value:
public: \
int elementalType() const final { return Type; } \
\
private:

This macro defined the component as elemental, i.e. it performs a final override of the elementalType() method, such that calls to this method from sub-classes result in the type id of the elemental type (abstract type).