modelgbp Generated OpFlex Model 1.7.0
modelgbp::observer::PolicyStatUniverse Class Reference
Inheritance diagram for modelgbp::observer::PolicyStatUniverse:

Public Member Functions

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.
 
OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounteraddGbpeL24ClassifierCounter (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 the currently-active mutator.
 
void resolveGbpeL24ClassifierCounter (std::vector< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::gbpe::L24ClassifierCounter.
 
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.
 
OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounteraddGbpeSecGrpClassifierCounter (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 the currently-active mutator.
 
void resolveGbpeSecGrpClassifierCounter (std::vector< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::gbpe::SecGrpClassifierCounter.
 
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.
 
OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounteraddGbpeRoutingDomainDropCounter (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 the currently-active mutator.
 
void resolveGbpeRoutingDomainDropCounter (std::vector< OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > > &out)
 Resolve and retrieve all of the immediate children of type modelgbp::gbpe::RoutingDomainDropCounter.
 
void remove ()
 Remove this instance using the currently-active mutator.
 
 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.
 

Static Public Member Functions

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.
 
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 instance.
 
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 the path elements that lead to it.
 
static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > resolve ()
 Retrieve an instance of PolicyStatUniverse from the default managed object store by constructing its URI from the path elements that lead to it.
 
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.
 
static void remove (const opflex::modb::URI &uri)
 Remove the PolicyStatUniverse object with the specified URI using the currently-active mutator and the default framework instance.
 
static void registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class.
 
static void registerListener (opflex::modb::ObjectListener *listener)
 Register a listener that will get called for changes related to this class with the default framework instance.
 
static void unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class.
 
static void unregisterListener (opflex::modb::ObjectListener *listener)
 Unregister a listener from updates to this class from the default framework instance.
 

Static Public Attributes

static const opflex::modb::class_id_t CLASS_ID = 213
 The unique class ID for PolicyStatUniverse.
 

Constructor & Destructor Documentation

◆ PolicyStatUniverse()

modelgbp::observer::PolicyStatUniverse::PolicyStatUniverse ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri,
const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > & oi )
inline

Construct an instance of PolicyStatUniverse.

This should not typically be called from user code.

References CLASS_ID.

Member Function Documentation

◆ addGbpeL24ClassifierCounter()

OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > modelgbp::observer::PolicyStatUniverse::addGbpeL24ClassifierCounter ( const std::string & gbpeL24ClassifierCounterUuid,
uint64_t gbpeL24ClassifierCounterGenId,
const std::string & gbpeL24ClassifierCounterSrcEpg,
const std::string & gbpeL24ClassifierCounterDstEpg,
const std::string & gbpeL24ClassifierCounterClassifier )
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
gbpeL24ClassifierCounterUuidthe value of gbpeL24ClassifierCounterUuid, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterGenIdthe value of gbpeL24ClassifierCounterGenId, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterSrcEpgthe value of gbpeL24ClassifierCounterSrcEpg, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterDstEpgthe value of gbpeL24ClassifierCounterDstEpg, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterClassifierthe value of gbpeL24ClassifierCounterClassifier, a naming property for L24ClassifierCounter
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ addGbpeRoutingDomainDropCounter()

OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > modelgbp::observer::PolicyStatUniverse::addGbpeRoutingDomainDropCounter ( const std::string & gbpeRoutingDomainDropCounterUuid,
uint64_t gbpeRoutingDomainDropCounterGenId,
const std::string & gbpeRoutingDomainDropCounterRoutingDomain )
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
gbpeRoutingDomainDropCounterUuidthe value of gbpeRoutingDomainDropCounterUuid, a naming property for RoutingDomainDropCounter
gbpeRoutingDomainDropCounterGenIdthe value of gbpeRoutingDomainDropCounterGenId, a naming property for RoutingDomainDropCounter
gbpeRoutingDomainDropCounterRoutingDomainthe value of gbpeRoutingDomainDropCounterRoutingDomain, a naming property for RoutingDomainDropCounter
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ addGbpeSecGrpClassifierCounter()

OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > modelgbp::observer::PolicyStatUniverse::addGbpeSecGrpClassifierCounter ( const std::string & gbpeSecGrpClassifierCounterUuid,
uint64_t gbpeSecGrpClassifierCounterGenId,
const std::string & gbpeSecGrpClassifierCounterClassifier )
inline

Create a new child object with the specified naming properties and make it a child of this object in the currently-active mutator.

If the object already exists in the store, get a mutable copy of that object. If the object already exists in the mutator, get a reference to the object.

Parameters
gbpeSecGrpClassifierCounterUuidthe value of gbpeSecGrpClassifierCounterUuid, a naming property for SecGrpClassifierCounter
gbpeSecGrpClassifierCounterGenIdthe value of gbpeSecGrpClassifierCounterGenId, a naming property for SecGrpClassifierCounter
gbpeSecGrpClassifierCounterClassifierthe value of gbpeSecGrpClassifierCounterClassifier, a naming property for SecGrpClassifierCounter
Exceptions
std::logic_errorif no mutator is active
Returns
a shared pointer to the (possibly new) object

References CLASS_ID.

◆ registerListener() [1/2]

static void modelgbp::observer::PolicyStatUniverse::registerListener ( opflex::modb::ObjectListener * listener)
inlinestatic

Register a listener that will get called for changes related to this class with the default framework instance.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References registerListener().

◆ registerListener() [2/2]

static void modelgbp::observer::PolicyStatUniverse::registerListener ( opflex::ofcore::OFFramework & framework,
opflex::modb::ObjectListener * listener )
inlinestatic

Register a listener that will get called for changes related to this class.

This listener will be called for any modifications of this class or any transitive children of this class.

Parameters
frameworkthe framework instance
listenerthe listener functional object that should be called when changes occur related to the class. This memory is owned by the caller and should be freed only after it has been unregistered.

References CLASS_ID.

Referenced by registerListener().

◆ remove() [1/3]

void modelgbp::observer::PolicyStatUniverse::remove ( )
inline

Remove this instance using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by remove().

◆ remove() [2/3]

static void modelgbp::observer::PolicyStatUniverse::remove ( const opflex::modb::URI & uri)
inlinestatic

Remove the PolicyStatUniverse object with the specified URI using the currently-active mutator and the default framework instance.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References remove().

◆ remove() [3/3]

static void modelgbp::observer::PolicyStatUniverse::remove ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri )
inlinestatic

Remove the PolicyStatUniverse object with the specified URI using the currently-active mutator.

If the object does not exist, then this will be a no-op. If this object has any children, they will be garbage-collected at some future time.

Parameters
frameworkthe framework instance to use
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ resolve() [1/4]

static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > modelgbp::observer::PolicyStatUniverse::resolve ( )
inlinestatic

Retrieve an instance of PolicyStatUniverse from the default managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /ObserverPolicyStatUniverse

Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

Referenced by resolve(), resolve(), and modelgbp::dmtree::Root::resolveObserverPolicyStatUniverse().

◆ resolve() [2/4]

static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > modelgbp::observer::PolicyStatUniverse::resolve ( const opflex::modb::URI & uri)
inlinestatic

Retrieve an instance of PolicyStatUniverse from the managed object store using the default framework instance.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

◆ resolve() [3/4]

static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > modelgbp::observer::PolicyStatUniverse::resolve ( opflex::ofcore::OFFramework & framework)
inlinestatic

Retrieve an instance of PolicyStatUniverse from the managed object store by constructing its URI from the path elements that lead to it.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

The object URI generated by this function will take the form: /ObserverPolicyStatUniverse

Parameters
frameworkthe framework instance to use
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

◆ resolve() [4/4]

static boost::optional< OF_SHARED_PTR< modelgbp::observer::PolicyStatUniverse > > modelgbp::observer::PolicyStatUniverse::resolve ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri )
inlinestatic

Retrieve an instance of PolicyStatUniverse from the managed object store.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
frameworkthe framework instance to use
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

◆ resolveGbpeL24ClassifierCounter() [1/2]

boost::optional< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > modelgbp::observer::PolicyStatUniverse::resolveGbpeL24ClassifierCounter ( const std::string & gbpeL24ClassifierCounterUuid,
uint64_t gbpeL24ClassifierCounterGenId,
const std::string & gbpeL24ClassifierCounterSrcEpg,
const std::string & gbpeL24ClassifierCounterDstEpg,
const std::string & gbpeL24ClassifierCounterClassifier )
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
gbpeL24ClassifierCounterUuidthe value of gbpeL24ClassifierCounterUuid, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterGenIdthe value of gbpeL24ClassifierCounterGenId, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterSrcEpgthe value of gbpeL24ClassifierCounterSrcEpg, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterDstEpgthe value of gbpeL24ClassifierCounterDstEpg, a naming property for L24ClassifierCounter
gbpeL24ClassifierCounterClassifierthe value of gbpeL24ClassifierCounterClassifier, a naming property for L24ClassifierCounter
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbpe::L24ClassifierCounter::resolve().

◆ resolveGbpeL24ClassifierCounter() [2/2]

void modelgbp::observer::PolicyStatUniverse::resolveGbpeL24ClassifierCounter ( std::vector< OF_SHARED_PTR< modelgbp::gbpe::L24ClassifierCounter > > & out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::gbpe::L24ClassifierCounter.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

◆ resolveGbpeRoutingDomainDropCounter() [1/2]

boost::optional< OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > > modelgbp::observer::PolicyStatUniverse::resolveGbpeRoutingDomainDropCounter ( const std::string & gbpeRoutingDomainDropCounterUuid,
uint64_t gbpeRoutingDomainDropCounterGenId,
const std::string & gbpeRoutingDomainDropCounterRoutingDomain )
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
gbpeRoutingDomainDropCounterUuidthe value of gbpeRoutingDomainDropCounterUuid, a naming property for RoutingDomainDropCounter
gbpeRoutingDomainDropCounterGenIdthe value of gbpeRoutingDomainDropCounterGenId, a naming property for RoutingDomainDropCounter
gbpeRoutingDomainDropCounterRoutingDomainthe value of gbpeRoutingDomainDropCounterRoutingDomain, a naming property for RoutingDomainDropCounter
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbpe::RoutingDomainDropCounter::resolve().

◆ resolveGbpeRoutingDomainDropCounter() [2/2]

void modelgbp::observer::PolicyStatUniverse::resolveGbpeRoutingDomainDropCounter ( std::vector< OF_SHARED_PTR< modelgbp::gbpe::RoutingDomainDropCounter > > & out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::gbpe::RoutingDomainDropCounter.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

◆ resolveGbpeSecGrpClassifierCounter() [1/2]

boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > modelgbp::observer::PolicyStatUniverse::resolveGbpeSecGrpClassifierCounter ( const std::string & gbpeSecGrpClassifierCounterUuid,
uint64_t gbpeSecGrpClassifierCounterGenId,
const std::string & gbpeSecGrpClassifierCounterClassifier )
inline

Retrieve the child object with the specified naming properties.

If the object does not exist in the local store, returns boost::none. Note that even though it may not exist locally, it may still exist remotely.

Parameters
gbpeSecGrpClassifierCounterUuidthe value of gbpeSecGrpClassifierCounterUuid, a naming property for SecGrpClassifierCounter
gbpeSecGrpClassifierCounterGenIdthe value of gbpeSecGrpClassifierCounterGenId, a naming property for SecGrpClassifierCounter
gbpeSecGrpClassifierCounterClassifierthe value of gbpeSecGrpClassifierCounterClassifier, a naming property for SecGrpClassifierCounter
Returns
a shared pointer to the object or boost::none if it does not exist.

References modelgbp::gbpe::SecGrpClassifierCounter::resolve().

◆ resolveGbpeSecGrpClassifierCounter() [2/2]

void modelgbp::observer::PolicyStatUniverse::resolveGbpeSecGrpClassifierCounter ( std::vector< OF_SHARED_PTR< modelgbp::gbpe::SecGrpClassifierCounter > > & out)
inline

Resolve and retrieve all of the immediate children of type modelgbp::gbpe::SecGrpClassifierCounter.

Note that this retrieves only those children that exist in the local store. It is possible that there are other children that exist remotely.

The resulting managed objects will be added to the result vector provided.

Parameters
outa reference to a vector that will receive the child objects.

References CLASS_ID.

◆ unregisterListener() [1/2]

static void modelgbp::observer::PolicyStatUniverse::unregisterListener ( opflex::modb::ObjectListener * listener)
inlinestatic

Unregister a listener from updates to this class from the default framework instance.

Parameters
listenerThe listener to unregister.

References unregisterListener().

◆ unregisterListener() [2/2]

static void modelgbp::observer::PolicyStatUniverse::unregisterListener ( opflex::ofcore::OFFramework & framework,
opflex::modb::ObjectListener * listener )
inlinestatic

Unregister a listener from updates to this class.

Parameters
frameworkthe framework instance
listenerThe listener to unregister.

References CLASS_ID.

Referenced by unregisterListener().


The documentation for this class was generated from the following file: