Public Member Functions | Protected Member Functions | List of all members
canopen::LayerGroup< T > Class Template Reference

#include <layer.h>

Inheritance diagram for canopen::LayerGroup< T >:
Inheritance graph
[legend]

Public Member Functions

 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

template<typename Data , typename FuncType , typename FailType >
void call_or_fail (FuncType func, FailType fail, Data &status)
 
template<typename Data , typename FuncType , typename FailType >
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)
 
virtual void handleShutdown (LayerStatus &status)
 
virtual void handleWrite (LayerStatus &status, const LayerState &current_state)
 
- 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

template<typename T = Layer>
class canopen::LayerGroup< T >

Definition at line 198 of file layer.h.

Constructor & Destructor Documentation

◆ LayerGroup()

template<typename T = Layer>
canopen::LayerGroup< T >::LayerGroup ( const std::string &  n)
inline

Definition at line 230 of file layer.h.

Member Function Documentation

◆ call_or_fail()

template<typename T = Layer>
template<typename Data , typename FuncType , typename FailType >
void canopen::LayerGroup< T >::call_or_fail ( FuncType  func,
FailType  fail,
Data &  status 
)
inlineprotected

Definition at line 200 of file layer.h.

◆ call_or_fail_rev()

template<typename T = Layer>
template<typename Data , typename FuncType , typename FailType >
void canopen::LayerGroup< T >::call_or_fail_rev ( FuncType  func,
FailType  fail,
Data &  status 
)
inlineprotected

Definition at line 207 of file layer.h.

◆ handleDiag()

template<typename T = Layer>
virtual void canopen::LayerGroup< T >::handleDiag ( LayerReport report)
inlineprotectedvirtual

Implements canopen::Layer.

Reimplemented in canopen::LayerGroupNoDiag< T >.

Definition at line 222 of file layer.h.

◆ handleHalt()

template<typename T = Layer>
virtual void canopen::LayerGroup< T >::handleHalt ( LayerStatus status)
inlineprotectedvirtual

Implements canopen::Layer.

Definition at line 227 of file layer.h.

◆ handleInit()

template<typename T = Layer>
virtual void canopen::LayerGroup< T >::handleInit ( LayerStatus status)
inlineprotectedvirtual

Implements canopen::Layer.

Definition at line 224 of file layer.h.

◆ handleRead()

template<typename T = Layer>
virtual void canopen::LayerGroup< T >::handleRead ( LayerStatus status,
const LayerState current_state 
)
inlineprotectedvirtual

Implements canopen::Layer.

Definition at line 215 of file layer.h.

◆ handleRecover()

template<typename T = Layer>
virtual void canopen::LayerGroup< T >::handleRecover ( LayerStatus status)
inlineprotectedvirtual

Implements canopen::Layer.

Definition at line 228 of file layer.h.

◆ handleShutdown()

template<typename T = Layer>
virtual void canopen::LayerGroup< T >::handleShutdown ( LayerStatus status)
inlineprotectedvirtual

Implements canopen::Layer.

Reimplemented in canopen::LayerStack.

Definition at line 225 of file layer.h.

◆ handleWrite()

template<typename T = Layer>
virtual void canopen::LayerGroup< T >::handleWrite ( LayerStatus status,
const LayerState current_state 
)
inlineprotectedvirtual

Implements canopen::Layer.

Reimplemented in canopen::LayerStack.

Definition at line 218 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