iCub-main
Public Member Functions | Protected Attributes | List of all members
CanSocket Class Reference

#include <driver.h>

Public Member Functions

 CanSocket ()
 
 ~CanSocket ()
 
bool create (ACE_UINT16 port, ACE_UINT32 address)
 
void sendTo (void *data, size_t len, ACE_UINT16 port, ACE_UINT32 address)
 
ssize_t receiveFrom (void *data, size_t len, ACE_UINT32 &address, ACE_UINT16 &port, int wait_msec)
 
void close ()
 

Protected Attributes

ACE_SOCK_Dgram_Bcast * mSocket
 

Detailed Description

Definition at line 206 of file driver.h.

Constructor & Destructor Documentation

◆ CanSocket()

CanSocket::CanSocket ( )
inline

Definition at line 209 of file driver.h.

◆ ~CanSocket()

CanSocket::~CanSocket ( )
inline

Definition at line 215 of file driver.h.

Member Function Documentation

◆ close()

void CanSocket::close ( void  )
inline

Definition at line 259 of file driver.h.

◆ create()

bool CanSocket::create ( ACE_UINT16  port,
ACE_UINT32  address 
)
inline

Definition at line 221 of file driver.h.

◆ receiveFrom()

ssize_t CanSocket::receiveFrom ( void *  data,
size_t  len,
ACE_UINT32 &  address,
ACE_UINT16 &  port,
int  wait_msec 
)
inline

Definition at line 236 of file driver.h.

◆ sendTo()

void CanSocket::sendTo ( void *  data,
size_t  len,
ACE_UINT16  port,
ACE_UINT32  address 
)
inline

Definition at line 227 of file driver.h.

Member Data Documentation

◆ mSocket

ACE_SOCK_Dgram_Bcast* CanSocket::mSocket
protected

Definition at line 270 of file driver.h.


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