|
modelgbp Generated OpFlex Model 1.7.0
|
Public Member Functions | |
| bool | isRxBroadcastSet () |
| Check whether rxBroadcast has been set. | |
| boost::optional< uint64_t > | getRxBroadcast () |
| Get the value of rxBroadcast if it has been set. | |
| uint64_t | getRxBroadcast (uint64_t defaultValue) |
| Get the value of rxBroadcast if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setRxBroadcast (uint64_t newValue) |
| Set rxBroadcast to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetRxBroadcast () |
| Unset rxBroadcast in the currently-active mutator. | |
| bool | isRxBytesSet () |
| Check whether rxBytes has been set. | |
| boost::optional< uint64_t > | getRxBytes () |
| Get the value of rxBytes if it has been set. | |
| uint64_t | getRxBytes (uint64_t defaultValue) |
| Get the value of rxBytes if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setRxBytes (uint64_t newValue) |
| Set rxBytes to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetRxBytes () |
| Unset rxBytes in the currently-active mutator. | |
| 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::gbpe::EpCounter & | setRxDrop (uint64_t newValue) |
| Set rxDrop to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetRxDrop () |
| Unset rxDrop in the currently-active mutator. | |
| bool | isRxMulticastSet () |
| Check whether rxMulticast has been set. | |
| boost::optional< uint64_t > | getRxMulticast () |
| Get the value of rxMulticast if it has been set. | |
| uint64_t | getRxMulticast (uint64_t defaultValue) |
| Get the value of rxMulticast if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setRxMulticast (uint64_t newValue) |
| Set rxMulticast to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetRxMulticast () |
| Unset rxMulticast in the currently-active mutator. | |
| bool | isRxPacketsSet () |
| Check whether rxPackets has been set. | |
| boost::optional< uint64_t > | getRxPackets () |
| Get the value of rxPackets if it has been set. | |
| uint64_t | getRxPackets (uint64_t defaultValue) |
| Get the value of rxPackets if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setRxPackets (uint64_t newValue) |
| Set rxPackets to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetRxPackets () |
| Unset rxPackets in the currently-active mutator. | |
| bool | isRxUnicastSet () |
| Check whether rxUnicast has been set. | |
| boost::optional< uint64_t > | getRxUnicast () |
| Get the value of rxUnicast if it has been set. | |
| uint64_t | getRxUnicast (uint64_t defaultValue) |
| Get the value of rxUnicast if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setRxUnicast (uint64_t newValue) |
| Set rxUnicast to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetRxUnicast () |
| Unset rxUnicast in the currently-active mutator. | |
| bool | isTxBroadcastSet () |
| Check whether txBroadcast has been set. | |
| boost::optional< uint64_t > | getTxBroadcast () |
| Get the value of txBroadcast if it has been set. | |
| uint64_t | getTxBroadcast (uint64_t defaultValue) |
| Get the value of txBroadcast if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setTxBroadcast (uint64_t newValue) |
| Set txBroadcast to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetTxBroadcast () |
| Unset txBroadcast in the currently-active mutator. | |
| bool | isTxBytesSet () |
| Check whether txBytes has been set. | |
| boost::optional< uint64_t > | getTxBytes () |
| Get the value of txBytes if it has been set. | |
| uint64_t | getTxBytes (uint64_t defaultValue) |
| Get the value of txBytes if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setTxBytes (uint64_t newValue) |
| Set txBytes to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetTxBytes () |
| Unset txBytes 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::gbpe::EpCounter & | setTxDrop (uint64_t newValue) |
| Set txDrop to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetTxDrop () |
| Unset txDrop in the currently-active mutator. | |
| bool | isTxMulticastSet () |
| Check whether txMulticast has been set. | |
| boost::optional< uint64_t > | getTxMulticast () |
| Get the value of txMulticast if it has been set. | |
| uint64_t | getTxMulticast (uint64_t defaultValue) |
| Get the value of txMulticast if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setTxMulticast (uint64_t newValue) |
| Set txMulticast to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetTxMulticast () |
| Unset txMulticast in the currently-active mutator. | |
| bool | isTxPacketsSet () |
| Check whether txPackets has been set. | |
| boost::optional< uint64_t > | getTxPackets () |
| Get the value of txPackets if it has been set. | |
| uint64_t | getTxPackets (uint64_t defaultValue) |
| Get the value of txPackets if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setTxPackets (uint64_t newValue) |
| Set txPackets to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetTxPackets () |
| Unset txPackets in the currently-active mutator. | |
| bool | isTxUnicastSet () |
| Check whether txUnicast has been set. | |
| boost::optional< uint64_t > | getTxUnicast () |
| Get the value of txUnicast if it has been set. | |
| uint64_t | getTxUnicast (uint64_t defaultValue) |
| Get the value of txUnicast if set, otherwise the value of default passed in. | |
| modelgbp::gbpe::EpCounter & | setTxUnicast (uint64_t newValue) |
| Set txUnicast to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::EpCounter & | unsetTxUnicast () |
| Unset txUnicast 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::gbpe::EpCounter & | setUuid (const std::string &newValue) |
| Set uuid to the specified value in the currently-active mutator. | |
| modelgbp::gbpe::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 Public Member Functions | |
| static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::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::gbpe::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::gbpe::EpCounter > > | resolve (opflex::ofcore::OFFramework &framework, const std::string &gbpeEpCounterUuid) |
| 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::gbpe::EpCounter > > | resolve (const std::string &gbpeEpCounterUuid) |
| 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 &gbpeEpCounterUuid) |
| Remove the EpCounter object with the specified path elements from the managed object store. | |
| static void | remove (const std::string &gbpeEpCounterUuid) |
| 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 Public Attributes | |
| static const opflex::modb::class_id_t | CLASS_ID = 43 |
| The unique class ID for EpCounter. | |
|
inline |
Construct an instance of EpCounter.
This should not typically be called from user code.
|
inline |
Get the value of rxBroadcast if it has been set.
References isRxBroadcastSet(), and resolve().
Referenced by getRxBroadcast().
Get the value of rxBroadcast if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxBroadcast(), and resolve().
|
inline |
Get the value of rxBytes if it has been set.
References isRxBytesSet(), and resolve().
Referenced by getRxBytes().
Get the value of rxBytes if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxBytes(), and resolve().
|
inline |
Get the value of rxDrop if it has been set.
References isRxDropSet(), and resolve().
Referenced by getRxDrop().
Get the value of rxDrop if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxDrop(), and resolve().
|
inline |
Get the value of rxMulticast if it has been set.
References isRxMulticastSet(), and resolve().
Referenced by getRxMulticast().
Get the value of rxMulticast if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxMulticast(), and resolve().
|
inline |
Get the value of rxPackets if it has been set.
References isRxPacketsSet(), and resolve().
Referenced by getRxPackets().
Get the value of rxPackets if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxPackets(), and resolve().
|
inline |
Get the value of rxUnicast if it has been set.
References isRxUnicastSet(), and resolve().
Referenced by getRxUnicast().
Get the value of rxUnicast if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getRxUnicast(), and resolve().
|
inline |
Get the value of txBroadcast if it has been set.
References isTxBroadcastSet(), and resolve().
Referenced by getTxBroadcast().
Get the value of txBroadcast if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxBroadcast(), and resolve().
|
inline |
Get the value of txBytes if it has been set.
References isTxBytesSet(), and resolve().
Referenced by getTxBytes().
Get the value of txBytes if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxBytes(), and resolve().
|
inline |
Get the value of txDrop if it has been set.
References isTxDropSet(), and resolve().
Referenced by getTxDrop().
Get the value of txDrop if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxDrop(), and resolve().
|
inline |
Get the value of txMulticast if it has been set.
References isTxMulticastSet(), and resolve().
Referenced by getTxMulticast().
Get the value of txMulticast if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxMulticast(), and resolve().
|
inline |
Get the value of txPackets if it has been set.
References isTxPacketsSet(), and resolve().
Referenced by getTxPackets().
Get the value of txPackets if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxPackets(), and resolve().
|
inline |
Get the value of txUnicast if it has been set.
References isTxUnicastSet(), and resolve().
Referenced by getTxUnicast().
Get the value of txUnicast if set, otherwise the value of default passed in.
| defaultValue | default value returned if the property is not set |
References getTxUnicast(), and resolve().
|
inline |
Get the value of uuid if it has been set.
References isUuidSet(), and resolve().
Referenced by getUuid().
|
inline |
Check whether rxBroadcast has been set.
References resolve().
Referenced by getRxBroadcast().
|
inline |
Check whether rxBytes has been set.
References resolve().
Referenced by getRxBytes().
|
inline |
Check whether rxDrop has been set.
References resolve().
Referenced by getRxDrop().
|
inline |
Check whether rxMulticast has been set.
References resolve().
Referenced by getRxMulticast().
|
inline |
Check whether rxPackets has been set.
References resolve().
Referenced by getRxPackets().
|
inline |
Check whether rxUnicast has been set.
References resolve().
Referenced by getRxUnicast().
|
inline |
Check whether txBroadcast has been set.
References resolve().
Referenced by getTxBroadcast().
|
inline |
Check whether txBytes has been set.
References resolve().
Referenced by getTxBytes().
|
inline |
Check whether txDrop has been set.
References resolve().
Referenced by getTxDrop().
|
inline |
Check whether txMulticast has been set.
References resolve().
Referenced by getTxMulticast().
|
inline |
Check whether txPackets has been set.
References resolve().
Referenced by getTxPackets().
|
inline |
Check whether txUnicast has been set.
References resolve().
Referenced by getTxUnicast().
|
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 the EpCounter 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 |
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/GbpeEpCounter/[gbpeEpCounterUuid]
| gbpeEpCounterUuid | the value of gbpeEpCounterUuid, a naming property for EpCounter |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Remove the EpCounter 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 |
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/GbpeEpCounter/[gbpeEpCounterUuid]
| framework | the framework instance to use |
| gbpeEpCounterUuid | the value of gbpeEpCounterUuid, a naming property for EpCounter |
| std::logic_error | if no mutator is active |
|
inlinestatic |
Retrieve an instance of EpCounter 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 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/GbpeEpCounter/[gbpeEpCounterUuid]
| gbpeEpCounterUuid | the value of gbpeEpCounterUuid, a naming property for EpCounter |
References resolve().
|
inlinestatic |
Retrieve an instance of EpCounter 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 |
References CLASS_ID, and resolve().
Referenced by getRxBroadcast(), getRxBroadcast(), getRxBytes(), getRxBytes(), getRxDrop(), getRxDrop(), getRxMulticast(), getRxMulticast(), getRxPackets(), getRxPackets(), getRxUnicast(), getRxUnicast(), getTxBroadcast(), getTxBroadcast(), getTxBytes(), getTxBytes(), getTxDrop(), getTxDrop(), getTxMulticast(), getTxMulticast(), getTxPackets(), getTxPackets(), getTxUnicast(), getTxUnicast(), getUuid(), getUuid(), isRxBroadcastSet(), isRxBytesSet(), isRxDropSet(), isRxMulticastSet(), isRxPacketsSet(), isRxUnicastSet(), isTxBroadcastSet(), isTxBytesSet(), isTxDropSet(), isTxMulticastSet(), isTxPacketsSet(), isTxUnicastSet(), isUuidSet(), registerListener(), registerListener(), remove(), remove(), remove(), remove(), remove(), resolve(), resolve(), resolve(), resolve(), modelgbp::observer::EpStatUniverse::resolveGbpeEpCounter(), setRxBroadcast(), setRxBytes(), setRxDrop(), setRxMulticast(), setRxPackets(), setRxUnicast(), setTxBroadcast(), setTxBytes(), setTxDrop(), setTxMulticast(), setTxPackets(), setTxUnicast(), setUuid(), unregisterListener(), unregisterListener(), unsetRxBroadcast(), unsetRxBytes(), unsetRxDrop(), unsetRxMulticast(), unsetRxPackets(), unsetRxUnicast(), unsetTxBroadcast(), unsetTxBytes(), unsetTxDrop(), unsetTxMulticast(), unsetTxPackets(), unsetTxUnicast(), and unsetUuid().
|
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/GbpeEpCounter/[gbpeEpCounterUuid]
| framework | the framework instance to use |
| gbpeEpCounterUuid | the value of gbpeEpCounterUuid, a naming property for EpCounter |
References resolve().
|
inline |
Set rxBroadcast 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 rxBytes 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 rxDrop 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 rxMulticast 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 rxPackets 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 rxUnicast 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 txBroadcast 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 txBytes 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 txDrop 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 txMulticast 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 txPackets 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 txUnicast 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 uuid 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 rxBroadcast in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset rxBytes in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset rxDrop in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset rxMulticast in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset rxPackets in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset rxUnicast in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txBroadcast in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txBytes in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txDrop in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txMulticast in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txPackets in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset txUnicast in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().
|
inline |
Unset uuid in the currently-active mutator.
| std::logic_error | if no mutator is active |
References resolve().