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< T >
virtual void add (const VectorMemberSharedPtr &l)
 
template<typename Bound , typename Data , typename FuncType >
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< T >
template<typename Bound , typename Data , typename FuncType >
vector_type::iterator call (FuncType func, Data &status)
 
template<typename Data , typename FuncType >
vector_type::iterator call (FuncType func, Data &status)
 
template<typename Bound , typename Data , typename FuncType >
vector_type::reverse_iterator call_rev (FuncType func, Data &status)
 
template<typename Data , typename FuncType >
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< T >
typedef boost::shared_ptr< T > VectorMemberSharedPtr
 
- Public Attributes inherited from canopen::Layer
const std::string name
 
- Protected Types inherited from canopen::VectorHelper< T >
typedef std::vector< VectorMemberSharedPtrvector_type
 

Detailed Description

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

Definition at line 197 of file layer.h.

Constructor & Destructor Documentation

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

Definition at line 229 of file layer.h.

Member Function Documentation

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 199 of file layer.h.

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 206 of file layer.h.

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

Implements canopen::Layer.

Reimplemented in canopen::LayerGroupNoDiag< T >.

Definition at line 221 of file layer.h.

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

Implements canopen::Layer.

Definition at line 226 of file layer.h.

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

Implements canopen::Layer.

Definition at line 223 of file layer.h.

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

Implements canopen::Layer.

Definition at line 214 of file layer.h.

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

Implements canopen::Layer.

Definition at line 227 of file layer.h.

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

Implements canopen::Layer.

Reimplemented in canopen::LayerStack.

Definition at line 224 of file layer.h.

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 217 of file layer.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Fri May 14 2021 02:59:41