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

# elektro.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      PIN.H                                           (c)     YoY'01                                          WEB: www.aestesis.org
    00005 //
    00008 #ifndef                                                 _ELEKTRO_H_
    00009 #define                                                 _ELEKTRO_H_
    00012 #include                                                <stdio.h>
    00013 #include                                                <interface.h>
    00014 #include                                                "table.h"
    00015 #include                                                "pattern.h"
    00016 #include                                                "effect.h"
    00017 #include                                                "transition.h"
    00018 #include                                                "pin.h"
    00019 #include                                                "connect.h"
    00020 #include                                                "simple.h"
    00021 #include                                                "sample.h"
    00022 #include                                                "video.h"
    00023 #include                                                "control.h"
    00024 #include                                                "paddle.h"
    00025 #include                                                "select.h"
    00026 #include                                                "selcolor.h"
    00027 #include                                                "slider.h"
    00028 #include                                                "ctrlButton.h"
    00031
    00032 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...
    00033
    00036
    00037
    00038 //                                                              Atable                                                  0x00000000
    00039 //                                                              AtableFront                                             0x00000010
    00040 //                                                              AtableBack                                              0x00000020
    00041
    00042 //                                                              Apattern                                                0x00000100
    00043 //                                                              Atrack                                                  0x00000110
    00044
    00045 //                                                              Aeffect                                                 0x00009000
    00046 //                                                              AeffectInfo                                             0x00009001
    00047 //                                                              AeffectFront                                    0x00009005
    00048 //                                                              AeffectBack                                             0x00009006
    00049
    00050 //                                                              Atransition                                             0x00009010
    00051 //                                                              AtransitionInfo                                 0x00009011
    00052
    00053
    00054 //                                                              Apin                                                    0x00010020
    00055 //                                                              Aconnect                                                0x00010030
    00056
    00057 //                                                              Acontrol                                                0x00010040
    00058 //                                                              Amapping                                                0x00010041
    00059 //                                                              Apaddle                                                 0x00010050
    00060 //                                                              Aselect                                                 0x00010060
    00061 //                                                              Aselcolor                                               0x00010070
    00062 //                                                              Aslider                                                 0x00010080
    00063 //                                                              ActrlButton                                             0x00010090
    00064
    00065 //                                                              Asimple                                                 0x00012000
    00066 //                                                              Asample                                                 0x00012010
    00067 //                                                              Avideo                                                  0x00012020
    00068
    00069 #define                                                 guidSIMPLES                                             GUID(0xE4EC7600, 0x10000000)
    00070
    00071 #define                                                 guidBYTE                                                (guidSIMPLES+1)                                 // unsigned byte
    00072 #define                                                 guidWORD                                                (guidBYTE+1)                                    // unsigned word
    00073 #define                                                 guidDWORD                                               (guidWORD+1)                                    // unsigned dword
    00074 #define                                                 guidQWORD                                               (guidDWORD+1)                                   // unsigned qword
    00075
    00076 #define                                                 guidSBYTE                                               (guidQWORD+1)                                   // signed byte
    00077 #define                                                 guidSWORD                                               (guidSBYTE+1)                                   // signed word
    00078 #define                                                 guidSDWORD                                              (guidSWORD+1)                                   // signed dword
    00079 #define                                                 guidSQWORD                                              (guidSDWORD+1)                                  // signed qword
    00080
    00081 #define                                                 guidFLOAT                                               (guidSQWORD+1)                                  // float        range [0..1]
    00082 #define                                                 guidDOUBLE                                              (guidFLOAT+1)                                   // double       range [0..1]
    00083
    00084 #define                                                 guidSFLOAT                                              (guidDOUBLE+1)                                  // sfloat       range [-1..1]
    00085 #define                                                 guidSDOUBLE                                             (guidSFLOAT+1)                                  // sdouble      range [-1..1]
    00086
    00087 #define                                                 guidSTRING128                                   (guidSQWORD+1)                                  // string 128
    00088 #define                                                 guidSTRING256                                   (guidSTRING128+1)                               // string 256
    00089 #define                                                 guidSTRINGP                                             (guidSTRING256+1)                               // string with allocation
    00090
    00091 #define                                                 guidLASTSIMPLE                                  (guidSTRINGP+1)
    00092
    00095
    00096 enum
    00097 {
    00098                                                                 contextADDEFFECT                                = contextELEKTRO,
    00099                                                                 contextLASTEFFECT                               = contextADDEFFECT+256,
    00100                                                                 contextDELEFFECT,
    00101                                                                 contextMAPPING,
    00102                                                                 contextADDTRACK,
    00103                                                                 contextDELTRACK
    00104 };
    00105
    00108 #endif