Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
ElmoNode Class Reference
Inheritance diagram for ElmoNode:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 16 of file elmo_console.cpp.


Constructor & Destructor Documentation

ElmoNode::ElmoNode ( boost::shared_ptr< can::CommInterface interface,
const uint8_t &  id 
) [inline]

Definition at line 56 of file elmo_console.cpp.


Member Function Documentation

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.

template<typename T >
bool ElmoNode::try_set ( T entry,
const typename T::type &  value 
) [inline, private]

Definition at line 45 of file elmo_console.cpp.


Member Data Documentation

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.


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


canopen_test_utils
Author(s): Mathias Lüdtke
autogenerated on Fri Feb 12 2016 02:43:15