Ariles
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ariles2::ns_ros2param::impl::Reader Class Reference

Detailed Description

Definition at line 144 of file reader.cpp.

Inheritance diagram for ariles2::ns_ros2param::impl::Reader:
ariles2::serialization::NodeStackBase< ReaderNodeWrapper >

Public Member Functions

 Reader (const rclcpp::node_interfaces::NodeParametersInterface::SharedPtr &nh)
 
bool getParameter (rclcpp::Parameter &parameter) const
 
bool isParameter () const
 
void reset ()
 
std::set< std::string > listParameters () const
 
bool hasParameterPrefix ()
 
template<int t_expected_parameter_type, class t_Element >
void readElement (t_Element &element)
 
ReaderNodeWrapperback ()
 
const ReaderNodeWrapperback () const
 
void clear ()
 
void emplace (t_Args &&...args)
 
void pop ()
 
void shiftArray ()
 
bool empty () const
 
std::string concatWithNode (t_String &&...strings) const
 
void concatWithNodeAndEmplace (t_String &&...strings)
 

Static Public Member Functions

static bool isPrefix (const std::string &prefix, const std::string &name)
 

Public Attributes

rclcpp::node_interfaces::NodeParametersInterface::SharedPtr nh_
 
std::vector< std::string > parameter_names_
 
const std::string separator_ = "."
 
std::vector< ReaderNodeWrappernode_stack_
 

Constructor & Destructor Documentation

◆ Reader()

ariles2::ns_ros2param::impl::Reader::Reader ( const rclcpp::node_interfaces::NodeParametersInterface::SharedPtr &  nh)
inlineexplicit

Definition at line 156 of file reader.cpp.

Member Function Documentation

◆ back() [1/2]

Definition at line 131 of file serialization.h.

◆ back() [2/2]

Definition at line 136 of file serialization.h.

◆ clear()

void ariles2::serialization::NodeStackBase< ReaderNodeWrapper >::clear ( )
inlineinherited

Definition at line 141 of file serialization.h.

◆ concatWithNode()

std::string ariles2::serialization::NodeStackBase< ReaderNodeWrapper >::concatWithNode ( t_String &&...  strings) const
inlineinherited

Definition at line 170 of file serialization.h.

◆ concatWithNodeAndEmplace()

void ariles2::serialization::NodeStackBase< ReaderNodeWrapper >::concatWithNodeAndEmplace ( t_String &&...  strings)
inlineinherited

Definition at line 176 of file serialization.h.

◆ emplace()

void ariles2::serialization::NodeStackBase< ReaderNodeWrapper >::emplace ( t_Args &&...  args)
inlineinherited

Definition at line 147 of file serialization.h.

◆ empty()

bool ariles2::serialization::NodeStackBase< ReaderNodeWrapper >::empty ( ) const
inlineinherited

Definition at line 163 of file serialization.h.

◆ getParameter()

bool ariles2::ns_ros2param::impl::Reader::getParameter ( rclcpp::Parameter &  parameter) const
inline

Definition at line 162 of file reader.cpp.

◆ hasParameterPrefix()

bool ariles2::ns_ros2param::impl::Reader::hasParameterPrefix ( )
inline

Definition at line 240 of file reader.cpp.

◆ isParameter()

bool ariles2::ns_ros2param::impl::Reader::isParameter ( ) const
inline

Definition at line 171 of file reader.cpp.

◆ isPrefix()

static bool ariles2::ns_ros2param::impl::Reader::isPrefix ( const std::string &  prefix,
const std::string &  name 
)
inlinestatic

Definition at line 191 of file reader.cpp.

◆ listParameters()

std::set<std::string> ariles2::ns_ros2param::impl::Reader::listParameters ( ) const
inline

Definition at line 218 of file reader.cpp.

◆ pop()

void ariles2::serialization::NodeStackBase< ReaderNodeWrapper >::pop ( )
inlineinherited

Definition at line 152 of file serialization.h.

◆ readElement()

template<int t_expected_parameter_type, class t_Element >
void ariles2::ns_rosparam::Reader::readElement ( t_Element &  element)
inline

Definition at line 253 of file reader.cpp.

◆ reset()

void ariles2::ns_ros2param::impl::Reader::reset ( )
inline

Definition at line 183 of file reader.cpp.

◆ shiftArray()

void ariles2::serialization::NodeStackBase< ReaderNodeWrapper >::shiftArray ( )
inlineinherited

Definition at line 157 of file serialization.h.

Member Data Documentation

◆ nh_

rclcpp::node_interfaces::NodeParametersInterface::SharedPtr ariles2::ns_ros2param::impl::Reader::nh_

Definition at line 148 of file reader.cpp.

◆ node_stack_

Definition at line 128 of file serialization.h.

◆ parameter_names_

std::vector<std::string> ariles2::ns_ros2param::impl::Reader::parameter_names_

Definition at line 150 of file reader.cpp.

◆ separator_

const std::string ariles2::ns_ros2param::impl::Reader::separator_ = "."

Definition at line 152 of file reader.cpp.


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