/usr/include/rtd/RtdUtils.h is in skycat 3.1.2+starlink1~b-8+b2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 30 31 32 33 34 35 36 37 38 39 40 41 42 | // -*-c++-*-
#ifndef _RtdUtils_h_
#define _RtdUtils_h_
/*
* E.S.O. - VLT project
* "@(#) $Id: RtdUtils.h,v 1.1.1.1 2009/03/31 14:11:52 cguirao Exp $"
*
* RtdUtils.h - definitions for the rtdimg utilities
*
* who when what
* -------------- -------- ----------------------------------------
* pbiereic 01/03/01 Created
*/
#include <cstdio>
#include <iostream>
#include <cstring>
#include <cstdarg>
void clip(double& x, double x0, double x1);
void formatHM(double val, char* buf);
/*
* Class RtdDebugLog
*/
class RtdDebugLog {
public:
RtdDebugLog(char *nam, int debug);
void log(const char *format, ...);
void setlog(int set) {debug_ = set;}
int setlog() {return debug_;}
protected:
char name_[100]; // name of application
int debug_; // debug flag
};
#endif /* _RtdUtils_h_ */
|