modelgbp Generated OpFlex Model 1.7.0
modelgbp::gbpe::EpCounter Class Reference
Inheritance diagram for modelgbp::gbpe::EpCounter:

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::EpCountersetRxBroadcast (uint64_t newValue)
 Set rxBroadcast to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetRxBroadcast ()
 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::EpCountersetRxBytes (uint64_t newValue)
 Set rxBytes to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetRxBytes ()
 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::EpCountersetRxDrop (uint64_t newValue)
 Set rxDrop to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetRxDrop ()
 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::EpCountersetRxMulticast (uint64_t newValue)
 Set rxMulticast to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetRxMulticast ()
 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::EpCountersetRxPackets (uint64_t newValue)
 Set rxPackets to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetRxPackets ()
 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::EpCountersetRxUnicast (uint64_t newValue)
 Set rxUnicast to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetRxUnicast ()
 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::EpCountersetTxBroadcast (uint64_t newValue)
 Set txBroadcast to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetTxBroadcast ()
 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::EpCountersetTxBytes (uint64_t newValue)
 Set txBytes to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetTxBytes ()
 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::EpCountersetTxDrop (uint64_t newValue)
 Set txDrop to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetTxDrop ()
 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::EpCountersetTxMulticast (uint64_t newValue)
 Set txMulticast to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetTxMulticast ()
 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::EpCountersetTxPackets (uint64_t newValue)
 Set txPackets to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetTxPackets ()
 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::EpCountersetTxUnicast (uint64_t newValue)
 Set txUnicast to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetTxUnicast ()
 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::EpCountersetUuid (const std::string &newValue)
 Set uuid to the specified value in the currently-active mutator.
 
modelgbp::gbpe::EpCounterunsetUuid ()
 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.
 

Constructor & Destructor Documentation

◆ EpCounter()

modelgbp::gbpe::EpCounter::EpCounter ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri,
const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > & oi )
inline

Construct an instance of EpCounter.

This should not typically be called from user code.

References CLASS_ID.

Member Function Documentation

◆ getRxBroadcast() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getRxBroadcast ( )
inline

Get the value of rxBroadcast if it has been set.

Returns
the value of rxBroadcast or boost::none if not set

References isRxBroadcastSet().

Referenced by getRxBroadcast().

◆ getRxBroadcast() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getRxBroadcast ( uint64_t defaultValue)
inline

Get the value of rxBroadcast if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of rxBroadcast if set, otherwise the value of default passed in

References getRxBroadcast().

◆ getRxBytes() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getRxBytes ( )
inline

Get the value of rxBytes if it has been set.

Returns
the value of rxBytes or boost::none if not set

References isRxBytesSet().

Referenced by getRxBytes().

◆ getRxBytes() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getRxBytes ( uint64_t defaultValue)
inline

Get the value of rxBytes if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of rxBytes if set, otherwise the value of default passed in

References getRxBytes().

◆ getRxDrop() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getRxDrop ( )
inline

Get the value of rxDrop if it has been set.

Returns
the value of rxDrop or boost::none if not set

References isRxDropSet().

Referenced by getRxDrop().

◆ getRxDrop() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getRxDrop ( uint64_t defaultValue)
inline

Get the value of rxDrop if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of rxDrop if set, otherwise the value of default passed in

References getRxDrop().

◆ getRxMulticast() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getRxMulticast ( )
inline

Get the value of rxMulticast if it has been set.

Returns
the value of rxMulticast or boost::none if not set

References isRxMulticastSet().

Referenced by getRxMulticast().

◆ getRxMulticast() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getRxMulticast ( uint64_t defaultValue)
inline

Get the value of rxMulticast if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of rxMulticast if set, otherwise the value of default passed in

References getRxMulticast().

◆ getRxPackets() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getRxPackets ( )
inline

Get the value of rxPackets if it has been set.

Returns
the value of rxPackets or boost::none if not set

References isRxPacketsSet().

Referenced by getRxPackets().

◆ getRxPackets() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getRxPackets ( uint64_t defaultValue)
inline

Get the value of rxPackets if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of rxPackets if set, otherwise the value of default passed in

References getRxPackets().

◆ getRxUnicast() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getRxUnicast ( )
inline

Get the value of rxUnicast if it has been set.

Returns
the value of rxUnicast or boost::none if not set

References isRxUnicastSet().

Referenced by getRxUnicast().

◆ getRxUnicast() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getRxUnicast ( uint64_t defaultValue)
inline

Get the value of rxUnicast if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of rxUnicast if set, otherwise the value of default passed in

References getRxUnicast().

◆ getTxBroadcast() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getTxBroadcast ( )
inline

Get the value of txBroadcast if it has been set.

Returns
the value of txBroadcast or boost::none if not set

References isTxBroadcastSet().

Referenced by getTxBroadcast().

◆ getTxBroadcast() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getTxBroadcast ( uint64_t defaultValue)
inline

Get the value of txBroadcast if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of txBroadcast if set, otherwise the value of default passed in

References getTxBroadcast().

◆ getTxBytes() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getTxBytes ( )
inline

Get the value of txBytes if it has been set.

Returns
the value of txBytes or boost::none if not set

References isTxBytesSet().

Referenced by getTxBytes().

◆ getTxBytes() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getTxBytes ( uint64_t defaultValue)
inline

Get the value of txBytes if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of txBytes if set, otherwise the value of default passed in

References getTxBytes().

◆ getTxDrop() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getTxDrop ( )
inline

Get the value of txDrop if it has been set.

Returns
the value of txDrop or boost::none if not set

References isTxDropSet().

Referenced by getTxDrop().

◆ getTxDrop() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getTxDrop ( uint64_t defaultValue)
inline

Get the value of txDrop if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of txDrop if set, otherwise the value of default passed in

References getTxDrop().

◆ getTxMulticast() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getTxMulticast ( )
inline

Get the value of txMulticast if it has been set.

Returns
the value of txMulticast or boost::none if not set

References isTxMulticastSet().

Referenced by getTxMulticast().

◆ getTxMulticast() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getTxMulticast ( uint64_t defaultValue)
inline

Get the value of txMulticast if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of txMulticast if set, otherwise the value of default passed in

References getTxMulticast().

◆ getTxPackets() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getTxPackets ( )
inline

Get the value of txPackets if it has been set.

Returns
the value of txPackets or boost::none if not set

References isTxPacketsSet().

Referenced by getTxPackets().

◆ getTxPackets() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getTxPackets ( uint64_t defaultValue)
inline

Get the value of txPackets if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of txPackets if set, otherwise the value of default passed in

References getTxPackets().

◆ getTxUnicast() [1/2]

boost::optional< uint64_t > modelgbp::gbpe::EpCounter::getTxUnicast ( )
inline

Get the value of txUnicast if it has been set.

Returns
the value of txUnicast or boost::none if not set

References isTxUnicastSet().

Referenced by getTxUnicast().

◆ getTxUnicast() [2/2]

uint64_t modelgbp::gbpe::EpCounter::getTxUnicast ( uint64_t defaultValue)
inline

Get the value of txUnicast if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of txUnicast if set, otherwise the value of default passed in

References getTxUnicast().

◆ getUuid() [1/2]

boost::optional< const std::string & > modelgbp::gbpe::EpCounter::getUuid ( )
inline

Get the value of uuid if it has been set.

Returns
the value of uuid or boost::none if not set

References isUuidSet().

Referenced by getUuid().

◆ getUuid() [2/2]

const std::string & modelgbp::gbpe::EpCounter::getUuid ( const std::string & defaultValue)
inline

Get the value of uuid if set, otherwise the value of default passed in.

Parameters
defaultValuedefault value returned if the property is not set
Returns
the value of uuid if set, otherwise the value of default passed in

References getUuid().

◆ isRxBroadcastSet()

bool modelgbp::gbpe::EpCounter::isRxBroadcastSet ( )
inline

Check whether rxBroadcast has been set.

Returns
true if rxBroadcast has been set

Referenced by getRxBroadcast().

◆ isRxBytesSet()

bool modelgbp::gbpe::EpCounter::isRxBytesSet ( )
inline

Check whether rxBytes has been set.

Returns
true if rxBytes has been set

Referenced by getRxBytes().

◆ isRxDropSet()

bool modelgbp::gbpe::EpCounter::isRxDropSet ( )
inline

Check whether rxDrop has been set.

Returns
true if rxDrop has been set

Referenced by getRxDrop().

◆ isRxMulticastSet()

bool modelgbp::gbpe::EpCounter::isRxMulticastSet ( )
inline

Check whether rxMulticast has been set.

Returns
true if rxMulticast has been set

Referenced by getRxMulticast().

◆ isRxPacketsSet()

bool modelgbp::gbpe::EpCounter::isRxPacketsSet ( )
inline

Check whether rxPackets has been set.

Returns
true if rxPackets has been set

Referenced by getRxPackets().

◆ isRxUnicastSet()

bool modelgbp::gbpe::EpCounter::isRxUnicastSet ( )
inline

Check whether rxUnicast has been set.

Returns
true if rxUnicast has been set

Referenced by getRxUnicast().

◆ isTxBroadcastSet()

bool modelgbp::gbpe::EpCounter::isTxBroadcastSet ( )
inline

Check whether txBroadcast has been set.

Returns
true if txBroadcast has been set

Referenced by getTxBroadcast().

◆ isTxBytesSet()

bool modelgbp::gbpe::EpCounter::isTxBytesSet ( )
inline

Check whether txBytes has been set.

Returns
true if txBytes has been set

Referenced by getTxBytes().

◆ isTxDropSet()

bool modelgbp::gbpe::EpCounter::isTxDropSet ( )
inline

Check whether txDrop has been set.

Returns
true if txDrop has been set

Referenced by getTxDrop().

◆ isTxMulticastSet()

bool modelgbp::gbpe::EpCounter::isTxMulticastSet ( )
inline

Check whether txMulticast has been set.

Returns
true if txMulticast has been set

Referenced by getTxMulticast().

◆ isTxPacketsSet()

bool modelgbp::gbpe::EpCounter::isTxPacketsSet ( )
inline

Check whether txPackets has been set.

Returns
true if txPackets has been set

Referenced by getTxPackets().

◆ isTxUnicastSet()

bool modelgbp::gbpe::EpCounter::isTxUnicastSet ( )
inline

Check whether txUnicast has been set.

Returns
true if txUnicast has been set

Referenced by getTxUnicast().

◆ isUuidSet()

bool modelgbp::gbpe::EpCounter::isUuidSet ( )
inline

Check whether uuid has been set.

Returns
true if uuid has been set

Referenced by getUuid().

◆ registerListener() [1/2]

static void modelgbp::gbpe::EpCounter::registerListener ( opflex::modb::ObjectListener * listener)
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.

Parameters
listenerthe 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().

◆ registerListener() [2/2]

static void modelgbp::gbpe::EpCounter::registerListener ( opflex::ofcore::OFFramework & framework,
opflex::modb::ObjectListener * listener )
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.

Parameters
frameworkthe framework instance
listenerthe 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.

Referenced by registerListener().

◆ remove() [1/5]

void modelgbp::gbpe::EpCounter::remove ( )
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.

Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

Referenced by remove(), and remove().

◆ remove() [2/5]

static void modelgbp::gbpe::EpCounter::remove ( const opflex::modb::URI & uri)
inlinestatic

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.

Parameters
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References remove().

◆ remove() [3/5]

static void modelgbp::gbpe::EpCounter::remove ( const std::string & gbpeEpCounterUuid)
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/GbpeEpCounter/[gbpeEpCounterUuid]

Parameters
gbpeEpCounterUuidthe value of gbpeEpCounterUuid, a naming property for EpCounter
Exceptions
std::logic_errorif no mutator is active

References remove().

◆ remove() [4/5]

static void modelgbp::gbpe::EpCounter::remove ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri )
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.

Parameters
frameworkthe framework instance to use
urithe URI of the object to remove
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ remove() [5/5]

static void modelgbp::gbpe::EpCounter::remove ( opflex::ofcore::OFFramework & framework,
const std::string & gbpeEpCounterUuid )
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]

Parameters
frameworkthe framework instance to use
gbpeEpCounterUuidthe value of gbpeEpCounterUuid, a naming property for EpCounter
Exceptions
std::logic_errorif no mutator is active

References CLASS_ID.

◆ resolve() [1/4]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > modelgbp::gbpe::EpCounter::resolve ( const opflex::modb::URI & uri)
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.

Parameters
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

◆ resolve() [2/4]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > modelgbp::gbpe::EpCounter::resolve ( const std::string & gbpeEpCounterUuid)
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]

Parameters
gbpeEpCounterUuidthe value of gbpeEpCounterUuid, a naming property for EpCounter
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

◆ resolve() [3/4]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > modelgbp::gbpe::EpCounter::resolve ( opflex::ofcore::OFFramework & framework,
const opflex::modb::URI & uri )
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.

Parameters
frameworkthe framework instance to use
urithe URI of the object to retrieve
Returns
a shared pointer to the object or boost::none if it does not exist.

References CLASS_ID.

Referenced by resolve(), resolve(), and modelgbp::observer::EpStatUniverse::resolveGbpeEpCounter().

◆ resolve() [4/4]

static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::EpCounter > > modelgbp::gbpe::EpCounter::resolve ( opflex::ofcore::OFFramework & framework,
const std::string & gbpeEpCounterUuid )
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]

Parameters
frameworkthe framework instance to use
gbpeEpCounterUuidthe value of gbpeEpCounterUuid, a naming property for EpCounter
Returns
a shared pointer to the object or boost::none if it does not exist.

References resolve().

◆ setRxBroadcast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setRxBroadcast ( uint64_t newValue)
inline

Set rxBroadcast to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setRxBytes()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setRxBytes ( uint64_t newValue)
inline

Set rxBytes to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setRxDrop()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setRxDrop ( uint64_t newValue)
inline

Set rxDrop to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setRxMulticast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setRxMulticast ( uint64_t newValue)
inline

Set rxMulticast to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setRxPackets()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setRxPackets ( uint64_t newValue)
inline

Set rxPackets to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setRxUnicast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setRxUnicast ( uint64_t newValue)
inline

Set rxUnicast to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setTxBroadcast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setTxBroadcast ( uint64_t newValue)
inline

Set txBroadcast to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setTxBytes()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setTxBytes ( uint64_t newValue)
inline

Set txBytes to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setTxDrop()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setTxDrop ( uint64_t newValue)
inline

Set txDrop to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setTxMulticast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setTxMulticast ( uint64_t newValue)
inline

Set txMulticast to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setTxPackets()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setTxPackets ( uint64_t newValue)
inline

Set txPackets to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setTxUnicast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setTxUnicast ( uint64_t newValue)
inline

Set txUnicast to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ setUuid()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::setUuid ( const std::string & newValue)
inline

Set uuid to the specified value in the currently-active mutator.

Parameters
newValuethe new value to set.
Returns
a reference to the current object
Exceptions
std::logic_errorif no mutator is active
See also
opflex::modb::Mutator

◆ unregisterListener() [1/2]

static void modelgbp::gbpe::EpCounter::unregisterListener ( opflex::modb::ObjectListener * listener)
inlinestatic

Unregister a listener from updates to this class from the default framework instance.

Parameters
listenerThe listener to unregister.

References unregisterListener().

◆ unregisterListener() [2/2]

static void modelgbp::gbpe::EpCounter::unregisterListener ( opflex::ofcore::OFFramework & framework,
opflex::modb::ObjectListener * listener )
inlinestatic

Unregister a listener from updates to this class.

Parameters
frameworkthe framework instance
listenerThe listener to unregister.

References CLASS_ID.

Referenced by unregisterListener().

◆ unsetRxBroadcast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetRxBroadcast ( )
inline

Unset rxBroadcast in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetRxBytes()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetRxBytes ( )
inline

Unset rxBytes in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetRxDrop()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetRxDrop ( )
inline

Unset rxDrop in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetRxMulticast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetRxMulticast ( )
inline

Unset rxMulticast in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetRxPackets()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetRxPackets ( )
inline

Unset rxPackets in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetRxUnicast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetRxUnicast ( )
inline

Unset rxUnicast in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetTxBroadcast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetTxBroadcast ( )
inline

Unset txBroadcast in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetTxBytes()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetTxBytes ( )
inline

Unset txBytes in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetTxDrop()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetTxDrop ( )
inline

Unset txDrop in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetTxMulticast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetTxMulticast ( )
inline

Unset txMulticast in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetTxPackets()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetTxPackets ( )
inline

Unset txPackets in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetTxUnicast()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetTxUnicast ( )
inline

Unset txUnicast in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

◆ unsetUuid()

modelgbp::gbpe::EpCounter & modelgbp::gbpe::EpCounter::unsetUuid ( )
inline

Unset uuid in the currently-active mutator.

Exceptions
std::logic_errorif no mutator is active
Returns
a reference to the current object
See also
opflex::modb::Mutator

The documentation for this class was generated from the following file: