YARP
Yet Another Robot Platform
yarp::rosmsg::sensor_msgs::JoyFeedbackArray Class Reference

#include <yarp/rosmsg/sensor_msgs/JoyFeedbackArray.h>

+ Inheritance diagram for yarp::rosmsg::sensor_msgs::JoyFeedbackArray:

Detailed Description

Definition at line 30 of file JoyFeedbackArray.h.

Public Types

typedef yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::JoyFeedbackArrayrosStyle
 
typedef yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::JoyFeedbackArraybottleStyle
 

Public Member Functions

 JoyFeedbackArray ()
 
void clear ()
 
bool readBare (yarp::os::ConnectionReader &connection) override
 
bool readBottle (yarp::os::ConnectionReader &connection) override
 
bool read (yarp::os::ConnectionReader &connection) override
 Read this object from a network connection. More...
 
bool writeBare (yarp::os::ConnectionWriter &connection) const override
 
bool writeBottle (yarp::os::ConnectionWriter &connection) const override
 
bool write (yarp::os::ConnectionWriter &connection) const override
 Write this object to a network connection. More...
 
yarp::os::Type getType () const override
 
- Public Member Functions inherited from yarp::os::idl::WirePortable
virtual bool read (yarp::os::idl::WireReader &reader)
 
virtual bool write (const yarp::os::idl::WireWriter &writer) const
 
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
 
virtual Type getReadType () const
 
- Public Member Functions inherited from yarp::os::PortWriter
virtual ~PortWriter ()
 Destructor. More...
 
virtual void onCompletion () const
 This is called when the port has finished all writing operations. More...
 
virtual void onCommencement () const
 This is called when the port is about to begin writing operations. More...
 
virtual yarp::os::Type getWriteType () const
 

Public Attributes

std::vector< yarp::rosmsg::sensor_msgs::JoyFeedbackarray
 

Static Public Attributes

static constexpr const char * typeName = "sensor_msgs/JoyFeedbackArray"
 
static constexpr const char * typeChecksum = "cde5730a895b1fc4dee6f91b754b213d"
 
static constexpr const char * typeText
 

Additional Inherited Members

- Static Public Member Functions inherited from yarp::os::Portable
static bool copyPortable (PortWriter &writer, PortReader &reader)
 Copy one portable to another, via writing and reading. More...
 

Member Typedef Documentation

◆ bottleStyle

◆ rosStyle

Constructor & Destructor Documentation

◆ JoyFeedbackArray()

yarp::rosmsg::sensor_msgs::JoyFeedbackArray::JoyFeedbackArray ( )
inline

Definition at line 35 of file JoyFeedbackArray.h.

Member Function Documentation

◆ clear()

void yarp::rosmsg::sensor_msgs::JoyFeedbackArray::clear ( )
inline

Definition at line 40 of file JoyFeedbackArray.h.

◆ getType()

yarp::os::Type yarp::rosmsg::sensor_msgs::JoyFeedbackArray::getType ( ) const
inlineoverridevirtual

Reimplemented from yarp::os::Portable.

Definition at line 162 of file JoyFeedbackArray.h.

◆ read()

bool yarp::rosmsg::sensor_msgs::JoyFeedbackArray::read ( yarp::os::ConnectionReader reader)
inlineoverridevirtual

Read this object from a network connection.

Override this for your particular class.

Parameters
readeran interface to the network connection for reading
Returns
true iff the object is successfully read

Implements yarp::os::Portable.

Definition at line 84 of file JoyFeedbackArray.h.

◆ readBare()

bool yarp::rosmsg::sensor_msgs::JoyFeedbackArray::readBare ( yarp::os::ConnectionReader connection)
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 46 of file JoyFeedbackArray.h.

◆ readBottle()

bool yarp::rosmsg::sensor_msgs::JoyFeedbackArray::readBottle ( yarp::os::ConnectionReader connection)
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 60 of file JoyFeedbackArray.h.

◆ write()

bool yarp::rosmsg::sensor_msgs::JoyFeedbackArray::write ( yarp::os::ConnectionWriter writer) const
inlineoverridevirtual

Write this object to a network connection.

Override this for your particular class. Be aware that depending on the nature of the connections a port has, and what protocol they use, and how efficient the YARP implementation is, this method may be called once, twice, or many times, as the result of a single call to Port::write

Parameters
writeran interface to the network connection for writing
Returns
true iff the object is successfully written

Implements yarp::os::Portable.

Definition at line 122 of file JoyFeedbackArray.h.

◆ writeBare()

bool yarp::rosmsg::sensor_msgs::JoyFeedbackArray::writeBare ( yarp::os::ConnectionWriter connection) const
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 90 of file JoyFeedbackArray.h.

◆ writeBottle()

bool yarp::rosmsg::sensor_msgs::JoyFeedbackArray::writeBottle ( yarp::os::ConnectionWriter connection) const
inlineoverridevirtual

Reimplemented from yarp::os::idl::WirePortable.

Definition at line 103 of file JoyFeedbackArray.h.

Member Data Documentation

◆ array

std::vector<yarp::rosmsg::sensor_msgs::JoyFeedback> yarp::rosmsg::sensor_msgs::JoyFeedbackArray::array

Definition at line 33 of file JoyFeedbackArray.h.

◆ typeChecksum

constexpr const char* yarp::rosmsg::sensor_msgs::JoyFeedbackArray::typeChecksum = "cde5730a895b1fc4dee6f91b754b213d"
static

Definition at line 137 of file JoyFeedbackArray.h.

◆ typeName

constexpr const char* yarp::rosmsg::sensor_msgs::JoyFeedbackArray::typeName = "sensor_msgs/JoyFeedbackArray"
static

Definition at line 134 of file JoyFeedbackArray.h.

◆ typeText

constexpr const char* yarp::rosmsg::sensor_msgs::JoyFeedbackArray::typeText
static
Initial value:
= "\
# This message publishes values for multiple feedback at once. \n\
JoyFeedback[] array\n\
================================================================================\n\
MSG: sensor_msgs/JoyFeedback\n\
# Declare of the type of feedback\n\
uint8 TYPE_LED = 0\n\
uint8 TYPE_RUMBLE = 1\n\
uint8 TYPE_BUZZER = 2\n\
\n\
uint8 type\n\
\n\
# This will hold an id number for each type of each feedback.\n\
# Example, the first led would be id=0, the second would be id=1\n\
uint8 id\n\
\n\
# Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is\n\
# actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.\n\
float32 intensity\n\
\n\
"

Definition at line 140 of file JoyFeedbackArray.h.


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