iCub-main
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
yarp::dev::Cfw2CanMessage Class Reference

#include <Cfw2Can.h>

+ Inheritance diagram for yarp::dev::Cfw2CanMessage:

Public Member Functions

 Cfw2CanMessage ()
 
virtual ~Cfw2CanMessage ()
 
virtual CanMessage & operator= (const CanMessage &l)
 This operator is defined in a general way, but it will crash if you try to assign to a Cfw2CanMessage a CanMessage of a different type.
 
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

CFWCAN_MSG * msg
 

Detailed Description

Definition at line 34 of file Cfw2Can.h.

Constructor & Destructor Documentation

◆ Cfw2CanMessage()

yarp::dev::Cfw2CanMessage::Cfw2CanMessage ( )
inline

Definition at line 40 of file Cfw2Can.h.

◆ ~Cfw2CanMessage()

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

Definition at line 45 of file Cfw2Can.h.

Member Function Documentation

◆ getData() [1/2]

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

Definition at line 71 of file Cfw2Can.h.

◆ getData() [2/2]

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

Definition at line 68 of file Cfw2Can.h.

◆ getId()

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

Definition at line 56 of file Cfw2Can.h.

◆ getLen()

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

Definition at line 59 of file Cfw2Can.h.

◆ getPointer() [1/2]

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

Definition at line 74 of file Cfw2Can.h.

◆ getPointer() [2/2]

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

Definition at line 77 of file Cfw2Can.h.

◆ operator=()

CanMessage & Cfw2CanMessage::operator= ( const CanMessage &  l)
virtual

This operator is defined in a general way, but it will crash if you try to assign to a Cfw2CanMessage a CanMessage of a different type.

For more information, check https://github.com/robotology/icub-main/pull/82

Definition at line 173 of file Cfw2Can.cpp.

◆ setBuffer()

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

Definition at line 80 of file Cfw2Can.h.

◆ setId()

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

Definition at line 65 of file Cfw2Can.h.

◆ setLen()

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

Definition at line 62 of file Cfw2Can.h.

Member Data Documentation

◆ msg

CFWCAN_MSG* yarp::dev::Cfw2CanMessage::msg

Definition at line 37 of file Cfw2Can.h.


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