Main Page Class Hierarchy Compound List File List Compound Members File Members

# simple.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      SIMPLE.H                                        (c)     YoY'00                                          WEB: www.aestesis.org
    00005 //
    00008 #ifndef                                                 _SIMPLE_H_
    00009 #define                                                 _SIMPLE_H_
    00012 #include                                                "elektrodef.h"
    00013 #include                                                "pin.h"
    00016
    00017 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...
    00018
    00021
    00022 #define                                                 guidSIMPLE                                              (Asimple::CI.guid)
    00023
    00026
    00028 class Asimple : public Apin
    00029 {
    00030 public:
    00031         ELIBOBJ
    00032
    00033         EDLL                                            Asimple                                                 (char *name, AeffectBack *father, int type, qword guidtype, int x, int y);
    00034
    00035         qword                                           guidtype;
    00036 };
    00037
    00040
    00041 class AsimpleData
    00042 {
    00043 public:
    00044         class AsimpleData                       *next;
    00045         class AsimpleData                       *previous;
    00046         class Asimple                           *pin;
    00047         dword                                           time;
    00048
    00049         union
    00050         {
    00051                         byte                            b;
    00052                         word                            w;
    00053                         dword                           d;
    00054                         qword                           q;
    00055                         sbyte                           sb;
    00056                         sword                           sw;
    00057                         sdword                          sd;
    00058                         sqword                          sq;
    00059                         float                           f;
    00060                         double                          fd;
    00061         };
    00062
    00063         EDLL void                                       get(byte *b);
    00064         EDLL void                                       get(word *w);
    00065         EDLL void                                       get(dword *d);
    00066         EDLL void                                       get(qword *q);
    00067         EDLL void                                       get(sbyte *sb);
    00068         EDLL void                                       get(sword *sw);
    00069         EDLL void                                       get(sdword *sd);
    00070         EDLL void                                       get(sqword *sq);
    00071         EDLL void                                       get(float *f);
    00072         EDLL void                                       get(double *fd);
    00073 };
    00074
    00077
    00080 #endif                                                  //_SIMPLE_H_