Go to the documentation of this file.
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 operator=(std::string sth)
unsigned int expectedSize_
std::vector< T > & value()
unsigned int getSize() const
unsigned int getMaxUpdates() const
void resetValue() override
array value (ordered list)
HistoJ(int expectedUpdates=1, unsigned int maxUpdates=0)
void operator=(JsonMonitorable *ptr)
std::string toCSV() const
unsigned int getExpectedSize() const
virtual void resetValue()=0
JsonMonPtr(JsonMonitorable *ptr)
unsigned int getUpdates()
virtual void setName(std::string name)
void setMaxUpdates(unsigned int maxUpdates)
virtual Json::Value toJsonValue() const
std::string toString() const override
void resetValue() override
void resetValue() override
std::string toString() const override
std::string toString() const override
Value & append(const Value &value)
Append value to array at the end.
virtual ~JsonMonitorable()
std::vector< T > const & value() const
void concatenate(std::string const &added)
std::string toString() const override
void update(std::string const &newStr)
std::string const & value() const
void operator=(std::vector< T > const &sth)
virtual std::string toString() const =0
virtual std::string const & getName() const
void operator=(double sth)
void resetValue() override
JsonMonitorable * operator->()