source: branches/FACT++_lidctrl_usb/drive/Writer.h

Last change on this file was 18618, checked in by tbretz, 8 years ago
Copied files from Mars and Cosy to compile toold which fit our current drivectrl.
File size: 466 bytes
Line 
1#ifndef WRITER_H
2#define WRITER_H
3
4#ifdef __CINT__
5struct timeval;
6#else
7#include <TROOT.h>
8#include <sys/time.h>
9#endif
10
11class TVector2;
12
13typedef unsigned char byte;
14
15class Writer;
16
17class Writer
18{
19public:
20 virtual ~Writer() { }
21
22 static void Ppm(const char *fname, const byte *img, struct timeval *date, const TVector2 xy);
23 static void Png(const char *fname, const byte *buf, struct timeval *date, const TVector2 xy);
24
25 ClassDef(Writer, 0)
26};
27
28#endif
Note: See TracBrowser for help on using the repository browser.