29#include "../lib/part.h"
31#define PART_RGB_LED_Name "RGB LED"
35 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
36 cpart_rgb_led(
const unsigned x,
const unsigned y,
const char* name,
const char* type,
board* pboard_,
39 void DrawOutput(
const unsigned int index)
override;
45 unsigned short GetInputId(
char* name)
override;
51 unsigned char input_pins[3];
Board class.
Definition board.h:111
Definition output_RGB_LED.h:33
void PostProcess(void) override
Called every end of CPU process.
Definition output_RGB_LED.cc:110
std::string GetAboutInfo(void) override
Return the about information of part.
Definition output_RGB_LED.h:35
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition output_RGB_LED.cc:128
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition output_RGB_LED.cc:164
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition output_RGB_LED.cc:156
void RegisterRemoteControl(void) override
Register remote control variables.
Definition output_RGB_LED.cc:160
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition output_RGB_LED.cc:68
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition output_RGB_LED.cc:148
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition output_RGB_LED.cc:176
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition output_RGB_LED.cc:133
PART class.
Definition part.h:49