11#ifndef GI_INV_UNIVERSE_HPP
12#define GI_INV_UNIVERSE_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/inv/LocalEndpointInventory.hpp"
26 :
public opflex::modb::mointernal::MO
33 static const opflex::modb::class_id_t
CLASS_ID = 113;
46 static boost::optional<OF_SHARED_PTR<modelgbp::inv::Universe> >
resolve(
48 const opflex::modb::URI&
uri)
64 static boost::optional<OF_SHARED_PTR<modelgbp::inv::Universe> >
resolve(
65 const opflex::modb::URI&
uri)
67 return opflex::modb::mointernal::MO::resolve<modelgbp::inv::Universe>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
84 static boost::optional<OF_SHARED_PTR<modelgbp::inv::Universe> >
resolve(
103 static boost::optional<OF_SHARED_PTR<modelgbp::inv::Universe> >
resolve(
106 return resolve(opflex::ofcore::OFFramework::defaultInstance());
165 opflex::modb::mointernal::MO::resolveChildren<modelgbp::inv::LocalEndpointInventory>(
193 const opflex::modb::URI&
uri)
210 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
226 opflex::modb::ObjectListener*
listener)
228 opflex::modb::mointernal
244 opflex::modb::ObjectListener*
listener)
257 opflex::modb::ObjectListener*
listener)
259 opflex::modb::mointernal
270 opflex::modb::ObjectListener*
listener)
281 const opflex::modb::URI&
uri,
static boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of LocalEndpointInventory from the managed object store.
Definition LocalEndpointInventory.hpp:106
Definition inv/Universe.hpp:27
void resolveInvLocalEndpointInventory(std::vector< OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > > &out)
Resolve and retrieve all of the immediate children of type modelgbp::inv::LocalEndpointInventory.
Definition inv/Universe.hpp:163
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 inv/Universe.hpp:224
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition inv/Universe.hpp:269
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Universe > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of Universe from the managed object store using the default framework instance.
Definition inv/Universe.hpp:64
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the Universe object with the specified URI using the currently-active mutator.
Definition inv/Universe.hpp:192
Universe(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of Universe.
Definition inv/Universe.hpp:279
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition inv/Universe.hpp:255
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for Universe.
Definition inv/Universe.hpp:33
static void remove(const opflex::modb::URI &uri)
Remove the Universe object with the specified URI using the currently-active mutator and the default ...
Definition inv/Universe.hpp:208
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Universe > > resolve()
Retrieve an instance of Universe from the default managed object store by constructing its URI from t...
Definition inv/Universe.hpp:103
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 inv/Universe.hpp:243
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Universe > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Universe from the managed object store.
Definition inv/Universe.hpp:46
static boost::optional< OF_SHARED_PTR< modelgbp::inv::Universe > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of Universe from the managed object store by constructing its URI from the path ...
Definition inv/Universe.hpp:84
OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > addInvLocalEndpointInventory(const std::string &invLocalEndpointInventoryName)
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition inv/Universe.hpp:138
void remove()
Remove this instance using the currently-active mutator.
Definition inv/Universe.hpp:177
boost::optional< OF_SHARED_PTR< modelgbp::inv::LocalEndpointInventory > > resolveInvLocalEndpointInventory(const std::string &invLocalEndpointInventoryName)
Retrieve the child object with the specified naming properties.
Definition inv/Universe.hpp:120
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12