8 #ifndef JSON_MONITORABLE_H 9 #define JSON_MONITORABLE_H 115 std::stringstream
ss;
181 HistoJ(
int expectedUpdates = 1,
unsigned int maxUpdates = 0) {
192 std::stringstream
ss;
202 std::stringstream
ss;
205 for (
unsigned int i = 0;
i <
histo_.size();
i++) {
215 for (
unsigned int i = 0;
i <
histo_.size();
i++) {
void setMaxUpdates(unsigned int maxUpdates)
std::string toString() const override
void operator=(std::string sth)
std::string toString() const override
void resetValue() override
std::string toCSV() const
std::string toString() const override
virtual ~JsonMonitorable()
unsigned int getExpectedSize() const
Value & append(const Value &value)
Append value to array at the end.
void update(std::string const &newStr)
unsigned int getUpdates()
void operator=(std::vector< T > const &sth)
std::vector< T > & value()
std::string toString() const override
void concatenate(std::string const &added)
virtual void setName(std::string name)
unsigned int expectedSize_
unsigned int getMaxUpdates() const
std::vector< T > const & value() const
void resetValue() override
void resetValue() override
JsonMonPtr(JsonMonitorable *ptr)
void operator=(double sth)
virtual void resetValue()=0
virtual std::string const & getName() const
virtual Json::Value toJsonValue() const
virtual std::string toString() const =0
HistoJ(int expectedUpdates=1, unsigned int maxUpdates=0)
std::string const & value() const
void resetValue() override
unsigned int getSize() const
JsonMonitorable * operator->()
array value (ordered list)
void operator=(JsonMonitorable *ptr)