26#ifndef PART_VCD_DUMP_H
27#define PART_VCD_DUMP_H
29#include "../lib/part.h"
31#define PART_VCD_DUMP_Name "VCD Dump"
35 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
36 cpart_VCD_Dump(
const unsigned x,
const unsigned y,
const char* name,
const char* type,
board* pboard_,
39 void DrawOutput(
const unsigned int index)
override;
43 void OnMouseButtonPress(
unsigned int inputId,
unsigned int button,
unsigned int x,
unsigned int y,
44 unsigned int state)
override;
49 unsigned short GetInputId(
char* name)
override;
54 unsigned char input_pins[8];
55 unsigned char old_value_pins[8];
58 unsigned long vcd_count;
Board class.
Definition board.h:111
Definition virtual_VCD_Dump.h:33
void RegisterRemoteControl(void) override
Register remote control variables.
Definition virtual_VCD_Dump.cc:92
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition virtual_VCD_Dump.cc:233
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition virtual_VCD_Dump.cc:189
void OnMouseButtonPress(unsigned int inputId, unsigned int button, unsigned int x, unsigned int y, unsigned int state) override
Event handler on the part.
Definition virtual_VCD_Dump.cc:363
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition virtual_VCD_Dump.cc:179
void Process(void) override
Called every CPU step.
Definition virtual_VCD_Dump.cc:329
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition virtual_VCD_Dump.cc:247
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition virtual_VCD_Dump.cc:109
void PostProcess(void) override
Called every end of CPU process.
Definition virtual_VCD_Dump.cc:352
void PreProcess(void) override
Called every start of CPU process.
Definition virtual_VCD_Dump.cc:269
std::string GetAboutInfo(void) override
Return the about information of part.
Definition virtual_VCD_Dump.h:35
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition virtual_VCD_Dump.cc:242
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition virtual_VCD_Dump.cc:258
PART class.
Definition part.h:49