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 203 of file basic_types.h.

Constructor & Destructor Documentation

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

Definition at line 207 of file basic_types.h.

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

Definition at line 210 of file basic_types.h.

Member Function Documentation

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

Definition at line 297 of file basic_types.cpp.

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

Definition at line 292 of file basic_types.cpp.

PortDirection BT::PortInfo::direction ( ) const

Definition at line 254 of file basic_types.cpp.

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

Definition at line 264 of file basic_types.cpp.

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

Definition at line 273 of file basic_types.cpp.

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

Definition at line 227 of file basic_types.h.

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

Definition at line 287 of file basic_types.cpp.

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

Definition at line 282 of file basic_types.cpp.

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

Definition at line 259 of file basic_types.cpp.

Member Data Documentation

StringConverter BT::PortInfo::_converter
private

Definition at line 245 of file basic_types.h.

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

Definition at line 244 of file basic_types.h.

PortDirection BT::PortInfo::_type
private

Definition at line 243 of file basic_types.h.

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

Definition at line 247 of file basic_types.h.

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

Definition at line 246 of file basic_types.h.


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


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 18:04:06