#include <objdict.h>
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 |
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] |
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] |
String & ObjectStorage::Data::access | ( | ) | [inline, private] |
String & ObjectStorage::Data::allocate | ( | ) | [inline, private] |
void ObjectStorage::Data::force_write | ( | ) |
Definition at line 58 of file objdict.cpp.
const T canopen::ObjectStorage::Data::get | ( | bool | cached | ) | [inline] |
void ObjectStorage::Data::init | ( | ) |
Definition at line 44 of file objdict.cpp.
void ObjectStorage::Data::reset | ( | ) |
Definition at line 68 of file objdict.cpp.
void canopen::ObjectStorage::Data::set | ( | const T & | val | ) | [inline] |
void canopen::ObjectStorage::Data::set_cached | ( | const T & | val | ) | [inline] |
void canopen::ObjectStorage::Data::set_delegates | ( | const ReadDelegate & | r, |
const WriteDelegate & | w | ||
) | [inline] |
size_t canopen::ObjectStorage::Data::size | ( | ) | [inline] |
String canopen::ObjectStorage::Data::buffer [private] |
const boost::shared_ptr<const ObjectDict::Entry> canopen::ObjectStorage::Data::entry |
boost::mutex canopen::ObjectStorage::Data::mutex [private] |
bool canopen::ObjectStorage::Data::valid [private] |