Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
canopen::SDOClient Class Reference

#include <canopen.h>

List of all members.

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::Entrycurrent_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

Detailed Description

Definition at line 32 of file canopen.h.


Constructor & Destructor Documentation

canopen::SDOClient::SDOClient ( const boost::shared_ptr< can::CommInterface interface,
const boost::shared_ptr< ObjectDict dict,
uint8_t  node_id 
) [inline]

Definition at line 60 of file canopen.h.


Member Function Documentation

void SDOClient::abort ( uint32_t  reason) [private]

Definition at line 292 of file sdo.cpp.

void SDOClient::init ( )

Definition at line 373 of file sdo.cpp.

bool SDOClient::processFrame ( const can::Frame msg) [private]

Definition at line 298 of file sdo.cpp.

void SDOClient::read ( const canopen::ObjectDict::Entry entry,
String data 
) [protected]

Definition at line 436 of file sdo.cpp.

void SDOClient::transmitAndWait ( const canopen::ObjectDict::Entry entry,
const String data,
String result 
) [private]

Definition at line 398 of file sdo.cpp.

void SDOClient::write ( const canopen::ObjectDict::Entry entry,
const String data 
) [protected]

Definition at line 444 of file sdo.cpp.


Member Data Documentation

Definition at line 41 of file canopen.h.

Definition at line 34 of file canopen.h.

Definition at line 46 of file canopen.h.

bool canopen::SDOClient::done [private]

Definition at line 44 of file canopen.h.

const boost::shared_ptr<can::CommInterface> canopen::SDOClient::interface_ [private]

Definition at line 51 of file canopen.h.

Definition at line 45 of file canopen.h.

boost::timed_mutex canopen::SDOClient::mutex [private]

Definition at line 36 of file canopen.h.

size_t canopen::SDOClient::offset [private]

Definition at line 42 of file canopen.h.

Definition at line 38 of file canopen.h.

const boost::shared_ptr<ObjectStorage> canopen::SDOClient::storage_

Definition at line 56 of file canopen.h.

size_t canopen::SDOClient::total [private]

Definition at line 43 of file canopen.h.


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


canopen_master
Author(s): Mathias L├╝dtke
autogenerated on Thu Jun 6 2019 20:43:54