20#include <unordered_map>
23#include "UObject_SK.h"
24#include "SMInterface.h"
25#include "SharedMemory.h"
26#include "extensions/Extensions.h"
90 const std::string& prefix =
"rrd" );
94 static std::shared_ptr<RRDServer>
init_rrdstorage(
int argc,
const char*
const* argv,
96 const std::string& prefix =
"rrd" );
99 static void help_print(
int argc,
const char*
const* argv );
101 inline std::shared_ptr<LogAgregator> getLogAggregator()
105 inline std::shared_ptr<DebugStream> log()
115 virtual void askSensors( UniversalIO::UIOCommand cmd )
override;
120 void initRRD( xmlNode* cnode,
int tmID );
122 std::shared_ptr<SMInterface> shm;
131 sid(
id), dsname(dsname), value(defval) {}
139 typedef std::unordered_map<uniset::ObjectId, std::shared_ptr<DSInfo>> DSMap;
140 typedef std::vector<std::shared_ptr<DSInfo>> DSList;
144 std::string filename;
150 RRDInfo(
const std::string& fname,
long tmID,
long sec,
const DSList& lst );
153 typedef std::vector<RRDInfo> RRDList;
Definition UObject_SK.h:30
Definition RRDServer.h:87
static std::shared_ptr< RRDServer > init_rrdstorage(int argc, const char *const *argv, uniset::ObjectId shmID, const std::shared_ptr< SharedMemory > &ic=nullptr, const std::string &prefix="rrd")
Definition RRDServer.cc:288
const size_t RRD_MAX_DSNAME_LEN
Definition RRDServer.h:110
static void help_print(int argc, const char *const *argv)
Definition RRDServer.cc:264
Definition MessageType.h:127
Definition MessageType.h:171
Definition MessageType.h:214
Definition Calibration.h:27
long ObjectId
Definition UniSetTypes_i.idl:30
Definition RRDServer.h:125
Definition RRDServer.h:143