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

Public Types

typedef std::shared_ptr< TPDOTPDOSharedPtr
 

Public Member Functions

void sync ()
 

Static Public Member Functions

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

Private Member Functions

bool init (const ObjectStorageSharedPtr &storage, const uint16_t &com_index, const uint16_t &map_index)
 
 TPDO (const can::CommInterfaceSharedPtr interface)
 

Private Attributes

const can::CommInterfaceSharedPtr interface_
 
boost::mutex mutex
 

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 100 of file canopen.h.

Member Typedef Documentation

◆ TPDOSharedPtr

Definition at line 101 of file canopen.h.

Constructor & Destructor Documentation

◆ TPDO()

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

Definition at line 110 of file canopen.h.

Member Function Documentation

◆ create()

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

Definition at line 103 of file canopen.h.

◆ init()

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

Definition at line 233 of file pdo.cpp.

◆ sync()

void PDOMapper::TPDO::sync ( )

Definition at line 255 of file pdo.cpp.

Member Data Documentation

◆ interface_

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

Definition at line 112 of file canopen.h.

◆ mutex

boost::mutex canopen::PDOMapper::TPDO::mutex
private

Definition at line 113 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