AutoAPMS
Streamlining behaviors in ROS 2
Loading...
Searching...
No Matches
TreeBasedEntryPoint Struct Reference

Decoded entry point information for low-level tree building. More...

#include <auto_apms_behavior_tree/build_handler/build_handler.hpp>

Public Member Functions

 TreeBasedEntryPoint ()=default
 Default constructor.
 
 TreeBasedEntryPoint (const std::string &encoded_str)
 Constructor that decodes the given string into the expected format.
 

Detailed Description

Decoded entry point information for low-level tree building.

The expected format of the encoded string is:

MyTreeName(var1=value1,var2=value2,...)

It follows the syntax used by a lot of programming languages for instantiating classes or calling funtions. The part before the parantheses is the tree name and the part within defines its inital blackboard. The initial blackboard values are given as comma-separated key-value pairs, where the key and value are separated by an equals sign. The value is expected to be a string that can be parsed into the respective type of the blackboard entry.

Definition at line 47 of file build_handler.hpp.

Constructor & Destructor Documentation

◆ TreeBasedEntryPoint() [1/2]

TreeBasedEntryPoint ( )
default

Default constructor.

◆ TreeBasedEntryPoint() [2/2]

TreeBasedEntryPoint ( const std::string & encoded_str)

Constructor that decodes the given string into the expected format.

Parameters
encoded_strString that encodes the entry point.

Definition at line 22 of file build_handler.cpp.


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