Classes | Enumerations | Functions
BT_Serialization Namespace Reference

Classes

struct  BehaviorTreeBuilder
 
struct  FLATBUFFERS_FINAL_CLASS
 
struct  KeyValueBuilder
 
struct  StatusChangeLogBuilder
 
struct  TreeNodeBuilder
 

Enumerations

enum  Status : int8_t {
  Status::IDLE = 0, Status::RUNNING = 1, Status::SUCCESS = 2, Status::FAILURE = 3,
  Status::MIN = IDLE, Status::MAX = FAILURE
}
 
enum  Type : int8_t {
  Type::UNDEFINED = 0, Type::ACTION = 1, Type::CONDITION = 2, Type::CONTROL = 3,
  Type::DECORATOR = 4, Type::SUBTREE = 5, Type::MIN = UNDEFINED, Type::MAX = SUBTREE
}
 

Functions

flatbuffers::Offset< BehaviorTree > CreateBehaviorTree (flatbuffers::FlatBufferBuilder &_fbb, uint16_t root_uid=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< TreeNode >>> nodes=0)
 
flatbuffers::Offset< BehaviorTree > CreateBehaviorTreeDirect (flatbuffers::FlatBufferBuilder &_fbb, uint16_t root_uid=0, const std::vector< flatbuffers::Offset< TreeNode >> *nodes=nullptr)
 
flatbuffers::Offset< KeyValue > CreateKeyValue (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > key=0, flatbuffers::Offset< flatbuffers::String > value=0)
 
flatbuffers::Offset< KeyValue > CreateKeyValueDirect (flatbuffers::FlatBufferBuilder &_fbb, const char *key=nullptr, const char *value=nullptr)
 
flatbuffers::Offset< StatusChangeLog > CreateStatusChangeLog (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< BehaviorTree > behavior_tree=0, flatbuffers::Offset< flatbuffers::Vector< const StatusChange * >> state_changes=0)
 
flatbuffers::Offset< StatusChangeLog > CreateStatusChangeLogDirect (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< BehaviorTree > behavior_tree=0, const std::vector< StatusChange > *state_changes=nullptr)
 
flatbuffers::Offset< TreeNode > CreateTreeNode (flatbuffers::FlatBufferBuilder &_fbb, uint16_t uid=0, flatbuffers::Offset< flatbuffers::Vector< uint16_t >> children_uid=0, Type type=Type::UNDEFINED, Status status=Status::IDLE, flatbuffers::Offset< flatbuffers::String > instance_name=0, flatbuffers::Offset< flatbuffers::String > registration_name=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< KeyValue >>> params=0)
 
flatbuffers::Offset< TreeNode > CreateTreeNodeDirect (flatbuffers::FlatBufferBuilder &_fbb, uint16_t uid=0, const std::vector< uint16_t > *children_uid=nullptr, Type type=Type::UNDEFINED, Status status=Status::IDLE, const char *instance_name=nullptr, const char *registration_name=nullptr, const std::vector< flatbuffers::Offset< KeyValue >> *params=nullptr)
 
const char *const * EnumNamesStatus ()
 
const char * EnumNameStatus (Status e)
 
const char *const * EnumNamesType ()
 
const char * EnumNameType (Type e)
 
const Status(& EnumValuesStatus ())[4]
 
const Type(& EnumValuesType ())[6]
 
void FinishBehaviorTreeBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< BT_Serialization::BehaviorTree > root)
 
void FinishSizePrefixedBehaviorTreeBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< BT_Serialization::BehaviorTree > root)
 
 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT (8) Timestamp FLATBUFFERS_FINAL_CLASS
 
 FLATBUFFERS_STRUCT_END (Timestamp, 8)
 
 FLATBUFFERS_STRUCT_END (StatusChange, 16)
 
const BT_Serialization::BehaviorTree * GetBehaviorTree (const void *buf)
 
const BT_Serialization::BehaviorTree * GetSizePrefixedBehaviorTree (const void *buf)
 
bool VerifyBehaviorTreeBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedBehaviorTreeBuffer (flatbuffers::Verifier &verifier)
 

Enumeration Type Documentation

enum BT_Serialization::Status : int8_t
strong
Enumerator
IDLE 
RUNNING 
SUCCESS 
FAILURE 
MIN 
MAX 

Definition at line 22 of file BT_logger_generated.h.

enum BT_Serialization::Type : int8_t
strong
Enumerator
UNDEFINED 
ACTION 
CONDITION 
CONTROL 
DECORATOR 
SUBTREE 
MIN 
MAX 

Definition at line 51 of file BT_logger_generated.h.

Function Documentation

flatbuffers::Offset<BehaviorTree> BT_Serialization::CreateBehaviorTree ( flatbuffers::FlatBufferBuilder _fbb,
uint16_t  root_uid = 0,
flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< TreeNode >>>  nodes = 0 
)
inline

Definition at line 394 of file BT_logger_generated.h.

flatbuffers::Offset<BehaviorTree> BT_Serialization::CreateBehaviorTreeDirect ( flatbuffers::FlatBufferBuilder _fbb,
uint16_t  root_uid = 0,
const std::vector< flatbuffers::Offset< TreeNode >> *  nodes = nullptr 
)
inline

Definition at line 405 of file BT_logger_generated.h.

flatbuffers::Offset<KeyValue> BT_Serialization::CreateKeyValue ( flatbuffers::FlatBufferBuilder _fbb,
flatbuffers::Offset< flatbuffers::String key = 0,
flatbuffers::Offset< flatbuffers::String value = 0 
)
inline

Definition at line 194 of file BT_logger_generated.h.

flatbuffers::Offset<KeyValue> BT_Serialization::CreateKeyValueDirect ( flatbuffers::FlatBufferBuilder _fbb,
const char *  key = nullptr,
const char *  value = nullptr 
)
inline

Definition at line 204 of file BT_logger_generated.h.

flatbuffers::Offset<StatusChangeLog> BT_Serialization::CreateStatusChangeLog ( flatbuffers::FlatBufferBuilder _fbb,
flatbuffers::Offset< BehaviorTree >  behavior_tree = 0,
flatbuffers::Offset< flatbuffers::Vector< const StatusChange * >>  state_changes = 0 
)
inline

Definition at line 461 of file BT_logger_generated.h.

flatbuffers::Offset<StatusChangeLog> BT_Serialization::CreateStatusChangeLogDirect ( flatbuffers::FlatBufferBuilder _fbb,
flatbuffers::Offset< BehaviorTree >  behavior_tree = 0,
const std::vector< StatusChange > *  state_changes = nullptr 
)
inline

Definition at line 471 of file BT_logger_generated.h.

flatbuffers::Offset<TreeNode> BT_Serialization::CreateTreeNode ( flatbuffers::FlatBufferBuilder _fbb,
uint16_t  uid = 0,
flatbuffers::Offset< flatbuffers::Vector< uint16_t >>  children_uid = 0,
Type  type = Type::UNDEFINED,
Status  status = Status::IDLE,
flatbuffers::Offset< flatbuffers::String instance_name = 0,
flatbuffers::Offset< flatbuffers::String registration_name = 0,
flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< KeyValue >>>  params = 0 
)
inline

Definition at line 314 of file BT_logger_generated.h.

flatbuffers::Offset<TreeNode> BT_Serialization::CreateTreeNodeDirect ( flatbuffers::FlatBufferBuilder _fbb,
uint16_t  uid = 0,
const std::vector< uint16_t > *  children_uid = nullptr,
Type  type = Type::UNDEFINED,
Status  status = Status::IDLE,
const char *  instance_name = nullptr,
const char *  registration_name = nullptr,
const std::vector< flatbuffers::Offset< KeyValue >> *  params = nullptr 
)
inline

Definition at line 333 of file BT_logger_generated.h.

const char* const* BT_Serialization::EnumNamesStatus ( )
inline

Definition at line 39 of file BT_logger_generated.h.

const char* BT_Serialization::EnumNameStatus ( Status  e)
inline

Definition at line 45 of file BT_logger_generated.h.

const char* const* BT_Serialization::EnumNamesType ( )
inline

Definition at line 70 of file BT_logger_generated.h.

const char* BT_Serialization::EnumNameType ( Type  e)
inline

Definition at line 77 of file BT_logger_generated.h.

const Status(& BT_Serialization::EnumValuesStatus ( ) )[4]
inline

Definition at line 32 of file BT_logger_generated.h.

const Type(& BT_Serialization::EnumValuesType ( ) )[6]
inline

Definition at line 63 of file BT_logger_generated.h.

void BT_Serialization::FinishBehaviorTreeBuffer ( flatbuffers::FlatBufferBuilder fbb,
flatbuffers::Offset< BT_Serialization::BehaviorTree >  root 
)
inline

Definition at line 500 of file BT_logger_generated.h.

void BT_Serialization::FinishSizePrefixedBehaviorTreeBuffer ( flatbuffers::FlatBufferBuilder fbb,
flatbuffers::Offset< BT_Serialization::BehaviorTree >  root 
)
inline

Definition at line 506 of file BT_logger_generated.h.

BT_Serialization::FLATBUFFERS_MANUALLY_ALIGNED_STRUCT ( )

Definition at line 83 of file BT_logger_generated.h.

BT_Serialization::FLATBUFFERS_STRUCT_END ( Timestamp  ,
 
)
BT_Serialization::FLATBUFFERS_STRUCT_END ( StatusChange  ,
16   
)
const BT_Serialization::BehaviorTree* BT_Serialization::GetBehaviorTree ( const void *  buf)
inline

Definition at line 480 of file BT_logger_generated.h.

const BT_Serialization::BehaviorTree* BT_Serialization::GetSizePrefixedBehaviorTree ( const void *  buf)
inline

Definition at line 485 of file BT_logger_generated.h.

bool BT_Serialization::VerifyBehaviorTreeBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 490 of file BT_logger_generated.h.

bool BT_Serialization::VerifySizePrefixedBehaviorTreeBuffer ( flatbuffers::Verifier &  verifier)
inline

Definition at line 495 of file BT_logger_generated.h.



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