Public Member Functions | |
ElmoNode (boost::shared_ptr< can::CommInterface > interface, const uint8_t &id) | |
void | get_response (std::string &s) |
uint8_t | send_command (const std::string &s) |
Private Member Functions | |
template<typename T > | |
bool | try_set (T &entry, const typename T::type &value) |
Static Private Member Functions | |
static boost::shared_ptr < canopen::ObjectDict > | make_dict () |
Private Attributes | |
ObjectStorage::Entry < canopen::ObjectStorage::DataType < ObjectDict::DEFTYPE_OCTET_STRING > ::type > | command_ |
ObjectStorage::Entry < canopen::ObjectStorage::DataType < ObjectDict::DEFTYPE_UNSIGNED8 > ::type > | mode_ |
ObjectStorage::Entry < canopen::ObjectStorage::DataType < ObjectDict::DEFTYPE_OCTET_STRING > ::type > | reply_ |
ObjectStorage::Entry < canopen::ObjectStorage::DataType < ObjectDict::DEFTYPE_UNSIGNED8 > ::type > | status_ |
Definition at line 16 of file elmo_console.cpp.
ElmoNode::ElmoNode | ( | boost::shared_ptr< can::CommInterface > | interface, |
const uint8_t & | id | ||
) | [inline] |
Definition at line 56 of file elmo_console.cpp.
void ElmoNode::get_response | ( | std::string & | s | ) | [inline] |
Definition at line 75 of file elmo_console.cpp.
static boost::shared_ptr<canopen::ObjectDict> ElmoNode::make_dict | ( | ) | [inline, static, private] |
Definition at line 18 of file elmo_console.cpp.
uint8_t ElmoNode::send_command | ( | const std::string & | s | ) | [inline] |
Definition at line 64 of file elmo_console.cpp.
bool ElmoNode::try_set | ( | T & | entry, |
const typename T::type & | value | ||
) | [inline, private] |
Definition at line 45 of file elmo_console.cpp.
ObjectStorage::Entry<canopen::ObjectStorage::DataType<ObjectDict::DEFTYPE_OCTET_STRING>::type > ElmoNode::command_ [private] |
Definition at line 39 of file elmo_console.cpp.
ObjectStorage::Entry<canopen::ObjectStorage::DataType<ObjectDict::DEFTYPE_UNSIGNED8>::type > ElmoNode::mode_ [private] |
Definition at line 43 of file elmo_console.cpp.
ObjectStorage::Entry<canopen::ObjectStorage::DataType<ObjectDict::DEFTYPE_OCTET_STRING>::type > ElmoNode::reply_ [private] |
Definition at line 41 of file elmo_console.cpp.
ObjectStorage::Entry<canopen::ObjectStorage::DataType<ObjectDict::DEFTYPE_UNSIGNED8>::type > ElmoNode::status_ [private] |
Definition at line 40 of file elmo_console.cpp.