|
bool | isRxDropSet () |
| Check whether rxDrop has been set.
|
|
boost::optional< uint64_t > | getRxDrop () |
| Get the value of rxDrop if it has been set.
|
|
uint64_t | getRxDrop (uint64_t defaultValue) |
| Get the value of rxDrop if set, otherwise the value of default passed in.
|
|
modelgbp::dfw::EpCounter & | setRxDrop (uint64_t newValue) |
| Set rxDrop to the specified value in the currently-active mutator.
|
|
modelgbp::dfw::EpCounter & | unsetRxDrop () |
| Unset rxDrop in the currently-active mutator.
|
|
bool | isTxDropSet () |
| Check whether txDrop has been set.
|
|
boost::optional< uint64_t > | getTxDrop () |
| Get the value of txDrop if it has been set.
|
|
uint64_t | getTxDrop (uint64_t defaultValue) |
| Get the value of txDrop if set, otherwise the value of default passed in.
|
|
modelgbp::dfw::EpCounter & | setTxDrop (uint64_t newValue) |
| Set txDrop to the specified value in the currently-active mutator.
|
|
modelgbp::dfw::EpCounter & | unsetTxDrop () |
| Unset txDrop in the currently-active mutator.
|
|
bool | isUuidSet () |
| Check whether uuid has been set.
|
|
boost::optional< const std::string & > | getUuid () |
| Get the value of uuid if it has been set.
|
|
const std::string & | getUuid (const std::string &defaultValue) |
| Get the value of uuid if set, otherwise the value of default passed in.
|
|
modelgbp::dfw::EpCounter & | setUuid (const std::string &newValue) |
| Set uuid to the specified value in the currently-active mutator.
|
|
modelgbp::dfw::EpCounter & | unsetUuid () |
| Unset uuid in the currently-active mutator.
|
|
void | remove () |
| Remove this instance using the currently-active mutator.
|
|
| EpCounter (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi) |
| Construct an instance of EpCounter.
|
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::dfw::EpCounter > > | resolve (opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri) |
| Retrieve an instance of EpCounter from the managed object store.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::dfw::EpCounter > > | resolve (const opflex::modb::URI &uri) |
| Retrieve an instance of EpCounter from the managed object store using the default framework instance.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::dfw::EpCounter > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &dfwEpCounterUuid) |
| Retrieve an instance of EpCounter from the managed object store by constructing its URI from the path elements that lead to it.
|
|
static boost::optional< OF_SHARED_PTR< modelgbp::dfw::EpCounter > > | resolve (const std::string &dfwEpCounterUuid) |
| Retrieve an instance of EpCounter 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 EpCounter object with the specified URI using the currently-active mutator.
|
|
static void | remove (const opflex::modb::URI &uri) |
| Remove the EpCounter object with the specified URI using the currently-active mutator and the default framework instance.
|
|
static void | remove (opflex::ofcore::OFFramework &framework, const std::string &dfwEpCounterUuid) |
| Remove the EpCounter object with the specified path elements from the managed object store.
|
|
static void | remove (const std::string &dfwEpCounterUuid) |
| Remove the EpCounter object with the specified path elements from the managed object store using 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 void modelgbp::dfw::EpCounter::remove |
( |
const std::string & | dfwEpCounterUuid | ) |
|
|
inlinestatic |
Remove the EpCounter 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: /ObserverEpStatUniverse/DfwEpCounter/[dfwEpCounterUuid]
- Parameters
-
dfwEpCounterUuid | the value of dfwEpCounterUuid, a naming property for EpCounter |
- Exceptions
-
std::logic_error | if no mutator is active |
References remove().
static void modelgbp::dfw::EpCounter::remove |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | dfwEpCounterUuid ) |
|
inlinestatic |
Remove the EpCounter 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: /ObserverEpStatUniverse/DfwEpCounter/[dfwEpCounterUuid]
- Parameters
-
framework | the framework instance to use |
dfwEpCounterUuid | the value of dfwEpCounterUuid, a naming property for EpCounter |
- Exceptions
-
std::logic_error | if no mutator is active |
References CLASS_ID.
static boost::optional< OF_SHARED_PTR< modelgbp::dfw::EpCounter > > modelgbp::dfw::EpCounter::resolve |
( |
const std::string & | dfwEpCounterUuid | ) |
|
|
inlinestatic |
Retrieve an instance of EpCounter 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: /ObserverEpStatUniverse/DfwEpCounter/[dfwEpCounterUuid]
- Parameters
-
dfwEpCounterUuid | the value of dfwEpCounterUuid, a naming property for EpCounter |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().
static boost::optional< OF_SHARED_PTR< modelgbp::dfw::EpCounter > > modelgbp::dfw::EpCounter::resolve |
( |
opflex::ofcore::OFFramework & | framework, |
|
|
const std::string & | dfwEpCounterUuid ) |
|
inlinestatic |
Retrieve an instance of EpCounter 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: /ObserverEpStatUniverse/DfwEpCounter/[dfwEpCounterUuid]
- Parameters
-
framework | the framework instance to use |
dfwEpCounterUuid | the value of dfwEpCounterUuid, a naming property for EpCounter |
- Returns
- a shared pointer to the object or boost::none if it does not exist.
References resolve().