Public Types | Public Member Functions | Protected Types | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
canopen::VectorHelper< T > Class Template Reference

#include <layer.h>

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

Public Types

typedef std::shared_ptr< T > VectorMemberSharedPtr
 

Public Member Functions

virtual void add (const VectorMemberSharedPtr &l)
 
template<typename Bound , typename Data , typename FuncType >
bool callFunc (FuncType func, Data &status)
 

Protected Types

typedef std::vector< VectorMemberSharedPtrvector_type
 

Protected Member Functions

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 ()
 

Private Member Functions

template<typename Bound , typename Iterator , typename Data , typename FuncType >
Iterator call (FuncType func, Data &status, const Iterator &begin, const Iterator &end)
 
template<typename Iterator , typename Data , typename FuncType >
Iterator call (FuncType func, Data &status, const Iterator &begin, const Iterator &end)
 

Private Attributes

vector_type layers
 
boost::shared_mutex mutex
 

Detailed Description

template<typename T>
class canopen::VectorHelper< T >

Definition at line 148 of file layer.h.

Member Typedef Documentation

◆ vector_type

template<typename T >
typedef std::vector<VectorMemberSharedPtr> canopen::VectorHelper< T >::vector_type
protected

Definition at line 152 of file layer.h.

◆ VectorMemberSharedPtr

template<typename T >
typedef std::shared_ptr<T> canopen::VectorHelper< T >::VectorMemberSharedPtr

Definition at line 150 of file layer.h.

Member Function Documentation

◆ add()

template<typename T >
virtual void canopen::VectorHelper< T >::add ( const VectorMemberSharedPtr l)
inlinevirtual

Definition at line 172 of file layer.h.

◆ call() [1/4]

template<typename T >
template<typename Bound , typename Data , typename FuncType >
vector_type::iterator canopen::VectorHelper< T >::call ( FuncType  func,
Data &  status 
)
inlineprotected

Definition at line 153 of file layer.h.

◆ call() [2/4]

template<typename T >
template<typename Data , typename FuncType >
vector_type::iterator canopen::VectorHelper< T >::call ( FuncType  func,
Data &  status 
)
inlineprotected

Definition at line 157 of file layer.h.

◆ call() [3/4]

template<typename T >
template<typename Bound , typename Iterator , typename Data , typename FuncType >
Iterator canopen::VectorHelper< T >::call ( FuncType  func,
Data &  status,
const Iterator &  begin,
const Iterator &  end 
)
inlineprivate

Definition at line 182 of file layer.h.

◆ call() [4/4]

template<typename T >
template<typename Iterator , typename Data , typename FuncType >
Iterator canopen::VectorHelper< T >::call ( FuncType  func,
Data &  status,
const Iterator &  begin,
const Iterator &  end 
)
inlineprivate

Definition at line 193 of file layer.h.

◆ call_rev() [1/2]

template<typename T >
template<typename Bound , typename Data , typename FuncType >
vector_type::reverse_iterator canopen::VectorHelper< T >::call_rev ( FuncType  func,
Data &  status 
)
inlineprotected

Definition at line 161 of file layer.h.

◆ call_rev() [2/2]

template<typename T >
template<typename Data , typename FuncType >
vector_type::reverse_iterator canopen::VectorHelper< T >::call_rev ( FuncType  func,
Data &  status 
)
inlineprotected

Definition at line 165 of file layer.h.

◆ callFunc()

template<typename T >
template<typename Bound , typename Data , typename FuncType >
bool canopen::VectorHelper< T >::callFunc ( FuncType  func,
Data &  status 
)
inline

Definition at line 174 of file layer.h.

◆ destroy()

template<typename T >
void canopen::VectorHelper< T >::destroy ( )
inlineprotected

Definition at line 169 of file layer.h.

Member Data Documentation

◆ layers

template<typename T >
vector_type canopen::VectorHelper< T >::layers
private

Definition at line 179 of file layer.h.

◆ mutex

template<typename T >
boost::shared_mutex canopen::VectorHelper< T >::mutex
private

Definition at line 180 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:27