ifw-fnd 1.0.0
|
This source file contains definitions of the types and constants to handle data types. More...
Namespaces | |
namespace | datatype |
This source file contains definitions of the types and constants to handle data types. | |
namespace | fits |
This source file contains definitions of the types and constants to handle FITS. | |
namespace | tools |
Header file for the IFW Foundation Tools library. | |
Functions | |
log4cplus::Logger & | Logger () |
double | TimeSecs () |
void | SleepSecs (const float sleep_time_in_seconds) |
std::string | IsoTime (const double time_since_epoch, const uint8_t precision) |
std::string | IsoTimeNow (const int8_t precision) |
std::string | ThreadName () |
Return name of current thread. | |
template<typename... Ts> | |
std::string | VariantToString (const std::variant< Ts... > &var) |
This source file contains definitions of the types and constants to handle data types.
Inline function generating a location identifier: "<file>:<line>:<function>:<thread>".
|
inline |
Return the ISO8601 time based on the time since epoch, expressed in seconds/double.
[in] | time_since_epoch | Time in seconds/double since epoch. |
[in] | precision | Number of decimal places for the fractional part of the second. |
|
inline |
Return the ISO8601 time now.
[in] | precision | Number of decimal places for the fractional part of the second. |
log4cplus::Logger & ifw::fnd::Logger | ( | ) |
|
inline |
Sleep for the given period of time specified in seconds/double.
[in] | sleep_time_in_seconds | Time in seconds to sleep. |
|
inline |
Return name of current thread.
|
inline |
Return the current time since epoch in seconds/double.
std::string ifw::fnd::VariantToString | ( | const std::variant< Ts... > & | var | ) |