Classes | Public Member Functions | Private Types | Private Attributes | List of all members
canopen::PDOMapper Class Reference

#include <canopen.h>

Classes

class  Buffer
 
class  PDO
 
struct  RPDO
 
struct  TPDO
 

Public Member Functions

bool init (const ObjectStorageSharedPtr storage, LayerStatus &status)
 
 PDOMapper (const can::CommInterfaceSharedPtr interface)
 
void read (LayerStatus &status)
 
bool write ()
 

Private Types

typedef std::shared_ptr< BufferBufferSharedPtr
 

Private Attributes

const can::CommInterfaceSharedPtr interface_
 
boost::mutex mutex_
 
std::unordered_set< RPDO::RPDOSharedPtrrpdos_
 
std::unordered_set< TPDO::TPDOSharedPtrtpdos_
 

Detailed Description

Definition at line 71 of file canopen.h.

Member Typedef Documentation

◆ BufferSharedPtr

typedef std::shared_ptr<Buffer> canopen::PDOMapper::BufferSharedPtr
private

Definition at line 90 of file canopen.h.

Constructor & Destructor Documentation

◆ PDOMapper()

PDOMapper::PDOMapper ( const can::CommInterfaceSharedPtr  interface)

Definition at line 171 of file pdo.cpp.

Member Function Documentation

◆ init()

bool PDOMapper::init ( const ObjectStorageSharedPtr  storage,
LayerStatus status 
)

Definition at line 175 of file pdo.cpp.

◆ read()

void PDOMapper::read ( LayerStatus status)

Definition at line 326 of file pdo.cpp.

◆ write()

bool PDOMapper::write ( )

Definition at line 332 of file pdo.cpp.

Member Data Documentation

◆ interface_

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

Definition at line 139 of file canopen.h.

◆ mutex_

boost::mutex canopen::PDOMapper::mutex_
private

Definition at line 72 of file canopen.h.

◆ rpdos_

std::unordered_set<RPDO::RPDOSharedPtr> canopen::PDOMapper::rpdos_
private

Definition at line 136 of file canopen.h.

◆ tpdos_

std::unordered_set<TPDO::TPDOSharedPtr> canopen::PDOMapper::tpdos_
private

Definition at line 137 of file canopen.h.


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


canopen_master
Author(s): Mathias L├╝dtke
autogenerated on Mon Feb 28 2022 23:28:03