Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
canopen::PDOMapper::RPDO Struct Reference
Inheritance diagram for canopen::PDOMapper::RPDO:
Inheritance graph
[legend]

Public Types

typedef std::shared_ptr< RPDORPDOSharedPtr
 

Public Member Functions

void sync (LayerStatus &status)
 

Static Public Member Functions

static RPDOSharedPtr create (const can::CommInterfaceSharedPtr interface, const ObjectStorageSharedPtr &storage, const uint16_t &com_index, const uint16_t &map_index)
 

Private Member Functions

void handleFrame (const can::Frame &msg)
 
bool init (const ObjectStorageSharedPtr &storage, const uint16_t &com_index, const uint16_t &map_index)
 
 RPDO (const can::CommInterfaceSharedPtr interface)
 

Private Attributes

const can::CommInterfaceSharedPtr interface_
 
can::FrameListenerConstSharedPtr listener_
 
boost::mutex mutex
 
int timeout
 

Additional Inherited Members

- Protected Member Functions inherited from canopen::PDOMapper::PDO
void parse_and_set_mapping (const ObjectStorageSharedPtr &storage, const uint16_t &com_index, const uint16_t &map_index, const bool &read, const bool &write)
 
- Protected Attributes inherited from canopen::PDOMapper::PDO
std::vector< BufferSharedPtrbuffers
 
can::Frame frame
 
uint8_t transmission_type
 

Detailed Description

Definition at line 116 of file canopen.h.

Member Typedef Documentation

◆ RPDOSharedPtr

Definition at line 118 of file canopen.h.

Constructor & Destructor Documentation

◆ RPDO()

canopen::PDOMapper::RPDO::RPDO ( const can::CommInterfaceSharedPtr  interface)
inlineprivate

Definition at line 127 of file canopen.h.

Member Function Documentation

◆ create()

static RPDOSharedPtr canopen::PDOMapper::RPDO::create ( const can::CommInterfaceSharedPtr  interface,
const ObjectStorageSharedPtr storage,
const uint16_t &  com_index,
const uint16_t &  map_index 
)
inlinestatic

Definition at line 119 of file canopen.h.

◆ handleFrame()

void PDOMapper::RPDO::handleFrame ( const can::Frame msg)
private

Definition at line 298 of file pdo.cpp.

◆ init()

bool PDOMapper::RPDO::init ( const ObjectStorageSharedPtr storage,
const uint16_t &  com_index,
const uint16_t &  map_index 
)
private

Definition at line 212 of file pdo.cpp.

◆ sync()

void PDOMapper::RPDO::sync ( LayerStatus status)

Definition at line 282 of file pdo.cpp.

Member Data Documentation

◆ interface_

const can::CommInterfaceSharedPtr canopen::PDOMapper::RPDO::interface_
private

Definition at line 129 of file canopen.h.

◆ listener_

can::FrameListenerConstSharedPtr canopen::PDOMapper::RPDO::listener_
private

Definition at line 131 of file canopen.h.

◆ mutex

boost::mutex canopen::PDOMapper::RPDO::mutex
private

Definition at line 128 of file canopen.h.

◆ timeout

int canopen::PDOMapper::RPDO::timeout
private

Definition at line 133 of file canopen.h.


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


canopen_master
Author(s): Mathias Lüdtke
autogenerated on Wed Mar 2 2022 00:52:27