|
modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
| bool | isRoleSet () |
| Check whether role has been set. | |
| boost::optional< const uint8_t > | getRole () |
| Get the value of role if it has been set. | |
| const uint8_t | getRole (const uint8_t defaultValue) |
| Get the value of role if set, otherwise the value of default passed in. | |
| modelgbp::dci::EpToUnivRSrc & | setRole (const uint8_t newValue) |
| Set role to the specified value in the currently-active mutator. | |
| modelgbp::dci::EpToUnivRSrc & | unsetRole () |
| Unset role in the currently-active mutator. | |
| bool | isTargetSet () |
| Check whether target has been set. | |
| boost::optional< opflex::modb::class_id_t > | getTargetClass () |
| Get the value of targetClass if it has been set. | |
| boost::optional< opflex::modb::URI > | getTargetURI () |
| Get the value of targetURI if it has been set. | |
| opflex::modb::class_id_t | getTargetClass (opflex::modb::class_id_t defaultValue) |
| Get the value of targetClass if set, otherwise the value of default passed in. | |
| opflex::modb::URI | getTargetURI (opflex::modb::URI defaultValue) |
| Get the value of targetURI if set, otherwise the value of default passed in. | |
| modelgbp::dci::EpToUnivRSrc & | setTargetUniverse (const opflex::modb::URI &uri) |
| Set the reference to point to an instance of Universe with the specified URI. | |
| modelgbp::dci::EpToUnivRSrc & | setTargetUniverse () |
| Set the reference to point to an instance of Universe in the currently-active mutator by constructing its URI from the path elements that lead to it. | |
| modelgbp::dci::EpToUnivRSrc & | unsetTarget () |
| Unset target in the currently-active mutator. | |
| bool | isTypeSet () |
| Check whether type has been set. | |
| boost::optional< const uint8_t > | getType () |
| Get the value of type if it has been set. | |
| const uint8_t | getType (const uint8_t defaultValue) |
| Get the value of type if set, otherwise the value of default passed in. | |
| modelgbp::dci::EpToUnivRSrc & | setType (const uint8_t newValue) |
| Set type to the specified value in the currently-active mutator. | |
| modelgbp::dci::EpToUnivRSrc & | unsetType () |
| Unset type in the currently-active mutator. | |
| void | remove () |
| Remove this instance using the currently-active mutator. | |
| EpToUnivRSrc (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) | |
| Construct an instance of EpToUnivRSrc. | |
Static Public Member Functions | |
| static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of EpToUnivRSrc from the managed object store. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of EpToUnivRSrc from the managed object store using the default framework instance. | |
| static boost::optional< OF_SHARED_PTR< modelgbp::dci::EpToUnivRSrc > > | resolve (opflex::ofcore::OFFramework &framework) |
| Retrieve an instance of EpToUnivRSrc from the managed object store by constructing its URI from the path elements that lead to it. | |
| 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 from the path elements that lead to it. | |
| static void | remove (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Remove the EpToUnivRSrc object with the specified URI using the currently-active mutator. | |
| static void | remove (const opflex::modb::URI &uri) |
| Remove the EpToUnivRSrc 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 = 84 |
| The unique class ID for EpToUnivRSrc. | |
|
inline |
Construct an instance of EpToUnivRSrc.
This should not typically be called from user code.
Get the value of role if it has been set.
References isRoleSet(), and resolve().
Referenced by getRole().
|
inline |
Get the value of targetClass if it has been set.
References isTargetSet(), and resolve().
Referenced by getTargetClass().
|
inline |
Get the value of targetClass if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTargetClass(), and resolve().
|
inline |
Get the value of targetURI if it has been set.
References isTargetSet(), and resolve().
Referenced by getTargetURI().
|
inline |
Get the value of targetURI if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTargetURI(), and resolve().
Get the value of type if it has been set.
References isTypeSet(), and resolve().
Referenced by getType().
|
inline |
|
inline |
Check whether target has been set.
References resolve().
Referenced by getTargetClass(), and getTargetURI().
|
inline |
|
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.
| listener | the 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(), and resolve().
|
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.
| framework | the framework instance |
| listener | the 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, and resolve().
Referenced by registerListener().
|
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.
| std::logic_error | if no mutator is active |
References CLASS_ID, and resolve().
Referenced by remove().
Remove the EpToUnivRSrc 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.
| uri | the URI of the object to remove |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the EpToUnivRSrc 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.
| framework | the framework instance to use |
| uri | the URI of the object to remove |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of EpToUnivRSrc 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: /DciDiscoverer/DciEp/DciEpToUnivRSrc
References resolve().
Referenced by getRole(), getRole(), getTargetClass(), getTargetClass(), getTargetURI(), getTargetURI(), getType(), getType(), isRoleSet(), isTargetSet(), isTypeSet(), registerListener(), registerListener(), remove(), remove(), remove(), resolve(), resolve(), resolve(), resolve(), modelgbp::dci::Ep::resolveDciEpToUnivRSrc(), setRole(), setTargetUniverse(), setTargetUniverse(), setType(), unregisterListener(), unregisterListener(), unsetRole(), unsetTarget(), and unsetType().
|
inlinestatic |
Retrieve an instance of EpToUnivRSrc 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.
| uri | the URI of the object to retrieve |
|
inlinestatic |
Retrieve an instance of EpToUnivRSrc 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: /DciDiscoverer/DciEp/DciEpToUnivRSrc
| framework | the framework instance to use |
References resolve().
|
inlinestatic |
Retrieve an instance of EpToUnivRSrc 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.
| framework | the framework instance to use |
| uri | the URI of the object to retrieve |
|
inline |
Set role to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Set the reference to point to an instance of Universe in the currently-active mutator by constructing its URI from the path elements that lead to it.
The reference URI generated by this function will take the form: /DciUniverse
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
|
inline |
Set type to the specified value in the currently-active mutator.
| newValue | the new value to set. |
| std::logic_error | if no mutator is active |
References resolve().
|
inlinestatic |
Unregister a listener from updates to this class from the default framework instance.
| listener | The listener to unregister. |
References resolve(), and unregisterListener().
|
inlinestatic |
Unregister a listener from updates to this class.
| framework | the framework instance |
| listener | The listener to unregister. |
References CLASS_ID, and resolve().
Referenced by unregisterListener().
|
inline |
Unset role in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset target in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset type in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().