#define LIBR2C2_SIGNALTYPE_H_
#include <msp/datafile/objectloader.h>
-#include "articlenumber.h"
+#include "objecttype.h"
namespace R2C2 {
-class SignalType
+class SignalType: public ObjectType
{
public:
struct Indication
unsigned free_blocks;
};
- class Loader: public Msp::DataFile::ObjectLoader<SignalType>
+ class Loader: public Msp::DataFile::DerivedObjectLoader<SignalType, ObjectType::Loader>
{
public:
Loader(SignalType &);
typedef std::list<Indication> IndicationList;
private:
- ArticleNumber art_nr;
- std::string description;
IndicationList indications;
std::string object;
public:
SignalType(const ArticleNumber &);
- const ArticleNumber &get_article_number() const { return art_nr; }
const IndicationList &get_indications() const { return indications; }
const std::string &get_object() const { return object; }
};