Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
EthercatOobCom Class Reference

#include <ethercat_com.h>

Inheritance diagram for EthercatOobCom:
Inheritance graph
[legend]

Public Member Functions

 EthercatOobCom (struct netif *ni)
 
void tx ()
 
bool txandrx (struct EtherCAT_Frame *frame)
 
bool txandrx_once (struct EtherCAT_Frame *frame)
 
 ~EthercatOobCom ()
 
- Public Member Functions inherited from EthercatCom
virtual ~EthercatCom ()
 

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 Member Functions inherited from EthercatCom
 EthercatCom ()
 

Protected Attributes

pthread_cond_t busy_cond_
 
EtherCAT_Frame * frame_
 
int handle_
 
unsigned line_
 
pthread_mutex_t mutex_
 
struct netif * ni_
 
pthread_cond_t share_cond_
 
enum EthercatOobCom:: { ... }  state_
 

Detailed Description

Definition at line 70 of file ethercat_com.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
IDLE 
READY_TO_SEND 
WAITING_TO_RECV 

Definition at line 89 of file ethercat_com.h.

Constructor & Destructor Documentation

◆ EthercatOobCom()

EthercatOobCom::EthercatOobCom ( struct netif *  ni)

Definition at line 64 of file ethercat_com.cpp.

◆ ~EthercatOobCom()

EthercatOobCom::~EthercatOobCom ( )

Definition at line 101 of file ethercat_com.cpp.

Member Function Documentation

◆ lock()

bool EthercatOobCom::lock ( unsigned  line)
protected

Definition at line 107 of file ethercat_com.cpp.

◆ trylock()

bool EthercatOobCom::trylock ( unsigned  line)
protected

Definition at line 118 of file ethercat_com.cpp.

◆ tx()

void EthercatOobCom::tx ( )

Definition at line 194 of file ethercat_com.cpp.

◆ txandrx()

bool EthercatOobCom::txandrx ( struct EtherCAT_Frame *  frame)
virtual

Implements EthercatCom.

Definition at line 182 of file ethercat_com.cpp.

◆ txandrx_once()

bool EthercatOobCom::txandrx_once ( struct EtherCAT_Frame *  frame)
virtual

Implements EthercatCom.

Definition at line 146 of file ethercat_com.cpp.

◆ unlock()

bool EthercatOobCom::unlock ( unsigned  line)
protected

Definition at line 132 of file ethercat_com.cpp.

Member Data Documentation

◆ busy_cond_

pthread_cond_t EthercatOobCom::busy_cond_
protected

Definition at line 88 of file ethercat_com.h.

◆ frame_

EtherCAT_Frame* EthercatOobCom::frame_
protected

Definition at line 90 of file ethercat_com.h.

◆ handle_

int EthercatOobCom::handle_
protected

Definition at line 91 of file ethercat_com.h.

◆ line_

unsigned EthercatOobCom::line_
protected

Definition at line 92 of file ethercat_com.h.

◆ mutex_

pthread_mutex_t EthercatOobCom::mutex_
protected

Definition at line 86 of file ethercat_com.h.

◆ ni_

struct netif* EthercatOobCom::ni_
protected

Definition at line 85 of file ethercat_com.h.

◆ share_cond_

pthread_cond_t EthercatOobCom::share_cond_
protected

Definition at line 87 of file ethercat_com.h.

◆ state_

enum { ... } EthercatOobCom::state_

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


ethercat_hardware
Author(s): Rob Wheeler , Derek King
autogenerated on Thu Sep 26 2024 02:44:05