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

namespace  BT

Typedefs

typedef nonstd::string_view BT::StringView

Enumerations

enum  BT::FailurePolicy { BT::FAIL_ON_ONE, BT::FAIL_ON_ALL }
enum  BT::NodeStatus { BT::IDLE = 0, BT::RUNNING, BT::SUCCESS, BT::FAILURE }
enum  BT::NodeType {
  BT::UNDEFINED = 0, BT::ACTION, BT::CONDITION, BT::CONTROL,
  BT::DECORATOR, BT::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.
const char * BT::toStr (const BT::NodeType &type)
 toStr converts NodeType to string.


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10