A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair.
More...
#include <ros_field.hpp>
A ROSMessage will contain one or more ROSField(s). Each field is little more than a name / type pair.
Definition at line 46 of file ros_field.hpp.
◆ ROSField() [1/2]
| RosMsgParser::ROSField::ROSField |
( |
const ROSType & |
type, |
|
|
const std::string & |
name |
|
) |
| |
◆ ROSField() [2/2]
| RosMsgParser::ROSField::ROSField |
( |
const std::string & |
definition | ) |
|
◆ arraySize()
| int RosMsgParser::ROSField::arraySize |
( |
| ) |
const |
|
inline |
1 if !is_array, -1 if is_array and array is variable length, otherwise length in name
Definition at line 88 of file ros_field.hpp.
◆ changeType()
| void RosMsgParser::ROSField::changeType |
( |
const ROSType & |
type | ) |
|
|
inline |
◆ getMessagePtr()
◆ isArray()
| bool RosMsgParser::ROSField::isArray |
( |
| ) |
const |
|
inline |
◆ isConstant()
| bool RosMsgParser::ROSField::isConstant |
( |
| ) |
const |
|
inline |
True if field is a constant in message definition.
Definition at line 69 of file ros_field.hpp.
◆ name()
| const std::string& RosMsgParser::ROSField::name |
( |
| ) |
const |
|
inline |
◆ type()
| const ROSType& RosMsgParser::ROSField::type |
( |
| ) |
const |
|
inline |
◆ value()
| const std::string& RosMsgParser::ROSField::value |
( |
| ) |
const |
|
inline |
If constant, value of field, else undefined.
Definition at line 75 of file ros_field.hpp.
◆ ROSMessage
◆ _array_size
| int RosMsgParser::ROSField::_array_size |
|
protected |
◆ _cache_library
◆ _cache_message
| std::shared_ptr<ROSMessage> RosMsgParser::ROSField::_cache_message |
|
mutableprotected |
◆ _fieldname
| std::string RosMsgParser::ROSField::_fieldname |
|
protected |
◆ _is_array
| bool RosMsgParser::ROSField::_is_array |
|
protected |
◆ _is_constant
| bool RosMsgParser::ROSField::_is_constant = false |
|
protected |
◆ _type
| ROSType RosMsgParser::ROSField::_type |
|
protected |
◆ _value
| std::string RosMsgParser::ROSField::_value |
|
protected |
The documentation for this class was generated from the following files: