26#ifndef PART_RTC_DS1307_H
27#define PART_RTC_DS1307_H
29#include "../devices/rtc_ds1307.h"
30#include "../lib/part.h"
32#define PART_RTC_DS1307_Name "RTC ds1307"
36 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
37 cpart_RTC_ds1307(
const unsigned x,
const unsigned y,
const char* name,
const char* type,
board* pboard_,
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[3];
Board class.
Definition board.h:111
Definition other_RTC_ds1307.h:34
std::string GetPictureFileName(void) override
Return the filename of part picture.
Definition other_RTC_ds1307.h:43
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition other_RTC_ds1307.cc:146
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition other_RTC_ds1307.cc:103
std::string GetMapFile(void) override
Return the filename of part picture map.
Definition other_RTC_ds1307.h:44
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition other_RTC_ds1307.cc:108
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition other_RTC_ds1307.cc:152
void Process(void) override
Called every CPU step.
Definition other_RTC_ds1307.cc:164
std::string GetAboutInfo(void) override
Return the about information of part.
Definition other_RTC_ds1307.h:36
void PreProcess(void) override
Called every start of CPU process.
Definition other_RTC_ds1307.cc:158
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition other_RTC_ds1307.cc:133
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition other_RTC_ds1307.cc:63
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition other_RTC_ds1307.cc:141
PART class.
Definition part.h:49
Definition rtc_ds1307.h:29