#include <canopen.h>
Public Member Functions | |
| void | init () |
| SDOClient (const boost::shared_ptr< can::CommInterface > interface, const boost::shared_ptr< ObjectDict > dict, uint8_t node_id) | |
Public Attributes | |
| const boost::shared_ptr < ObjectStorage > | storage_ |
Protected Member Functions | |
| void | read (const canopen::ObjectDict::Entry &entry, String &data) |
| void | write (const canopen::ObjectDict::Entry &entry, const String &data) |
Private Member Functions | |
| void | abort (uint32_t reason) |
| bool | processFrame (const can::Frame &msg) |
| void | transmitAndWait (const canopen::ObjectDict::Entry &entry, const String &data, String *result) |
Private Attributes | |
| String | buffer |
| can::Header | client_id |
| const canopen::ObjectDict::Entry * | current_entry |
| bool | done |
| const boost::shared_ptr < can::CommInterface > | interface_ |
| can::Frame | last_msg |
| boost::timed_mutex | mutex |
| size_t | offset |
| can::BufferedReader | reader_ |
| size_t | total |
| canopen::SDOClient::SDOClient | ( | const boost::shared_ptr< can::CommInterface > | interface, |
| const boost::shared_ptr< ObjectDict > | dict, | ||
| uint8_t | node_id | ||
| ) | [inline] |
| void SDOClient::abort | ( | uint32_t | reason | ) | [private] |
| void SDOClient::init | ( | ) |
| bool SDOClient::processFrame | ( | const can::Frame & | msg | ) | [private] |
| void SDOClient::read | ( | const canopen::ObjectDict::Entry & | entry, |
| String & | data | ||
| ) | [protected] |
| void SDOClient::transmitAndWait | ( | const canopen::ObjectDict::Entry & | entry, |
| const String & | data, | ||
| String * | result | ||
| ) | [private] |
| void SDOClient::write | ( | const canopen::ObjectDict::Entry & | entry, |
| const String & | data | ||
| ) | [protected] |
String canopen::SDOClient::buffer [private] |
can::Header canopen::SDOClient::client_id [private] |
const canopen::ObjectDict::Entry* canopen::SDOClient::current_entry [private] |
bool canopen::SDOClient::done [private] |
const boost::shared_ptr<can::CommInterface> canopen::SDOClient::interface_ [private] |
can::Frame canopen::SDOClient::last_msg [private] |
boost::timed_mutex canopen::SDOClient::mutex [private] |
size_t canopen::SDOClient::offset [private] |
| const boost::shared_ptr<ObjectStorage> canopen::SDOClient::storage_ |
size_t canopen::SDOClient::total [private] |