Ariles
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ariles::ns_ros::Reader Class Reference

Detailed Description

Configuration reader class.

Definition at line 28 of file reader.h.

#include <reader.h>

Inheritance diagram for ariles::ns_ros::Reader:
ariles::ns_ros::Base< t_Base, t_Implementation > t_Base

Public Member Functions

 Reader (const ::ros::NodeHandle &nh)
 Constructor. More...
 
bool descend (const std::string &child_name)
 
void ascend ()
 
bool getMapEntryNames (std::vector< std::string > &child_names)
 
std::size_t startArray ()
 
void shiftArray ()
 
void endArray ()
 
bool startRoot (const std::string &name)
 
void endRoot (const std::string &name)
 
const serialization::FeaturesgetSerializationFeatures () const
 

Protected Types

typedef t_Implementation Impl
 
typedef ARILES_SHARED_PTR< t_Implementation > ImplPtr
 

Protected Member Functions

std::size_t getMapSize (const bool expect_empty)
 

Protected Attributes

ImplPtr impl_
 

Member Typedef Documentation

◆ Impl

template<class t_Base, class t_Implementation>
typedef t_Implementation ariles::ns_ros::Base< t_Base, t_Implementation >::Impl
protectedinherited

Definition at line 30 of file ros.h.

◆ ImplPtr

template<class t_Base, class t_Implementation>
typedef ARILES_SHARED_PTR<t_Implementation> ariles::ns_ros::Base< t_Base, t_Implementation >::ImplPtr
protectedinherited

Definition at line 31 of file ros.h.

Constructor & Destructor Documentation

◆ Reader()

ariles::ns_ros::Reader::Reader ( const ::ros::NodeHandle &  nh)
explicit

Constructor.

Parameters
[in]nhNodeHandle

Definition at line 40 of file reader.cpp.

Member Function Documentation

◆ ascend()

void ariles::ns_ros::Reader::ascend ( )

Definition at line 85 of file reader.cpp.

◆ descend()

bool ariles::ns_ros::Reader::descend ( const std::string &  child_name)

Definition at line 60 of file reader.cpp.

◆ endArray()

void ariles::ns_ros::Reader::endArray ( )

Definition at line 134 of file reader.cpp.

◆ endRoot()

void ariles::ns_ros::Reader::endRoot ( const std::string &  name)

Definition at line 153 of file reader.cpp.

◆ getMapEntryNames()

bool ariles::ns_ros::Reader::getMapEntryNames ( std::vector< std::string > &  child_names)

Definition at line 91 of file reader.cpp.

◆ getMapSize()

std::size_t ariles::ns_ros::Reader::getMapSize ( const bool  expect_empty)
protected

Definition at line 46 of file reader.cpp.

◆ getSerializationFeatures()

template<class t_Base, class t_Implementation>
const serialization::Features& ariles::ns_ros::Base< t_Base, t_Implementation >::getSerializationFeatures ( ) const
inlineinherited

Definition at line 47 of file ros.h.

◆ shiftArray()

void ariles::ns_ros::Reader::shiftArray ( )

Definition at line 124 of file reader.cpp.

◆ startArray()

std::size_t ariles::ns_ros::Reader::startArray ( )

Definition at line 113 of file reader.cpp.

◆ startRoot()

bool ariles::ns_ros::Reader::startRoot ( const std::string &  name)

Definition at line 140 of file reader.cpp.

Member Data Documentation

◆ impl_

template<class t_Base, class t_Implementation>
ImplPtr ariles::ns_ros::Base< t_Base, t_Implementation >::impl_
protectedinherited

Definition at line 34 of file ros.h.


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