ifw-rtmstools 3.0.0
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
common.hpp File Reference
#include <iostream>
#include <array>
#include <thread>
#include <fmt/format.h>
#include <boost/endian/arithmetic.hpp>
#include <fitsio.h>
#include <ifw/fnd/defs/dataType.hpp>
#include <ifw/fnd/tools/tools.hpp>

Go to the source code of this file.

Namespaces

namespace  ifw
 
namespace  ifw::rtmstools
 DdtImage Class Implementation.
 
namespace  ifw::rtmstools::rtmslib_llnetio
 Logger source file.
 

Macros

#define RTT_DEBUG
 
#define RTT_PRINT(msg)
 

Functions

double ifw::rtmstools::rtmslib_llnetio::Time ()
 
void ifw::rtmstools::rtmslib_llnetio::Sleep (const double sleep_time)
 
void ifw::rtmstools::rtmslib_llnetio::HandleCfitsioError (const std::string &operation, const int cfitsio_status)
 
std::tuple< std::vector< uint8_t >, int, int, int, int > ifw::rtmstools::rtmslib_llnetio::LoadFitsImageCube (const char *filename)
 
int ifw::rtmstools::rtmslib_llnetio::BitpixToFitsDatatype (const int bitpix)
 
ifw::fnd::datatype::DataType ifw::rtmstools::rtmslib_llnetio::BitpixToIfwDataType (const int8_t bitpix)
 

Variables

constexpr const char * ifw::rtmstools::rtmslib_llnetio::RTMSTOOLS_DEBUG = "RTMSTOOLS_DEBUG"
 

Macro Definition Documentation

◆ RTT_DEBUG

#define RTT_DEBUG
Value:
if (__rtmstools_debug__ == -1) { \
__rtmstools_debug__ = std::getenv(RTMSTOOLS_DEBUG) != nullptr; \
} \
if (__rtmstools_debug__)

◆ RTT_PRINT

#define RTT_PRINT ( msg)
Value:
do { \
fmt::print("RTMSTOOLS-DEBUG:{}:{}: {}\n", ifw::rtmstools::rtmslib_llnetio::Time(), IFWLOC, msg); \
} while (0);
double Time()
Definition common.hpp:43