Commander-API V3.0.0
Lightweight 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:

Public Attributes

const char * desc
 Description of the command. More...
 
bool(* func )(char *, CommandCaller *caller)
 Function pointer to the command function. More...
 
AutoCompletehelp
 
__FlashStringHelper * desc_P
 Description of the command( stored in PROGMEM ) More...
 

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 196 of file Commander-API.hpp.

Member Data Documentation

◆ desc

const char* Commander::API_t::desc

Description of the command.

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

◆ desc_P

__FlashStringHelper* Commander::API_t::desc_P

Description of the command( stored in PROGMEM )

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

◆ func

bool(* Commander::API_t::func) (char *, CommandCaller *caller)

Function pointer to the command function.

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

◆ help

AutoComplete* Commander::API_t::help

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