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 52 of file ros_field.hpp.
RosIntrospection::ROSField::ROSField |
( |
const std::string & |
definition | ) |
|
int RosIntrospection::ROSField::arraySize |
( |
| ) |
const |
|
inline |
1 if !is_array, -1 if is_array and array is variable length, otherwise length in name
Definition at line 74 of file ros_field.hpp.
bool RosIntrospection::ROSField::isArray |
( |
| ) |
const |
|
inline |
bool RosIntrospection::ROSField::isConstant |
( |
| ) |
const |
|
inline |
True if field is a constant in message definition.
Definition at line 62 of file ros_field.hpp.
const std::string& RosIntrospection::ROSField::name |
( |
| ) |
const |
|
inline |
const ROSType& RosIntrospection::ROSField::type |
( |
| ) |
const |
|
inline |
const std::string& RosIntrospection::ROSField::value |
( |
| ) |
const |
|
inline |
If constant, value of field, else undefined.
Definition at line 67 of file ros_field.hpp.
int RosIntrospection::ROSField::_array_size |
|
protected |
std::string RosIntrospection::ROSField::_fieldname |
|
protected |
ROSType RosIntrospection::ROSField::_type |
|
protected |
std::string RosIntrospection::ROSField::_value |
|
protected |
The documentation for this class was generated from the following files: