iCub-main
Public Member Functions | Public Attributes | List of all members
yarp::dev::SocketCanMessage Class Reference

#include <SocketCan.h>

+ Inheritance diagram for yarp::dev::SocketCanMessage:

Public Member Functions

 SocketCanMessage ()
 
virtual ~SocketCanMessage ()
 
virtual CanMessage & operator= (const CanMessage &l)
 
virtual unsigned int getId () const
 
virtual unsigned char getLen () const
 
virtual void setLen (unsigned char len)
 
virtual void setId (unsigned int id)
 
virtual const unsigned char * getData () const
 
virtual unsigned char * getData ()
 
virtual unsigned char * getPointer ()
 
virtual const unsigned char * getPointer () const
 
virtual void setBuffer (unsigned char *b)
 

Public Attributes

struct can_frame * msg
 

Detailed Description

Definition at line 45 of file SocketCan.h.

Constructor & Destructor Documentation

◆ SocketCanMessage()

yarp::dev::SocketCanMessage::SocketCanMessage ( )
inline

Definition at line 51 of file SocketCan.h.

◆ ~SocketCanMessage()

virtual yarp::dev::SocketCanMessage::~SocketCanMessage ( )
inlinevirtual

Definition at line 56 of file SocketCan.h.

Member Function Documentation

◆ getData() [1/2]

virtual unsigned char* yarp::dev::SocketCanMessage::getData ( )
inlinevirtual

Definition at line 82 of file SocketCan.h.

◆ getData() [2/2]

virtual const unsigned char* yarp::dev::SocketCanMessage::getData ( ) const
inlinevirtual

Definition at line 79 of file SocketCan.h.

◆ getId()

virtual unsigned int yarp::dev::SocketCanMessage::getId ( ) const
inlinevirtual

Definition at line 67 of file SocketCan.h.

◆ getLen()

virtual unsigned char yarp::dev::SocketCanMessage::getLen ( ) const
inlinevirtual

Definition at line 70 of file SocketCan.h.

◆ getPointer() [1/2]

virtual unsigned char* yarp::dev::SocketCanMessage::getPointer ( )
inlinevirtual

Definition at line 85 of file SocketCan.h.

◆ getPointer() [2/2]

virtual const unsigned char* yarp::dev::SocketCanMessage::getPointer ( ) const
inlinevirtual

Definition at line 88 of file SocketCan.h.

◆ operator=()

virtual CanMessage& yarp::dev::SocketCanMessage::operator= ( const CanMessage &  l)
inlinevirtual

Definition at line 60 of file SocketCan.h.

◆ setBuffer()

virtual void yarp::dev::SocketCanMessage::setBuffer ( unsigned char *  b)
inlinevirtual

Definition at line 91 of file SocketCan.h.

◆ setId()

virtual void yarp::dev::SocketCanMessage::setId ( unsigned int  id)
inlinevirtual

Definition at line 76 of file SocketCan.h.

◆ setLen()

virtual void yarp::dev::SocketCanMessage::setLen ( unsigned char  len)
inlinevirtual

Definition at line 73 of file SocketCan.h.

Member Data Documentation

◆ msg

struct can_frame* yarp::dev::SocketCanMessage::msg

Definition at line 48 of file SocketCan.h.


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