Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
canopen::ObjectStorage::Data Class Reference

#include <objdict.h>

List of all members.

Public Member Functions

template<typename T >
 Data (const ObjectDict::Key &k, const boost::shared_ptr< const ObjectDict::Entry > &e, const T &val, const ReadDelegate &r, const WriteDelegate &w)
 Data (const ObjectDict::Key &k, const boost::shared_ptr< const ObjectDict::Entry > &e, const TypeGuard &t, const ReadDelegate &r, const WriteDelegate &w)
void force_write ()
template<typename T >
const T get (bool cached)
void init ()
void reset ()
template<typename T >
void set (const T &val)
template<typename T >
void set_cached (const T &val)
void set_delegates (const ReadDelegate &r, const WriteDelegate &w)
size_t size ()

Public Attributes

const boost::shared_ptr< const
ObjectDict::Entry
entry
const ObjectDict::Key key
const TypeGuard type_guard

Private Member Functions

template<typename T >
T & access ()
template<typename T >
T & allocate ()

Private Attributes

String buffer
boost::mutex mutex
ReadDelegate read_delegate
bool valid
WriteDelegate write_delegate

Detailed Description

Definition at line 269 of file objdict.h.


Constructor & Destructor Documentation

template<typename T >
canopen::ObjectStorage::Data::Data ( const ObjectDict::Key k,
const boost::shared_ptr< const ObjectDict::Entry > &  e,
const T &  val,
const ReadDelegate r,
const WriteDelegate w 
) [inline]

Definition at line 296 of file objdict.h.

canopen::ObjectStorage::Data::Data ( const ObjectDict::Key k,
const boost::shared_ptr< const ObjectDict::Entry > &  e,
const TypeGuard t,
const ReadDelegate r,
const WriteDelegate w 
) [inline]

Definition at line 303 of file objdict.h.


Member Function Documentation

String & ObjectStorage::Data::access ( ) [inline, private]

Definition at line 277 of file objdict.h.

String & ObjectStorage::Data::allocate ( ) [inline, private]

Definition at line 283 of file objdict.h.

Definition at line 58 of file objdict.cpp.

template<typename T >
const T canopen::ObjectStorage::Data::get ( bool  cached) [inline]

Definition at line 316 of file objdict.h.

Definition at line 44 of file objdict.cpp.

Definition at line 68 of file objdict.cpp.

template<typename T >
void canopen::ObjectStorage::Data::set ( const T &  val) [inline]

Definition at line 332 of file objdict.h.

template<typename T >
void canopen::ObjectStorage::Data::set_cached ( const T &  val) [inline]

Definition at line 344 of file objdict.h.

void canopen::ObjectStorage::Data::set_delegates ( const ReadDelegate r,
const WriteDelegate w 
) [inline]

Definition at line 311 of file objdict.h.

Definition at line 294 of file objdict.h.


Member Data Documentation

Definition at line 271 of file objdict.h.

Definition at line 292 of file objdict.h.

Definition at line 293 of file objdict.h.

boost::mutex canopen::ObjectStorage::Data::mutex [private]

Definition at line 270 of file objdict.h.

Definition at line 274 of file objdict.h.

Definition at line 291 of file objdict.h.

Definition at line 272 of file objdict.h.

Definition at line 275 of file objdict.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Sun Sep 3 2017 03:10:42