Public Member Functions | Protected Member Functions | List of all members
canopen::LayerStack Class Reference

#include <layer.h>

Inheritance diagram for canopen::LayerStack:
Inheritance graph
[legend]

Public Member Functions

 LayerStack (const std::string &n)
 
- Public Member Functions inherited from canopen::LayerGroup<>
 LayerGroup (const std::string &n)
 
- Public Member Functions inherited from canopen::Layer
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 Member Functions inherited from canopen::VectorHelper< Layer >
virtual void add (const VectorMemberSharedPtr &l)
 
bool callFunc (FuncType func, Data &status)
 

Protected Member Functions

virtual void handleShutdown (LayerStatus &status)
 
virtual void handleWrite (LayerStatus &status, const LayerState &current_state)
 
- Protected Member Functions inherited from canopen::LayerGroup<>
void call_or_fail (FuncType func, FailType fail, Data &status)
 
void call_or_fail_rev (FuncType func, FailType fail, Data &status)
 
virtual void handleDiag (LayerReport &report)
 
virtual void handleHalt (LayerStatus &status)
 
virtual void handleInit (LayerStatus &status)
 
virtual void handleRead (LayerStatus &status, const LayerState &current_state)
 
virtual void handleRecover (LayerStatus &status)
 
- Protected Member Functions inherited from canopen::VectorHelper< Layer >
vector_type::iterator call (FuncType func, Data &status)
 
vector_type::iterator call (FuncType func, Data &status)
 
vector_type::reverse_iterator call_rev (FuncType func, Data &status)
 
vector_type::reverse_iterator call_rev (FuncType func, Data &status)
 
void destroy ()
 

Additional Inherited Members

- Public Types inherited from canopen::Layer
enum  LayerState {
  Off, Init, Shutdown, Error,
  Halt, Recover, Ready
}
 
- Public Types inherited from canopen::VectorHelper< Layer >
typedef std::shared_ptr< LayerVectorMemberSharedPtr
 
- Public Attributes inherited from canopen::Layer
const std::string name
 
- Protected Types inherited from canopen::VectorHelper< Layer >
typedef std::vector< VectorMemberSharedPtrvector_type
 

Detailed Description

Definition at line 233 of file layer.h.

Constructor & Destructor Documentation

◆ LayerStack()

canopen::LayerStack::LayerStack ( const std::string &  n)
inline

Definition at line 239 of file layer.h.

Member Function Documentation

◆ handleShutdown()

virtual void canopen::LayerStack::handleShutdown ( LayerStatus status)
inlineprotectedvirtual

Reimplemented from canopen::LayerGroup<>.

Definition at line 237 of file layer.h.

◆ handleWrite()

virtual void canopen::LayerStack::handleWrite ( LayerStatus status,
const LayerState current_state 
)
inlineprotectedvirtual

Reimplemented from canopen::LayerGroup<>.

Definition at line 236 of file layer.h.


The documentation for this class was generated from the following file:


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Wed Mar 2 2022 00:52:26