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

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

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

Detailed Description

Definition at line 50 of file NavSatStatus.h.

Public Types

typedef yarp::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::NavSatStatusrosStyle
 
typedef yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::NavSatStatusbottleStyle
 

Public Member Functions

 NavSatStatus ()
 
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::int8_t status
 
std::uint16_t service
 

Static Public Attributes

static const std::int8_t STATUS_NO_FIX = -1
 
static const std::int8_t STATUS_FIX = 0
 
static const std::int8_t STATUS_SBAS_FIX = 1
 
static const std::int8_t STATUS_GBAS_FIX = 2
 
static const std::uint16_t SERVICE_GPS = 1
 
static const std::uint16_t SERVICE_GLONASS = 2
 
static const std::uint16_t SERVICE_COMPASS = 4
 
static const std::uint16_t SERVICE_GALILEO = 8
 
static constexpr const char * typeName = "sensor_msgs/NavSatStatus"
 
static constexpr const char * typeChecksum = "331cdbddfa4bc96ffc3b9ad98900a54c"
 
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

◆ NavSatStatus()

yarp::rosmsg::sensor_msgs::NavSatStatus::NavSatStatus ( )
inline

Definition at line 64 of file NavSatStatus.h.

Member Function Documentation

◆ clear()

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

Definition at line 70 of file NavSatStatus.h.

◆ getType()

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

Reimplemented from yarp::os::Portable.

Definition at line 202 of file NavSatStatus.h.

◆ read()

bool yarp::rosmsg::sensor_msgs::NavSatStatus::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 124 of file NavSatStatus.h.

◆ readBare()

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

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

Definition at line 95 of file NavSatStatus.h.

◆ readBottle()

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

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

Definition at line 106 of file NavSatStatus.h.

◆ write()

bool yarp::rosmsg::sensor_msgs::NavSatStatus::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 159 of file NavSatStatus.h.

◆ writeBare()

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

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

Definition at line 130 of file NavSatStatus.h.

◆ writeBottle()

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

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

Definition at line 141 of file NavSatStatus.h.

Member Data Documentation

◆ service

std::uint16_t yarp::rosmsg::sensor_msgs::NavSatStatus::service

Definition at line 62 of file NavSatStatus.h.

◆ SERVICE_COMPASS

const std::uint16_t yarp::rosmsg::sensor_msgs::NavSatStatus::SERVICE_COMPASS = 4
static

Definition at line 60 of file NavSatStatus.h.

◆ SERVICE_GALILEO

const std::uint16_t yarp::rosmsg::sensor_msgs::NavSatStatus::SERVICE_GALILEO = 8
static

Definition at line 61 of file NavSatStatus.h.

◆ SERVICE_GLONASS

const std::uint16_t yarp::rosmsg::sensor_msgs::NavSatStatus::SERVICE_GLONASS = 2
static

Definition at line 59 of file NavSatStatus.h.

◆ SERVICE_GPS

const std::uint16_t yarp::rosmsg::sensor_msgs::NavSatStatus::SERVICE_GPS = 1
static

Definition at line 58 of file NavSatStatus.h.

◆ status

std::int8_t yarp::rosmsg::sensor_msgs::NavSatStatus::status

Definition at line 57 of file NavSatStatus.h.

◆ STATUS_FIX

const std::int8_t yarp::rosmsg::sensor_msgs::NavSatStatus::STATUS_FIX = 0
static

Definition at line 54 of file NavSatStatus.h.

◆ STATUS_GBAS_FIX

const std::int8_t yarp::rosmsg::sensor_msgs::NavSatStatus::STATUS_GBAS_FIX = 2
static

Definition at line 56 of file NavSatStatus.h.

◆ STATUS_NO_FIX

const std::int8_t yarp::rosmsg::sensor_msgs::NavSatStatus::STATUS_NO_FIX = -1
static

Definition at line 53 of file NavSatStatus.h.

◆ STATUS_SBAS_FIX

const std::int8_t yarp::rosmsg::sensor_msgs::NavSatStatus::STATUS_SBAS_FIX = 1
static

Definition at line 55 of file NavSatStatus.h.

◆ typeChecksum

constexpr const char* yarp::rosmsg::sensor_msgs::NavSatStatus::typeChecksum = "331cdbddfa4bc96ffc3b9ad98900a54c"
static

Definition at line 174 of file NavSatStatus.h.

◆ typeName

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

Definition at line 171 of file NavSatStatus.h.

◆ typeText

constexpr const char* yarp::rosmsg::sensor_msgs::NavSatStatus::typeText
static
Initial value:
= "\
# Navigation Satellite fix status for any Global Navigation Satellite System\n\
\n\
# Whether to output an augmented fix is determined by both the fix\n\
# type and the last time differential corrections were received. A\n\
# fix is valid when status >= STATUS_FIX.\n\
\n\
int8 STATUS_NO_FIX = -1 # unable to fix position\n\
int8 STATUS_FIX = 0 # unaugmented fix\n\
int8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation\n\
int8 STATUS_GBAS_FIX = 2 # with ground-based augmentation\n\
\n\
int8 status\n\
\n\
# Bits defining which Global Navigation Satellite System signals were\n\
# used by the receiver.\n\
\n\
uint16 SERVICE_GPS = 1\n\
uint16 SERVICE_GLONASS = 2\n\
uint16 SERVICE_COMPASS = 4 # includes BeiDou.\n\
uint16 SERVICE_GALILEO = 8\n\
\n\
uint16 service\n\
"

Definition at line 177 of file NavSatStatus.h.


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