21#include "hurricane/Error.h"
22#include "hurricane/Hooks.h"
37 typedef Hook* (*compToHook_t)(
Component*);
42 private:
static map<string,compToHook_t> _compToHookMap;
43 private: Hook* _nextHook;
50 private: Hook(
const Hook& hook);
55 protected:
virtual ~Hook()
noexcept(
false);
60 private: Hook& operator=(
const Hook& hook);
94 public: Hook*
merge(Hook* hook);
95 public:
void _setNextHook(Hook* hook);
100 public:
static void addCompToHook(
const string&, compToHook_t );
101 public:
static Hook* compToHook(
const string& tname,
Component* );
102 public:
string toJson()
const;
103 public:
virtual string _getTypeName()
const = 0;
104 public:
virtual string _getString()
const = 0;
105 public:
virtual Record* _getRecord()
const;
Component description (API).
Definition Component.h:43
Hook description (API).
Definition Hook.h:34
Hook * getNextHook() const
Hook * getNextMasterHook() const
virtual Component * getComponent() const =0
Hook * getPreviousMasterHook() const
Hook * attach(Hook *hook)
virtual bool isMaster() const =0
Hooks getSlaveHooks() const
Hook * getPreviousHook() const
Hook * getMasterHook() const
Contains Almost Everything.
Definition BasicLayer.h:39
GenericFilter< Hook * > HookFilter
Definition Hooks.h:51
GenericCollection< Hook * > Hooks
Definition Hooks.h:35