26#ifndef PART_DTRANSFERF_H
27#define PART_DTRANSFERF_H
29#include "../lib/part.h"
31#define PART_DTRANSFERF_Name "D. Transfer Function"
35 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
36 cpart_dtfunc(
const unsigned x,
const unsigned y,
const char* name,
const char* type,
board* pboard_,
const int id_);
38 void DrawOutput(
const unsigned int index)
override;
41 void Reset(
void)
override;
42 void EvKeyPress(
unsigned int key,
unsigned int mask)
override;
43 void EvKeyRelease(
unsigned int key,
unsigned int mask)
override;
48 unsigned short GetInputId(
char* name)
override;
52 unsigned char pins[2];
63 long unsigned int nsamples;
Board class.
Definition board.h:111
Definition virtual_d_transfer_function.h:33
void Reset(void) override
Reset part status.
Definition virtual_d_transfer_function.cc:194
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition virtual_d_transfer_function.cc:288
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition virtual_d_transfer_function.cc:319
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition virtual_d_transfer_function.cc:249
void EvKeyRelease(unsigned int key, unsigned int mask) override
Event handler on the part.
Definition virtual_d_transfer_function.cc:220
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition virtual_d_transfer_function.cc:273
void Process(void) override
Called every CPU step.
Definition virtual_d_transfer_function.cc:161
std::string GetAboutInfo(void) override
Return the about information of part.
Definition virtual_d_transfer_function.h:35
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition virtual_d_transfer_function.cc:244
void PreProcess(void) override
Called every start of CPU process.
Definition virtual_d_transfer_function.cc:157
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition virtual_d_transfer_function.cc:282
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition virtual_d_transfer_function.cc:72
void EvKeyPress(unsigned int key, unsigned int mask) override
Event handler on the part.
Definition virtual_d_transfer_function.cc:199
PART class.
Definition part.h:49