[go: up one dir, main page]

Menu

[5c152e]: / test / SimpleModule.h  Maximize  Restore  History

Download this file

30 lines (21 with data), 489 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __SimpleModule_h__
#define __SimpleModule_h__
#include <DAQ++/Module.h>
class SimpleModule: public DAQpp::Module
{
public:
SimpleModule(const DAQpp::DAQid &id);
virtual ~SimpleModule();
bool hasData();
char *getData(int &size);
int PrepareForRun ();
int Start (int rc= 0);
int Stop (int rc= 0);
int Pause ();
int Continue ();
int Reset ();
int GetReady ();
int Trigger ();
void flush ();
};
#endif /*__SimpleModule_h__*/