Framework update, adding state to inventory tag, support for subscriber for inventory tag

This commit is contained in:
stephb9959
2022-01-11 23:08:01 -08:00
parent 15bd8b6c6b
commit 6d5a3510bc
22 changed files with 549 additions and 231 deletions

View File

@@ -289,8 +289,17 @@ namespace OpenWifi::ProvObjects {
void to_json(Poco::JSON::Object &Obj) const;
bool from_json(const Poco::JSON::Object::Ptr &Obj);
};
typedef std::vector<InventoryTag> InventoryTagVec;
struct InventoryTagList {
InventoryTagVec taglist;
void to_json(Poco::JSON::Object &Obj) const;
bool from_json(const Poco::JSON::Object::Ptr &Obj);
};
struct Report {
uint64_t snapShot=0;
Types::CountedMap tenants;