Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
EthercatOobCom Class Reference

#include <ethercat_com.h>

Inheritance diagram for EthercatOobCom:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 EthercatOobCom (struct netif *ni)
void tx ()
bool txandrx (struct EtherCAT_Frame *frame)
bool txandrx_once (struct EtherCAT_Frame *frame)

Protected Types

enum  { IDLE = 0, READY_TO_SEND = 1, WAITING_TO_RECV = 2 }

Protected Member Functions

bool lock (unsigned line)
bool trylock (unsigned line)
bool unlock (unsigned line)

Protected Attributes

pthread_cond_t busy_cond_
EtherCAT_Frameframe_
int handle_
unsigned line_
pthread_mutex_t mutex_
struct netifni_
pthread_cond_t share_cond_
enum EthercatOobCom:: { ... }  state_

Detailed Description

Definition at line 73 of file ethercat_com.h.


Member Enumeration Documentation

anonymous enum [protected]
Enumerator:
IDLE 
READY_TO_SEND 
WAITING_TO_RECV 

Definition at line 92 of file ethercat_com.h.


Constructor & Destructor Documentation

Definition at line 54 of file ethercat_com.cpp.


Member Function Documentation

bool EthercatOobCom::lock ( unsigned  line) [protected]

Definition at line 94 of file ethercat_com.cpp.

bool EthercatOobCom::trylock ( unsigned  line) [protected]

Definition at line 106 of file ethercat_com.cpp.

Definition at line 185 of file ethercat_com.cpp.

bool EthercatOobCom::txandrx ( struct EtherCAT_Frame frame) [virtual]

Implements EthercatCom.

Definition at line 172 of file ethercat_com.cpp.

bool EthercatOobCom::txandrx_once ( struct EtherCAT_Frame frame) [virtual]

Implements EthercatCom.

Definition at line 134 of file ethercat_com.cpp.

bool EthercatOobCom::unlock ( unsigned  line) [protected]

Definition at line 119 of file ethercat_com.cpp.


Member Data Documentation

pthread_cond_t EthercatOobCom::busy_cond_ [protected]

Definition at line 90 of file ethercat_com.h.

Definition at line 96 of file ethercat_com.h.

int EthercatOobCom::handle_ [protected]

Definition at line 97 of file ethercat_com.h.

unsigned EthercatOobCom::line_ [protected]

Definition at line 98 of file ethercat_com.h.

pthread_mutex_t EthercatOobCom::mutex_ [protected]

Definition at line 88 of file ethercat_com.h.

struct netif* EthercatOobCom::ni_ [protected]

Definition at line 87 of file ethercat_com.h.

pthread_cond_t EthercatOobCom::share_cond_ [protected]

Definition at line 89 of file ethercat_com.h.

enum { ... } EthercatOobCom::state_ [protected]

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


ros_ethercat_hardware
Author(s): Rob Wheeler , Derek King , Manos Nikolaidis
autogenerated on Thu Jul 4 2019 20:01:53