26 #ifndef LibDLSGlobalsH 27 #define LibDLSGlobalsH 38 #define DLS_PID_FILE "dlsd.pid" 42 #define ENV_DLS_DIR "DLS_DIR" 46 #define ENV_DLS_USER "DLS_USER" 53 #define DLS_PUBLIC __declspec(dllexport) 90 DLS_PUBLIC ChannelType str_to_channel_type(
const std::string &);
94 DLS_PUBLIC const char *channel_type_to_str(ChannelType);
113 DLS_PUBLIC std::string meta_type_str(MetaType);
151 extern const char *format_strings[FORMAT_COUNT];
155 #pragma pack(push, 1) 213 typedef void (*LoggingCallback)(
const char *,
void *);
Channel index record, containing all chunk times.
DLS_PUBLIC void log(const std::string &)
Global log method, that is used by the library.
unsigned int frequency
Maximum sample frequency of the signal.
ChannelType type
Signal data type (TUINT, TDBL, etc.)
DLS_PUBLIC void set_logging_callback(LoggingCallback, void *)
Set global logging callback.
MetaType
Meta type for recorded data.
std::string name
Signal name.
Index record for a data file index as part of a chunk.
Arithmetic mean values (deprecated).
DLS_PUBLIC std::string convert_to_bin(const void *, unsigned int, int)
Convert data to binary.
Describes a signal of the data source.
Generic data as received from data source.
Index record for all data file of a chunk.
DLS_PUBLIC bool operator<(const RealChannel &a, const RealChannel &b)
Less operator for sorting RealChannel lists.
#define DLS_PUBLIC
Macro for public method definitions (empty on non-win32).
ChannelType
Basic DLS channel datatype.
unsigned int bufsize
Size of the signal buffer.