Commander-API  V2.1.0
Simple Command Parser
Loading...
Searching...
No Matches
Commander::API_t Struct Reference

Structure for command data. More...

#include <Commander-API.hpp>

Collaboration diagram for Commander::API_t:
[legend]

Public Attributes

uint16_t place
 
struct API_tleft
 
struct API_tright
 
const char * name
 
const char * desc
 
void(* func )(char *, Stream *response)
 
__FlashStringHelper * name_P
 
__FlashStringHelper * desc_P
 

Detailed Description

Structure for command data.

Every command will get a structure like this. This structure is used to store your commands in a balanced binary tree.

Definition at line 109 of file Commander-API.hpp.

Member Data Documentation

◆ desc

const char* Commander::API_t::desc

Definition at line 115 of file Commander-API.hpp.

◆ desc_P

__FlashStringHelper* Commander::API_t::desc_P

Definition at line 121 of file Commander-API.hpp.

◆ func

void(* Commander::API_t::func) (char *, Stream *response)

Definition at line 117 of file Commander-API.hpp.

◆ left

struct API_t* Commander::API_t::left

Definition at line 112 of file Commander-API.hpp.

◆ name

const char* Commander::API_t::name

Definition at line 114 of file Commander-API.hpp.

◆ name_P

__FlashStringHelper* Commander::API_t::name_P

Definition at line 120 of file Commander-API.hpp.

◆ place

uint16_t Commander::API_t::place

Definition at line 111 of file Commander-API.hpp.

◆ right

struct API_t* Commander::API_t::right

Definition at line 113 of file Commander-API.hpp.