|
Namespaces |
namespace | std |
namespace | ProjectInterface |
Functions |
BehaviorBase & | ProjectInterface::startupBehavior () |
| REQUIRED: you must define a behavior which will be started when the boot is complete.
|
void(*) | ProjectInterface::sendCommand (const std::string &cmd) |
| sends a command to the project, allows GUI elements of the framework to send commands to the hardware abstraction layer
|
bool(*) | ProjectInterface::uncaughtException (const char *file, int line, const char *message, const std::exception *ex) |
| The exception handler for exceptions which have fallen through to base Tekkotsu functions.
|
bool | ProjectInterface::displayException (const char *file, int line, const char *message, const std::exception *ex) |
| Displays information about an exception on serr, provides a default value for uncaughtException.
|
color_index(*) | ProjectInterface::lookupColorIndexByName (const std::string &name) |
| allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
color_index(*) | ProjectInterface::lookupColorIndexByRgb (const rgb rgbval) |
| allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
rgb(*) | ProjectInterface::lookupColorRGB (color_index cindex) |
| allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
const char *(*) | ProjectInterface::lookupColorName (color_index cindex) |
| allows you to override how colors are defined -- by default, this will be set to a function which passes the call to defSegmentedColorGenerator
|
color_index | ProjectInterface::getColorIndex (const std::string &name) |
| Returns the index corresponding to a color of specified name by calling lookupColorIndexByName().
|
color_index | ProjectInterface::getColorIndex (const rgb rgbval) |
| Returns the index corresponding to an rgb value by calling lookupColorIndexByRgb().
|
rgb | ProjectInterface::getColorRGB (const std::string &name) |
| Returns rgb value corresponding to a color of specified name by calling lookupColorRGB(lookupColorIndexByName()).
|
rgb | ProjectInterface::getColorRGB (color_index cindex) |
| Returns rgb value corresponding to a color of specified name by calling lookupColorRGB().
|
const char * | ProjectInterface::getColorName (color_index cindex) |
| Returns color name corresponding to specified color index by calling lookupColorName().
|
unsigned int(*) | ProjectInterface::lookupNumColors () |
unsigned int | ProjectInterface::getNumColors () |
| Returns the number of colors, obtained from defSegmentedColorGenerator.
|