Public Member Functions | Private Attributes | List of all members
BT::PortInfo Class Reference

#include <basic_types.h>

Public Member Functions

const std::string & defaultValue () const
 
const std::string & description () const
 
PortDirection direction () const
 
Any parseString (const char *str) const
 
Any parseString (const std::string &str) const
 
template<typename T >
Any parseString (const T &) const
 
 PortInfo (PortDirection direction=PortDirection::INOUT)
 
 PortInfo (PortDirection direction, const std::type_info &type_info, StringConverter conv)
 
void setDefaultValue (StringView default_value_as_string)
 
void setDescription (StringView description)
 
const std::type_info * type () const
 

Private Attributes

StringConverter _converter
 
const std::type_info * _info
 
PortDirection _type
 
std::string default_value_
 
std::string description_
 

Detailed Description

Definition at line 212 of file basic_types.h.

Constructor & Destructor Documentation

BT::PortInfo::PortInfo ( PortDirection  direction = PortDirection::INOUT)
inline

Definition at line 216 of file basic_types.h.

BT::PortInfo::PortInfo ( PortDirection  direction,
const std::type_info &  type_info,
StringConverter  conv 
)
inline

Definition at line 219 of file basic_types.h.

Member Function Documentation

const std::string & BT::PortInfo::defaultValue ( ) const

Definition at line 321 of file basic_types.cpp.

const std::string & BT::PortInfo::description ( ) const

Definition at line 316 of file basic_types.cpp.

PortDirection BT::PortInfo::direction ( ) const

Definition at line 278 of file basic_types.cpp.

Any BT::PortInfo::parseString ( const char *  str) const

Definition at line 288 of file basic_types.cpp.

Any BT::PortInfo::parseString ( const std::string &  str) const

Definition at line 297 of file basic_types.cpp.

template<typename T >
Any BT::PortInfo::parseString ( const T &  ) const
inline

Definition at line 236 of file basic_types.h.

void BT::PortInfo::setDefaultValue ( StringView  default_value_as_string)

Definition at line 311 of file basic_types.cpp.

void BT::PortInfo::setDescription ( StringView  description)

Definition at line 306 of file basic_types.cpp.

const std::type_info * BT::PortInfo::type ( ) const

Definition at line 283 of file basic_types.cpp.

Member Data Documentation

StringConverter BT::PortInfo::_converter
private

Definition at line 254 of file basic_types.h.

const std::type_info* BT::PortInfo::_info
private

Definition at line 253 of file basic_types.h.

PortDirection BT::PortInfo::_type
private

Definition at line 252 of file basic_types.h.

std::string BT::PortInfo::default_value_
private

Definition at line 256 of file basic_types.h.

std::string BT::PortInfo::description_
private

Definition at line 255 of file basic_types.h.


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


behaviotree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Tue May 4 2021 02:56:26