Kaleidoscope
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
kaleidoscope::Focus Class Reference

#include <Focus.h>

Inheritance diagram for kaleidoscope::Focus:
Inheritance graph
[legend]
Collaboration diagram for kaleidoscope::Focus:
Collaboration graph
[legend]

Classes

struct  HookNode
 

Public Types

typedef bool(* Hook) (const char *command)
 
typedef struct kaleidoscope::Focus::HookNode HookNode
 

Public Member Functions

 Focus (void)
 
void begin (void) final
 

Static Public Member Functions

static void addHook (HookNode *new_node)
 
static void printNumber (uint16_t number)
 
static void printSpace (void)
 
static void printColor (uint8_t r, uint8_t g, uint8_t b)
 
static void printSeparator (void)
 
static void printBool (bool b)
 
static bool helpHook (const char *command)
 
static bool versionHook (const char *command)
 

Member Typedef Documentation

◆ Hook

typedef bool(* kaleidoscope::Focus::Hook) (const char *command)

◆ HookNode

Constructor & Destructor Documentation

◆ Focus()

kaleidoscope::Focus::Focus ( void  )

Member Function Documentation

◆ addHook()

void kaleidoscope::Focus::addHook ( HookNode new_node)
static

◆ begin()

void kaleidoscope::Focus::begin ( void  )
finalvirtual

Implements KaleidoscopePlugin.

◆ helpHook()

bool kaleidoscope::Focus::helpHook ( const char *  command)
static

◆ printBool()

void kaleidoscope::Focus::printBool ( bool  b)
static

◆ printColor()

void kaleidoscope::Focus::printColor ( uint8_t  r,
uint8_t  g,
uint8_t  b 
)
static

◆ printNumber()

void kaleidoscope::Focus::printNumber ( uint16_t  number)
static

◆ printSeparator()

void kaleidoscope::Focus::printSeparator ( void  )
static

◆ printSpace()

void kaleidoscope::Focus::printSpace ( void  )
static

◆ versionHook()

bool kaleidoscope::Focus::versionHook ( const char *  command)
static

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