Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Data Fields | Globals | Related Pages

acq2xx_stubs.cpp

Go to the documentation of this file.
00001 #include "soapH.h"
00002 
00003 using namespace std;
00004 #include <iostream>
00005 #include <vector>
00006 
00007 #include "local.h"
00008 #include <stdio.h>
00009 #include <string.h>
00010 
00011 #define NOT_FOR_CLIENT 0
00012 
00013 
00014 
00015 
00016 
00017 void acq2xx__Transaction::exec(soap *soap)
00018 {
00019         status = run(soap);
00020         complete = 1;
00021 }
00022 
00023 int acq2xx__Transaction::run(soap *soap)
00024 {
00025         cout << "Transaction::run" << endl;
00026         return 0;
00027 }
00028 
00029 
00030 
00031 
00032 
00033 
00034 int acq2xx__TransactionList::run(soap *soap)
00035 {
00036         cout << "DONT CALL ME" << endl;
00037         return -1;
00038 }
00039 
00040 
00041 
00042 
00043 int acq2xx__ShellTransaction::run(soap *soap)
00044 {
00045         cout << "DONT CALL ME" << endl;
00046         return -1;      
00047 }
00048 
00049 
00050 /** functional API here */
00051 
00052 
00053 acq2xx__ModeSetTransaction::acq2xx__ModeSetTransaction(
00054                 enum acq2xx__MODE mode,
00055                 int prelen,
00056                 int postlen             
00057         )
00058 {
00059         this->mode =  mode;
00060         this->prelen = prelen;
00061         this->postlen = postlen;
00062 
00063         this->name = "acq2xx__ModeSetTransaction";
00064 }
00065 
00066 
00067 int acq2xx__ModeSetTransaction::run(struct soap* soap)
00068 {
00069         assert(NOT_FOR_CLIENT);
00070         return -1;
00071 }
00072 
00073 
00074 acq2xx__ClockSetTransaction::acq2xx__ClockSetTransaction(char *_command) :
00075         acq2xx__ShellTransaction(_command)
00076 {
00077 
00078 }
00079 
00080 
00081 
00082 acq2xx__InternalClockSetTransaction::acq2xx__InternalClockSetTransaction(
00083                 int hz,
00084                 int div,
00085                 enum acq2xx__DOx dox)
00086 {
00087         this->hz = hz;
00088         this->div = div;
00089         this->dox = dox;
00090 
00091         name = "acq2xx__InternalClockSetTransaction";   
00092 }
00093 
00094 int acq2xx__InternalClockSetTransaction::run(struct soap* soap)
00095 {
00096         assert(NOT_FOR_CLIENT);
00097         return -1;
00098 }
00099 
00100 acq2xx__ExternalClockSetTransaction::acq2xx__ExternalClockSetTransaction(
00101         enum acq2xx__DIx dix,
00102         int div,
00103         enum acq2xx__DOx dox
00104         )
00105 {
00106         this->dix = dix;
00107         this->div = div;
00108         this->dox = dox;
00109 
00110         this->name = "acq2xx__ExternalClockSetTransaction";
00111 }
00112 
00113 int acq2xx__ExternalClockSetTransaction::run(struct soap* soap)
00114 {
00115         assert(NOT_FOR_CLIENT);
00116         return -1;
00117 }
00118 
00119 acq2xx__SignalSetTransaction::acq2xx__SignalSetTransaction(
00120                 char *signal,
00121                 enum acq2xx__DIx dix,
00122                 enum acq2xx__EDGE edge)
00123 {
00124         this->signal = signal;
00125         this->dix = dix;
00126         this->edge = edge;
00127 
00128         this->name = "acq2xx__SignalSetTransaction";
00129 }
00130 
00131 int acq2xx__SignalSetTransaction::run(soap* soap)
00132 {
00133         assert(NOT_FOR_CLIENT);
00134         return -1;      
00135 }
00136 
00137 acq2xx__AcqControlTransaction::acq2xx__AcqControlTransaction(
00138                 acq2xx__ModeSetTransaction* modeSet,
00139                 acq2xx__ClockSetTransaction* clockSet,
00140                 acq2xx__SignalSetTransaction* trigger,
00141                 acq2xx__SignalSetTransaction* event0
00142         )
00143                 : acq2xx__TransactionList(4)
00144 {
00145         this->name = "acq2xx__AcqControlTransaction";
00146 
00147         int ix = 0;
00148 
00149         if (event0 != 0){
00150                 (*this)[ix++] = event0;
00151         }
00152         if (trigger != 0){
00153                 (*this)[ix++] = trigger;
00154         }
00155         if (clockSet != 0){
00156                 (*this)[ix++] = clockSet;
00157         }
00158 
00159         if (modeSet != 0){
00160                 (*this)[ix++] = modeSet;
00161         }
00162         __size = ix;
00163 }
00164 
00165 acq2xx__AcqControlTransaction::acq2xx__AcqControlTransaction()
00166 {
00167 }
00168 
00169 
00170 
00171 int acq2xx__GetAvailableChannelsTransaction::run(soap* soap)
00172 {
00173         assert(NOT_FOR_CLIENT);
00174         return -1;
00175 }
00176 
00177 
00178 int acq2xx__GetVRangeTransaction::run(soap* soap)
00179 {
00180         assert(NOT_FOR_CLIENT);
00181         return -1;
00182 }
00183 

Generated on Mon Aug 21 12:39:57 2006 for ACQ2XXWebServices by  doxygen 1.4.4