26#ifndef PART_RTC_PFC8563_H
27#define PART_RTC_PFC8563_H
29#include "../devices/rtc_pfc8563.h"
30#include "../lib/part.h"
32#define PART_RTC_PFC8563_Name "RTC pfc8563"
36 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
40 void DrawOutput(
const unsigned int index)
override;
44 std::string
GetMapFile(
void)
override {
return "../Common/IC8.map"; };
49 unsigned short GetInputId(
char* name)
override;
53 unsigned char input_pins[4];
Board class.
Definition board.h:111
Definition other_RTC_pfc8563.h:34
std::string GetPictureFileName(void) override
Return the filename of part picture.
Definition other_RTC_pfc8563.h:43
void PreProcess(void) override
Called every start of CPU process.
Definition other_RTC_pfc8563.cc:163
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition other_RTC_pfc8563.cc:136
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition other_RTC_pfc8563.cc:156
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition other_RTC_pfc8563.cc:65
void Process(void) override
Called every CPU step.
Definition other_RTC_pfc8563.cc:169
std::string GetAboutInfo(void) override
Return the about information of part.
Definition other_RTC_pfc8563.h:36
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition other_RTC_pfc8563.cc:144
std::string GetMapFile(void) override
Return the filename of part picture map.
Definition other_RTC_pfc8563.h:44
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition other_RTC_pfc8563.cc:106
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition other_RTC_pfc8563.cc:149
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition other_RTC_pfc8563.cc:111
PART class.
Definition part.h:49
Definition rtc_pfc8563.h:29