Public Member Functions | Private Attributes
RosIntrospection::ROSMessage Class Reference

#include <ros_message.hpp>

List of all members.

Public Member Functions

const ROSFieldfield (size_t index) const
 Get field by index.
const std::vector< ROSField > & fields () const
 Vector of fields.
void mutateType (const ROSType &new_type)
 ROSMessage (const std::string &msg_def)
const ROSTypetype () const
void updateMissingPkgNames (const std::vector< const ROSType * > &all_types)

Private Attributes

std::vector< ROSField_fields
ROSType _type

Detailed Description

Definition at line 44 of file ros_message.hpp.


Constructor & Destructor Documentation

RosIntrospection::ROSMessage::ROSMessage ( const std::string &  msg_def)

This constructor does most of the work in terms of parsing. It uses the message definition to extract fields and types.

Definition at line 45 of file ros_message.cpp.


Member Function Documentation

const ROSField& RosIntrospection::ROSMessage::field ( size_t  index) const [inline]

Get field by index.

Definition at line 54 of file ros_message.hpp.

const std::vector<ROSField>& RosIntrospection::ROSMessage::fields ( ) const [inline]

Vector of fields.

Returns:

Definition at line 60 of file ros_message.hpp.

void RosIntrospection::ROSMessage::mutateType ( const ROSType new_type) [inline]

Definition at line 64 of file ros_message.hpp.

const ROSType& RosIntrospection::ROSMessage::type ( ) const [inline]

Definition at line 62 of file ros_message.hpp.

void RosIntrospection::ROSMessage::updateMissingPkgNames ( const std::vector< const ROSType * > &  all_types)

Definition at line 73 of file ros_message.cpp.


Member Data Documentation

Definition at line 71 of file ros_message.hpp.

Definition at line 70 of file ros_message.hpp.


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


ros_type_introspection
Author(s): Davide Faconti
autogenerated on Tue May 14 2019 02:49:42