#include <layer.h>
Public Types | |
enum | LayerState { Off, Init, Shutdown, Error, Halt, Recover, Ready } |
Public Member Functions | |
void | diag (LayerReport &report) |
LayerState | getLayerState () |
void | halt (LayerStatus &status) |
void | init (LayerStatus &status) |
Layer (const std::string &n) | |
void | read (LayerStatus &status) |
void | recover (LayerStatus &status) |
void | shutdown (LayerStatus &status) |
void | write (LayerStatus &status) |
virtual | ~Layer () |
Public Attributes | |
const std::string | name |
Protected Member Functions | |
virtual void | handleDiag (LayerReport &report)=0 |
virtual void | handleHalt (LayerStatus &status)=0 |
virtual void | handleInit (LayerStatus &status)=0 |
virtual void | handleRead (LayerStatus &status, const LayerState ¤t_state)=0 |
virtual void | handleRecover (LayerStatus &status)=0 |
virtual void | handleShutdown (LayerStatus &status)=0 |
virtual void | handleWrite (LayerStatus &status, const LayerState ¤t_state)=0 |
Private Attributes | |
boost::atomic< LayerState > | state |
|
inline |
|
inline |
|
inline |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |