Today's the day. Renamed platform to framework.
This commit is contained in:
27
devicehandlers/ChildHandlerFDIR.h
Normal file
27
devicehandlers/ChildHandlerFDIR.h
Normal file
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* ChildHandlerFDIR.h
|
||||
*
|
||||
* Created on: 08.02.2016
|
||||
* Author: baetz
|
||||
*/
|
||||
|
||||
#ifndef FRAMEWORK_DEVICEHANDLERS_CHILDHANDLERFDIR_H_
|
||||
#define FRAMEWORK_DEVICEHANDLERS_CHILDHANDLERFDIR_H_
|
||||
|
||||
#include <framework/devicehandlers/DeviceHandlerFDIR.h>
|
||||
|
||||
/**
|
||||
* Very simple extension to normal FDIR.
|
||||
* Does not have a default fault tree parent and
|
||||
* allows to make the recovery count settable to 0.
|
||||
*/
|
||||
class ChildHandlerFDIR: public DeviceHandlerFDIR {
|
||||
public:
|
||||
ChildHandlerFDIR(object_id_t owner, object_id_t faultTreeParent =
|
||||
NO_FAULT_TREE_PARENT, uint32_t recoveryCount = 0);
|
||||
~ChildHandlerFDIR();
|
||||
protected:
|
||||
static const object_id_t NO_FAULT_TREE_PARENT = 0;
|
||||
};
|
||||
|
||||
#endif /* FRAMEWORK_DEVICEHANDLERS_CHILDHANDLERFDIR_H_ */
|
Reference in New Issue
Block a user