Classes | Enumerations | Functions
Serialization Namespace Reference

Classes

struct  BehaviorTreeBuilder
 
struct  FLATBUFFERS_FINAL_CLASS
 
struct  NodeModelBuilder
 
struct  PortConfigBuilder
 
struct  PortModelBuilder
 
struct  StatusChangeLogBuilder
 
struct  TreeNodeBuilder
 

Enumerations

enum  NodeStatus : int8_t {
  NodeStatus::IDLE = 0, NodeStatus::RUNNING = 1, NodeStatus::SUCCESS = 2, NodeStatus::FAILURE = 3,
  NodeStatus::MIN = IDLE, NodeStatus::MAX = FAILURE
}
 
enum  NodeType : int8_t {
  NodeType::UNDEFINED = 0, NodeType::ACTION = 1, NodeType::CONDITION = 2, NodeType::CONTROL = 3,
  NodeType::DECORATOR = 4, NodeType::SUBTREE = 5, NodeType::MIN = UNDEFINED, NodeType::MAX = SUBTREE
}
 
enum  PortDirection : int8_t {
  PortDirection::INPUT = 0, PortDirection::OUTPUT = 1, PortDirection::INOUT = 2, PortDirection::MIN = INPUT,
  PortDirection::MAX = INOUT
}
 

Functions

flatbuffers::Offset< BehaviorTree > CreateBehaviorTree (flatbuffers::FlatBufferBuilder &_fbb, uint16_t root_uid=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< TreeNode >>> nodes=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< NodeModel >>> node_models=0)
 
flatbuffers::Offset< BehaviorTree > CreateBehaviorTreeDirect (flatbuffers::FlatBufferBuilder &_fbb, uint16_t root_uid=0, const std::vector< flatbuffers::Offset< TreeNode >> *nodes=nullptr, const std::vector< flatbuffers::Offset< NodeModel >> *node_models=nullptr)
 
flatbuffers::Offset< NodeModel > CreateNodeModel (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > registration_name=0, NodeType type=NodeType::UNDEFINED, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< PortModel >>> ports=0)
 
flatbuffers::Offset< NodeModel > CreateNodeModelDirect (flatbuffers::FlatBufferBuilder &_fbb, const char *registration_name=nullptr, NodeType type=NodeType::UNDEFINED, const std::vector< flatbuffers::Offset< PortModel >> *ports=nullptr)
 
flatbuffers::Offset< PortConfig > CreatePortConfig (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > port_name=0, flatbuffers::Offset< flatbuffers::String > remap=0)
 
flatbuffers::Offset< PortConfig > CreatePortConfigDirect (flatbuffers::FlatBufferBuilder &_fbb, const char *port_name=nullptr, const char *remap=nullptr)
 
flatbuffers::Offset< PortModel > CreatePortModel (flatbuffers::FlatBufferBuilder &_fbb, flatbuffers::Offset< flatbuffers::String > port_name=0, PortDirection direction=PortDirection::INPUT, flatbuffers::Offset< flatbuffers::String > type_info=0, flatbuffers::Offset< flatbuffers::String > description=0)
 
flatbuffers::Offset< PortModel > CreatePortModelDirect (flatbuffers::FlatBufferBuilder &_fbb, const char *port_name=nullptr, PortDirection direction=PortDirection::INPUT, const char *type_info=nullptr, const char *description=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, NodeStatus status=NodeStatus::IDLE, flatbuffers::Offset< flatbuffers::String > instance_name=0, flatbuffers::Offset< flatbuffers::String > registration_name=0, flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< PortConfig >>> port_remaps=0)
 
flatbuffers::Offset< TreeNode > CreateTreeNodeDirect (flatbuffers::FlatBufferBuilder &_fbb, uint16_t uid=0, const std::vector< uint16_t > *children_uid=nullptr, NodeStatus status=NodeStatus::IDLE, const char *instance_name=nullptr, const char *registration_name=nullptr, const std::vector< flatbuffers::Offset< PortConfig >> *port_remaps=nullptr)
 
const char * EnumNameNodeStatus (NodeStatus e)
 
const char * EnumNameNodeType (NodeType e)
 
const char * EnumNamePortDirection (PortDirection e)
 
const char *const * EnumNamesNodeStatus ()
 
const char *const * EnumNamesNodeType ()
 
const char *const * EnumNamesPortDirection ()
 
const NodeStatus(& EnumValuesNodeStatus ())[4]
 
const NodeType(& EnumValuesNodeType ())[6]
 
const PortDirection(& EnumValuesPortDirection ())[3]
 
void FinishBehaviorTreeBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< Serialization::BehaviorTree > root)
 
void FinishSizePrefixedBehaviorTreeBuffer (flatbuffers::FlatBufferBuilder &fbb, flatbuffers::Offset< Serialization::BehaviorTree > root)
 
 FLATBUFFERS_MANUALLY_ALIGNED_STRUCT (8) Timestamp FLATBUFFERS_FINAL_CLASS
 
 FLATBUFFERS_STRUCT_END (Timestamp, 8)
 
 FLATBUFFERS_STRUCT_END (StatusChange, 16)
 
const Serialization::BehaviorTree * GetBehaviorTree (const void *buf)
 
const Serialization::BehaviorTree * GetSizePrefixedBehaviorTree (const void *buf)
 
bool VerifyBehaviorTreeBuffer (flatbuffers::Verifier &verifier)
 
bool VerifySizePrefixedBehaviorTreeBuffer (flatbuffers::Verifier &verifier)
 

Enumeration Type Documentation

enum Serialization::NodeStatus : int8_t
strong
Enumerator
IDLE 
RUNNING 
SUCCESS 
FAILURE 
MIN 
MAX 

Definition at line 27 of file BT_logger_generated.h.

enum Serialization::NodeType : int8_t
strong
Enumerator
UNDEFINED 
ACTION 
CONDITION 
CONTROL 
DECORATOR 
SUBTREE 
MIN 
MAX 

Definition at line 63 of file BT_logger_generated.h.

enum Serialization::PortDirection : int8_t
strong
Enumerator
INPUT 
OUTPUT 
INOUT 
MIN 
MAX 

Definition at line 105 of file BT_logger_generated.h.

Function Documentation

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

Definition at line 593 of file BT_logger_generated.h.

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

Definition at line 605 of file BT_logger_generated.h.

flatbuffers::Offset<NodeModel> Serialization::CreateNodeModel ( flatbuffers::FlatBufferBuilder _fbb,
flatbuffers::Offset< flatbuffers::String registration_name = 0,
NodeType  type = NodeType::UNDEFINED,
flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< PortModel >>>  ports = 0 
)
inline

Definition at line 515 of file BT_logger_generated.h.

flatbuffers::Offset<NodeModel> Serialization::CreateNodeModelDirect ( flatbuffers::FlatBufferBuilder _fbb,
const char *  registration_name = nullptr,
NodeType  type = NodeType::UNDEFINED,
const std::vector< flatbuffers::Offset< PortModel >> *  ports = nullptr 
)
inline

Definition at line 527 of file BT_logger_generated.h.

flatbuffers::Offset<PortConfig> Serialization::CreatePortConfig ( flatbuffers::FlatBufferBuilder _fbb,
flatbuffers::Offset< flatbuffers::String port_name = 0,
flatbuffers::Offset< flatbuffers::String remap = 0 
)
inline

Definition at line 322 of file BT_logger_generated.h.

flatbuffers::Offset<PortConfig> Serialization::CreatePortConfigDirect ( flatbuffers::FlatBufferBuilder _fbb,
const char *  port_name = nullptr,
const char *  remap = nullptr 
)
inline

Definition at line 332 of file BT_logger_generated.h.

flatbuffers::Offset<PortModel> Serialization::CreatePortModel ( flatbuffers::FlatBufferBuilder _fbb,
flatbuffers::Offset< flatbuffers::String port_name = 0,
PortDirection  direction = PortDirection::INPUT,
flatbuffers::Offset< flatbuffers::String type_info = 0,
flatbuffers::Offset< flatbuffers::String description = 0 
)
inline

Definition at line 249 of file BT_logger_generated.h.

flatbuffers::Offset<PortModel> Serialization::CreatePortModelDirect ( flatbuffers::FlatBufferBuilder _fbb,
const char *  port_name = nullptr,
PortDirection  direction = PortDirection::INPUT,
const char *  type_info = nullptr,
const char *  description = nullptr 
)
inline

Definition at line 263 of file BT_logger_generated.h.

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

Definition at line 661 of file BT_logger_generated.h.

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

Definition at line 671 of file BT_logger_generated.h.

flatbuffers::Offset<TreeNode> Serialization::CreateTreeNode ( flatbuffers::FlatBufferBuilder _fbb,
uint16_t  uid = 0,
flatbuffers::Offset< flatbuffers::Vector< uint16_t >>  children_uid = 0,
NodeStatus  status = NodeStatus::IDLE,
flatbuffers::Offset< flatbuffers::String instance_name = 0,
flatbuffers::Offset< flatbuffers::String registration_name = 0,
flatbuffers::Offset< flatbuffers::Vector< flatbuffers::Offset< PortConfig >>>  port_remaps = 0 
)
inline

Definition at line 423 of file BT_logger_generated.h.

flatbuffers::Offset<TreeNode> Serialization::CreateTreeNodeDirect ( flatbuffers::FlatBufferBuilder _fbb,
uint16_t  uid = 0,
const std::vector< uint16_t > *  children_uid = nullptr,
NodeStatus  status = NodeStatus::IDLE,
const char *  instance_name = nullptr,
const char *  registration_name = nullptr,
const std::vector< flatbuffers::Offset< PortConfig >> *  port_remaps = nullptr 
)
inline

Definition at line 441 of file BT_logger_generated.h.

const char* Serialization::EnumNameNodeStatus ( NodeStatus  e)
inline

Definition at line 57 of file BT_logger_generated.h.

const char* Serialization::EnumNameNodeType ( NodeType  e)
inline

Definition at line 99 of file BT_logger_generated.h.

const char* Serialization::EnumNamePortDirection ( PortDirection  e)
inline

Definition at line 132 of file BT_logger_generated.h.

const char* const* Serialization::EnumNamesNodeStatus ( )
inline

Definition at line 46 of file BT_logger_generated.h.

const char* const* Serialization::EnumNamesNodeType ( )
inline

Definition at line 86 of file BT_logger_generated.h.

const char* const* Serialization::EnumNamesPortDirection ( )
inline

Definition at line 122 of file BT_logger_generated.h.

const NodeStatus(& Serialization::EnumValuesNodeStatus ( ) )[4]
inline

Definition at line 36 of file BT_logger_generated.h.

const NodeType(& Serialization::EnumValuesNodeType ( ) )[6]
inline

Definition at line 74 of file BT_logger_generated.h.

const PortDirection(& Serialization::EnumValuesPortDirection ( ) )[3]
inline

Definition at line 113 of file BT_logger_generated.h.

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

Definition at line 700 of file BT_logger_generated.h.

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

Definition at line 706 of file BT_logger_generated.h.

Serialization::FLATBUFFERS_MANUALLY_ALIGNED_STRUCT ( )

Definition at line 138 of file BT_logger_generated.h.

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

Definition at line 682 of file BT_logger_generated.h.

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

Definition at line 686 of file BT_logger_generated.h.

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

Definition at line 690 of file BT_logger_generated.h.

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

Definition at line 695 of file BT_logger_generated.h.



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