Classes | Typedefs | Enumerations | Functions | Variables
BT::Monitor Namespace Reference

Classes

struct  Hook
 
struct  ReplyHeader
 
struct  RequestHeader
 

Typedefs

using TreeUniqueUUID = std::array< char, 16 >
 

Enumerations

enum  RequestType : uint8_t {
  FULLTREE = 'T', STATUS = 'S', BLACKBOARD = 'B', HOOK_INSERT = 'I',
  HOOK_REMOVE = 'R', BREAKPOINT_REACHED = 'N', BREAKPOINT_UNLOCK = 'U', HOOKS_DUMP = 'D',
  REMOVE_ALL_HOOKS = 'A', DISABLE_ALL_HOOKS = 'X', TOGGLE_RECORDING = 'r', GET_TRANSITIONS = 't',
  UNDEFINED = 0
}
 

Functions

template<typename T >
unsigned Deserialize (const char *buffer, unsigned offset, T &value)
 
ReplyHeader DeserializeReplyHeader (const std::string &buffer)
 
RequestHeader DeserializeRequestHeader (const std::string &buffer)
 
void from_json (const nlohmann::json &js, Hook &bp)
 
template<typename T >
unsigned Serialize (char *buffer, unsigned offset, T value)
 
std::string SerializeHeader (const ReplyHeader &header)
 
std::string SerializeHeader (const RequestHeader &header)
 
void to_json (nlohmann::json &js, const Hook &bp)
 
const char * ToString (const RequestType &type)
 

Variables

constexpr uint8_t kProtocolID = 2
 

Typedef Documentation

◆ TreeUniqueUUID

using BT::Monitor::TreeUniqueUUID = typedef std::array<char, 16>

Definition at line 98 of file groot2_protocol.h.

Enumeration Type Documentation

◆ RequestType

enum BT::Monitor::RequestType : uint8_t
Enumerator
FULLTREE 
STATUS 
BLACKBOARD 
HOOK_INSERT 
HOOK_REMOVE 
BREAKPOINT_REACHED 
BREAKPOINT_UNLOCK 
HOOKS_DUMP 
REMOVE_ALL_HOOKS 
DISABLE_ALL_HOOKS 
TOGGLE_RECORDING 
GET_TRANSITIONS 
UNDEFINED 

Definition at line 28 of file groot2_protocol.h.

Function Documentation

◆ Deserialize()

template<typename T >
unsigned BT::Monitor::Deserialize ( const char *  buffer,
unsigned  offset,
T &  value 
)
inline

Definition at line 156 of file groot2_protocol.h.

◆ DeserializeReplyHeader()

ReplyHeader BT::Monitor::DeserializeReplyHeader ( const std::string &  buffer)
inline

Definition at line 196 of file groot2_protocol.h.

◆ DeserializeRequestHeader()

RequestHeader BT::Monitor::DeserializeRequestHeader ( const std::string &  buffer)
inline

Definition at line 184 of file groot2_protocol.h.

◆ from_json()

void BT::Monitor::from_json ( const nlohmann::json js,
Hook bp 
)
inline

Definition at line 256 of file groot2_protocol.h.

◆ Serialize()

template<typename T >
unsigned BT::Monitor::Serialize ( char *  buffer,
unsigned  offset,
value 
)
inline

Definition at line 149 of file groot2_protocol.h.

◆ SerializeHeader() [1/2]

std::string BT::Monitor::SerializeHeader ( const ReplyHeader header)
inline

Definition at line 173 of file groot2_protocol.h.

◆ SerializeHeader() [2/2]

std::string BT::Monitor::SerializeHeader ( const RequestHeader header)
inline

Definition at line 162 of file groot2_protocol.h.

◆ to_json()

void BT::Monitor::to_json ( nlohmann::json js,
const Hook bp 
)
inline

Definition at line 246 of file groot2_protocol.h.

◆ ToString()

const char* BT::Monitor::ToString ( const RequestType type)
inline

Definition at line 61 of file groot2_protocol.h.

Variable Documentation

◆ kProtocolID

constexpr uint8_t BT::Monitor::kProtocolID = 2
constexpr

Definition at line 97 of file groot2_protocol.h.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09