30 # if defined(DEBUG_RBU)
31 # define DCOUT(line) do { cout << line; } while(0)
32 # define DCERR(line) do { cerr << line; } while(0)
34 # define DCOUT(line) do {} while(0)
35 # define DCERR(line) do {} while(0)
59 explicit RbuHdr(std::string filename);
64 virtual std::ostream &
streamify(std::ostream & cout )
const;
67 virtual void getHdrVersion(
unsigned int &major,
unsigned int &minor)
const;
70 virtual FILE *
getFh()
const;
87 void createPacket(
char *buffer,
size_t bufSize,
size_t imageSize);