Generator class public functions
Additional functions inherited from
Signal.
- Generator(void);
- Sets the name of the object to "Generator".
- ~Generator();
- Does nothing.
- void printConnections(int flag);
- Used as a terminator for recursive printConnection() for
Filters. If flag is 2 or 3, then the printState function will be
called.
- void printState(void);
- Does nothing. Can be defined in derived classes to print
important information about the object.
- void tick(int newTickNumber);
- If newTickNumber is different than the last tick number, then
action() will be called and a new sample will be calculated;
otherwise, nothing happens.