|
static boost::optional
< OF_SHARED_PTR
< modelgbp::inv::Interface > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of Interface from the managed object store. More...
|
|
static boost::optional
< OF_SHARED_PTR
< modelgbp::inv::Interface > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of Interface from the managed object store using the default framework instance. More...
|
|
static boost::optional
< OF_SHARED_PTR
< modelgbp::inv::Interface > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invInterfaceName, const std::string &invInterfaceType) |
| Retrieve an instance of Interface from the managed object store by constructing its URI from the path elements that lead to it. More...
|
|
static boost::optional
< OF_SHARED_PTR
< modelgbp::inv::Interface > > | resolve (const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invInterfaceName, const std::string &invInterfaceType) |
| Retrieve an instance of Interface from the default managed object store by constructing its URI from the path elements that lead to it. More...
|
|
static void | remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Remove the Interface object with the specified URI using the currently-active mutator. More...
|
|
static void | remove (const opflex::modb::URI &uri) |
| Remove the Interface object with the specified URI using the currently-active mutator and the default framework instance. More...
|
|
static void | remove (opflex::ofcore::OFFramework &framework, const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invInterfaceName, const std::string &invInterfaceType) |
| Remove the Interface object with the specified path elements from the managed object store. More...
|
|
static void | remove (const std::string &invLocalEndpointInventoryName, const std::string &invLocalInventoryEpUuid, const std::string &invInterfaceName, const std::string &invInterfaceType) |
| Remove the Interface object with the specified path elements from the managed object store using the default framework instance. More...
|
|
static void | registerListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Register a listener that will get called for changes related to this class. More...
|
|
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. More...
|
|
static void | unregisterListener (opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class. More...
|
|
static void | unregisterListener (opflex::modb::ObjectListener *listener) |
| Unregister a listener from updates to this class from the default framework instance. More...
|
|
static void modelgbp::inv::Interface::remove |
( |
opflex::ofcore::OFFramework & |
framework, |
|
|
const std::string & |
invLocalEndpointInventoryName, |
|
|
const std::string & |
invLocalInventoryEpUuid, |
|
|
const std::string & |
invInterfaceName, |
|
|
const std::string & |
invInterfaceType |
|
) |
| |
|
inlinestatic |
Remove the Interface object with the specified path elements from the managed object store.
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.
The object URI generated by this function will take the form: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvInterface/[invInterfaceName]/[invInterfaceType]
- Parameters
-
framework | the framework instance to use |
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
invInterfaceName | the value of invInterfaceName, a naming property for Interface |
invInterfaceType | the value of invInterfaceType, a naming property for Interface |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
static void modelgbp::inv::Interface::remove |
( |
const std::string & |
invLocalEndpointInventoryName, |
|
|
const std::string & |
invLocalInventoryEpUuid, |
|
|
const std::string & |
invInterfaceName, |
|
|
const std::string & |
invInterfaceType |
|
) |
| |
|
inlinestatic |
Remove the Interface object with the specified path elements from the managed object store using 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.
The object URI generated by this function will take the form: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvInterface/[invInterfaceName]/[invInterfaceType]
- Parameters
-
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
invInterfaceName | the value of invInterfaceName, a naming property for Interface |
invInterfaceType | the value of invInterfaceType, a naming property for Interface |
- Exceptions
-
std::logic_error | if no mutator is active |
static boost::optional<OF_SHARED_PTR<modelgbp::inv::Interface> > modelgbp::inv::Interface::resolve |
( |
opflex::ofcore::OFFramework & |
framework, |
|
|
const std::string & |
invLocalEndpointInventoryName, |
|
|
const std::string & |
invLocalInventoryEpUuid, |
|
|
const std::string & |
invInterfaceName, |
|
|
const std::string & |
invInterfaceType |
|
) |
| |
|
inlinestatic |
Retrieve an instance of Interface 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: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvInterface/[invInterfaceName]/[invInterfaceType]
- Parameters
-
framework | the framework instance to use |
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
invInterfaceName | the value of invInterfaceName, a naming property for Interface |
invInterfaceType | the value of invInterfaceType, a naming property for Interface |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
static boost::optional<OF_SHARED_PTR<modelgbp::inv::Interface> > modelgbp::inv::Interface::resolve |
( |
const std::string & |
invLocalEndpointInventoryName, |
|
|
const std::string & |
invLocalInventoryEpUuid, |
|
|
const std::string & |
invInterfaceName, |
|
|
const std::string & |
invInterfaceType |
|
) |
| |
|
inlinestatic |
Retrieve an instance of Interface 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: /InvUniverse/InvLocalEndpointInventory/[invLocalEndpointInventoryName]/InvLocalInventoryEp/[invLocalInventoryEpUuid]/InvInterface/[invInterfaceName]/[invInterfaceType]
- Parameters
-
invLocalEndpointInventoryName | the value of invLocalEndpointInventoryName, a naming property for LocalEndpointInventory |
invLocalInventoryEpUuid | the value of invLocalInventoryEpUuid, a naming property for LocalInventoryEp |
invInterfaceName | the value of invInterfaceName, a naming property for Interface |
invInterfaceType | the value of invInterfaceType, a naming property for Interface |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().