11#ifndef GI_OBSERVER_POLICYSTATUNIVERSE_HPP
12#define GI_OBSERVER_POLICYSTATUNIVERSE_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/gbpe/L24ClassifierCounter.hpp"
24#include "modelgbp/gbpe/SecGrpClassifierCounter.hpp"
28#include "modelgbp/gbpe/RoutingDomainDropCounter.hpp"
34 :
public opflex::modb::mointernal::MO
41 static const opflex::modb::class_id_t
CLASS_ID = 213;
54 static boost::optional<OF_SHARED_PTR<modelgbp::observer::PolicyStatUniverse> >
resolve(
56 const opflex::modb::URI&
uri)
58 return opflex::modb::mointernal::MO::resolve<modelgbp::observer::PolicyStatUniverse>(
framework,
CLASS_ID,
uri);
72 static boost::optional<OF_SHARED_PTR<modelgbp::observer::PolicyStatUniverse> >
resolve(
73 const opflex::modb::URI&
uri)
75 return opflex::modb::mointernal::MO::resolve<modelgbp::observer::PolicyStatUniverse>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
92 static boost::optional<OF_SHARED_PTR<modelgbp::observer::PolicyStatUniverse> >
resolve(
111 static boost::optional<OF_SHARED_PTR<modelgbp::observer::PolicyStatUniverse> >
resolve(
114 return resolve(opflex::ofcore::OFFramework::defaultInstance());
201 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::L24ClassifierCounter>(
275 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::SecGrpClassifierCounter>(
349 opflex::modb::mointernal::MO::resolveChildren<modelgbp::gbpe::RoutingDomainDropCounter>(
377 const opflex::modb::URI&
uri)
394 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
410 opflex::modb::ObjectListener*
listener)
412 opflex::modb::mointernal
428 opflex::modb::ObjectListener*
listener)
441 opflex::modb::ObjectListener*
listener)
443 opflex::modb::mointernal
454 opflex::modb::ObjectListener*
listener)
465 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of L24ClassifierCounter from the managed object store.
Definition L24ClassifierCounter.hpp:434
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of RoutingDomainDropCounter from the managed object store.
Definition RoutingDomainDropCounter.hpp:322
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of SecGrpClassifierCounter from the managed object store.
Definition SecGrpClassifierCounter.hpp:434
Definition PolicyStatUniverse.hpp:35
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition PolicyStatUniverse.hpp:453
void remove()
Remove this instance using the currently-active mutator.
Definition PolicyStatUniverse.hpp:361
OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > addGbpeRoutingDomainDropCounter(const std::string &gbpeRoutingDomainDropCounterUuid, uint64_t gbpeRoutingDomainDropCounterGenId, const std::string &gbpeRoutingDomainDropCounterRoutingDomain)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition PolicyStatUniverse.hpp:318
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > resolveGbpeSecGrpClassifierCounter(const std::string &gbpeSecGrpClassifierCounterUuid, uint64_t gbpeSecGrpClassifierCounterGenId, const std::string &gbpeSecGrpClassifierCounterClassifier)
Retrieve the child object with the specified naming properties.
Definition PolicyStatUniverse.hpp:220
static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of PolicyStatUniverse from the managed object store by constructing its URI from...
Definition PolicyStatUniverse.hpp:92
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > resolveGbpeL24ClassifierCounter(const std::string &gbpeL24ClassifierCounterUuid, uint64_t gbpeL24ClassifierCounterGenId, const std::string &gbpeL24ClassifierCounterSrcEpg, const std::string &gbpeL24ClassifierCounterDstEpg, const std::string &gbpeL24ClassifierCounterClassifier)
Retrieve the child object with the specified naming properties.
Definition PolicyStatUniverse.hpp:136
static void registerListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class.
Definition PolicyStatUniverse.hpp:408
void resolveGbpeSecGrpClassifierCounter(std::vector< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::SecGrpClassifierCounter.
Definition PolicyStatUniverse.hpp:273
void resolveGbpeRoutingDomainDropCounter(std::vector< OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::RoutingDomainDropCounter.
Definition PolicyStatUniverse.hpp:347
static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > resolve()
Retrieve an instance of PolicyStatUniverse from the default managed object store by constructing its ...
Definition PolicyStatUniverse.hpp:111
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the PolicyStatUniverse object with the specified URI using the currently-active mutator.
Definition PolicyStatUniverse.hpp:376
OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > addGbpeL24ClassifierCounter(const std::string &gbpeL24ClassifierCounterUuid, uint64_t gbpeL24ClassifierCounterGenId, const std::string &gbpeL24ClassifierCounterSrcEpg, const std::string &gbpeL24ClassifierCounterDstEpg, const std::string &gbpeL24ClassifierCounterClassifier)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition PolicyStatUniverse.hpp:166
static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of PolicyStatUniverse from the managed object store.
Definition PolicyStatUniverse.hpp:54
OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > addGbpeSecGrpClassifierCounter(const std::string &gbpeSecGrpClassifierCounterUuid, uint64_t gbpeSecGrpClassifierCounterGenId, const std::string &gbpeSecGrpClassifierCounterClassifier)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition PolicyStatUniverse.hpp:244
static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of PolicyStatUniverse from the managed object store using the default framework ...
Definition PolicyStatUniverse.hpp:72
static void remove(const opflex::modb::URI &uri)
Remove the PolicyStatUniverse object with the specified URI using the currently-active mutator and th...
Definition PolicyStatUniverse.hpp:392
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for PolicyStatUniverse.
Definition PolicyStatUniverse.hpp:41
void resolveGbpeL24ClassifierCounter(std::vector< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::gbpe::L24ClassifierCounter.
Definition PolicyStatUniverse.hpp:199
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition PolicyStatUniverse.hpp:439
boost::optional< OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > > resolveGbpeRoutingDomainDropCounter(const std::string &gbpeRoutingDomainDropCounterUuid, uint64_t gbpeRoutingDomainDropCounterGenId, const std::string &gbpeRoutingDomainDropCounterRoutingDomain)
Retrieve the child object with the specified naming properties.
Definition PolicyStatUniverse.hpp:294
PolicyStatUniverse(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of PolicyStatUniverse.
Definition PolicyStatUniverse.hpp:463
static void registerListener(opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class with the default framework...
Definition PolicyStatUniverse.hpp:427
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12