Namespaces | Typedefs | Enumerations | Functions
basic_types.h File Reference
#include <iostream>
#include <string>
#include <stdexcept>
#include <vector>
#include <sstream>
#include <exception>
#include "behaviortree_cpp/string_view.hpp"
#include "behaviortree_cpp/blackboard/demangle_util.h"
Include dependency graph for basic_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 BT
 

Typedefs

typedef nonstd::string_view BT::StringView
 

Enumerations

enum  BT::FailurePolicy { BT::FAIL_ON_ONE, BT::FAIL_ON_ALL }
 
enum  BT::NodeStatus { BT::NodeStatus::IDLE = 0, BT::NodeStatus::RUNNING, BT::NodeStatus::SUCCESS, BT::NodeStatus::FAILURE }
 
enum  BT::NodeType {
  BT::NodeType::UNDEFINED = 0, BT::NodeType::ACTION, BT::NodeType::CONDITION, BT::NodeType::CONTROL,
  BT::NodeType::DECORATOR, BT::NodeType::SUBTREE
}
 
enum  BT::SuccessPolicy { BT::SUCCEED_ON_ONE, BT::SUCCEED_ON_ALL }
 

Functions

template<typename T >
BT::convertFromString (const StringView &)
 
template<>
bool BT::convertFromString< bool > (const StringView &str)
 
template<>
const char * BT::convertFromString< const char * > (const StringView &str)
 
template<>
double BT::convertFromString< double > (const StringView &str)
 
template<>
int BT::convertFromString< int > (const StringView &str)
 
template<>
NodeStatus BT::convertFromString< NodeStatus > (const StringView &str)
 
template<>
NodeType BT::convertFromString< NodeType > (const StringView &str)
 
template<>
std::string BT::convertFromString< std::string > (const StringView &str)
 
template<>
std::vector< double > BT::convertFromString< std::vector< double > > (const StringView &str)
 
template<>
std::vector< int > BT::convertFromString< std::vector< int > > (const StringView &str)
 
template<>
unsigned BT::convertFromString< unsigned > (const StringView &str)
 
std::ostream & BT::operator<< (std::ostream &os, const BT::NodeStatus &status)
 
std::ostream & BT::operator<< (std::ostream &os, const BT::NodeType &type)
 
std::vector< StringView > BT::splitString (const StringView &strToSplit, char delimeter)
 
const char * BT::toStr (const BT::NodeStatus &status, bool colored=false)
 toStr converts NodeStatus to string. Optionally colored. More...
 
const char * BT::toStr (const BT::NodeType &type)
 toStr converts NodeType to string. More...
 


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 04:01:53