#include <ddgparam.h>
Class diagram for ddgParamSet:
Public Members | |||
![]() | ![]() | void | add ( ddgParam *p ) |
![]() | ![]() | Add a parameter to the set. | |
![]() | ![]() | ddgParam* | find (unsigned char k, int sk ) |
![]() | ![]() | Find the param which is associated with character k or key sk. | |
![]() | ![]() | float | get (unsigned char k ) |
![]() | ![]() | Search for parameter k. | |
![]() | ![]() | void | report (void) |
![]() | ![]() | void | help (void) |
![]() | ![]() | Print a nice list of commands. | |
![]() | ![]() | bool | key (unsigned char key, int x, int y, int sk = 0 ) |
![]() | ![]() | Process a key event to update the approriate param. | |
![]() | ![]() | void | append ( ddgParamSet *ps ) |
![]() | ![]() | Entries are added at the front of the list. |
Note no checking is done for duplicate ddgParams (ie they have the same key). The first one found is always returned.