20 #ifndef LibDLSChannelH 21 #define LibDLSChannelH 26 #include "Exception.h" 81 void import(
const std::string &,
unsigned int);
82 std::pair<std::set<Chunk *>, std::set<int64_t> > fetch_chunks();
83 void fetch_data(
Time,
Time,
unsigned int,
84 DataCallback,
void *,
unsigned int = 1);
86 std::string path()
const;
87 unsigned int dir_index()
const;
89 const std::string &name()
const;
90 const std::string &unit()
const;
91 std::string alias()
const;
93 double offset()
const;
94 std::string color()
const;
97 typedef std::map<int64_t, Chunk> ChunkMap;
98 const ChunkMap &chunks()
const;
99 bool has_same_chunks_as(
const Channel &)
const;
106 void set_channel_info(DlsProto::ChannelInfo *)
const;
107 void set_chunk_info(DlsProto::ChannelInfo *)
const;
113 std::unique_ptr<Impl> impl;
Base class for all LibDLS exceptions.
Darstellung eines Kanals in der Anzeige.
Global data structures and functions.
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.