14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
20#include "modelgbp/dci/EpToUnivRSrc.hpp"
26 :
public opflex::modb::mointernal::MO
33 static const opflex::modb::class_id_t
CLASS_ID = 83;
46 static boost::optional<OF_SHARED_PTR<modelgbp::dci::Ep> >
resolve(
47 opflex::ofcore::OFFramework& framework,
48 const opflex::modb::URI& uri)
50 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::Ep>(framework,
CLASS_ID, uri);
64 static boost::optional<OF_SHARED_PTR<modelgbp::dci::Ep> >
resolve(
65 const opflex::modb::URI& uri)
67 return opflex::modb::mointernal::MO::resolve<modelgbp::dci::Ep>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID, uri);
84 static boost::optional<OF_SHARED_PTR<modelgbp::dci::Ep> >
resolve(
85 opflex::ofcore::OFFramework& framework)
87 return resolve(framework,opflex::modb::URIBuilder().addElement(
"DciDiscoverer").addElement(
"DciEp").build());
103 static boost::optional<OF_SHARED_PTR<modelgbp::dci::Ep> >
resolve(
106 return resolve(opflex::ofcore::OFFramework::defaultInstance());
137 OF_SHARED_PTR<modelgbp::dci::EpToUnivRSrc> result = addChild<modelgbp::dci::EpToUnivRSrc>(
138 CLASS_ID, getURI(), 2150203476ul, 84,
139 opflex::modb::URIBuilder(getURI()).addElement(
"DciEpToUnivRSrc").build()
154 getTLMutator().remove(
CLASS_ID, getURI());
167 static void remove(opflex::ofcore::OFFramework& framework,
168 const opflex::modb::URI& uri)
170 MO::remove(framework,
CLASS_ID, uri);
183 static void remove(
const opflex::modb::URI& uri)
185 remove(opflex::ofcore::OFFramework::defaultInstance(), uri);
200 opflex::ofcore::OFFramework& framework,
201 opflex::modb::ObjectListener* listener)
203 opflex::modb::mointernal
204 ::MO::registerListener(framework, listener,
CLASS_ID);
219 opflex::modb::ObjectListener* listener)
231 opflex::ofcore::OFFramework& framework,
232 opflex::modb::ObjectListener* listener)
234 opflex::modb::mointernal
235 ::MO::unregisterListener(framework, listener,
CLASS_ID);
245 opflex::modb::ObjectListener* listener)
255 opflex::ofcore::OFFramework& framework,
256 const opflex::modb::URI& uri,
257 const OF_SHARED_PTR<const opflex::modb::mointernal::ObjectInstance>& oi)
258 : MO(framework,
CLASS_ID, uri, oi) { }
static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > resolve()
Retrieve an instance of EpToUnivRSrc from the default managed object store by constructing its URI fr...
Definition EpToUnivRSrc.hpp:309
static boost::optional< OF_SHARED_PTR< modelgbp::dci::Ep > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of Ep from the managed object store.
Definition Ep.hpp:46
static boost::optional< OF_SHARED_PTR< modelgbp::dci::Ep > > resolve(opflex::ofcore::OFFramework &framework)
Retrieve an instance of Ep from the managed object store by constructing its URI from the path elemen...
Definition Ep.hpp:84
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the Ep object with the specified URI using the currently-active mutator.
Definition Ep.hpp:167
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for Ep.
Definition Ep.hpp:33
boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > resolveDciEpToUnivRSrc()
Retrieve the child object with the specified naming properties.
Definition Ep.hpp:118
void remove()
Remove this instance using the currently-active mutator.
Definition Ep.hpp:152
Ep(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of Ep.
Definition Ep.hpp:254
OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > addDciEpToUnivRSrc()
Create a new child object with the specified naming properties and make it a child of this object in ...
Definition Ep.hpp:134
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition Ep.hpp:230
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 Ep.hpp:199
static boost::optional< OF_SHARED_PTR< modelgbp::dci::Ep > > resolve()
Retrieve an instance of Ep from the default managed object store by constructing its URI from the pat...
Definition Ep.hpp:103
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition Ep.hpp:244
static boost::optional< OF_SHARED_PTR< modelgbp::dci::Ep > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of Ep from the managed object store using the default framework instance.
Definition Ep.hpp:64
static void remove(const opflex::modb::URI &uri)
Remove the Ep object with the specified URI using the currently-active mutator and the default framew...
Definition Ep.hpp:183
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 Ep.hpp:218
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12