27 #include "Exception.h" 42 template <
class T>
class IndexT;
44 template <
class T>
class CompressionT;
54 typedef int (*DataCallback)(Data *,
void *);
83 Time start()
const {
return _start; }
84 Time end()
const {
return _end; }
85 bool incomplete()
const {
return _incomplete; }
87 void fetch_data(
Time,
Time,
unsigned int,
92 bool operator==(
const Chunk &)
const;
94 void set_chunk_info(DlsProto::ChunkInfo *)
const;
95 void update_from_chunk_info(
const DlsProto::ChunkInfo &);
98 static void reset_timing();
99 static void output_timing();
118 unsigned int _calc_optimal_level(
Time,
Time,
unsigned int)
const;
119 Time _time_per_value(
unsigned int)
const;
121 void _fetch_level_data_wrapper(
Time,
Time,
146 IndexT<IndexRecord> &,
165 void _process_data_tag(
const XmlTag *,
bool _incomplete
Data ist still logged.
Time _start
Startzeit des Chunks.
Base class for all LibDLS exceptions.
unsigned int _meta_reduction
Meta-Untersetzung.
Global data structures and functions.
MetaType
Meta type for recorded data.
Index record for a data file index as part of a chunk.
unsigned int _mdct_block_size
MDCT-Blockgroesse.
double _sample_frequency
Abtastfrequenz.
ChannelType _type
channel type
int _format_index
Kompressionsformat.
Datentyp zur Speicherung der Zeit in Mikrosekunden.
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.
Time _end
Endzeit des Chunks.
std::string _dir
Chunk-Verzeichnis.