senf::ppi::ForwardingRoute Class Reference
Forwarding route base class.
More...
#include <senf/PPI/Route.hh>
List of all members.
Detailed Description
Forwarding route base class.
All routes which may forward control information are based on ForwardingRoute. ForwardingRoute provides methods to control and query the throttling behavior.
Definition at line 81 of file Route.hh.
Constructor & Destructor Documentation
senf::ppi::ForwardingRoute:: |
ForwardingRoute |
( |
module::Module & |
module |
) |
|
Member Function Documentation
void senf::ppi::ForwardingRoute:: |
autoThrottling |
( |
bool |
state |
) |
|
Change automatic throttle notification forwarding.
By default, throttle notifications are automatically forwarded from active to passive connectors. This may be disabled by setting the authoThrottling state to false
.
Routing from/to an event to/from a passive connector will automatically create throttling notifications on the connector whenever the event is disabled. Routing form/to an event to/from an active connector will disable the event whenever a throttling notification comes in. Respective for unthrottle notifications.
- Parameters:
-
[in] |
state |
New throttle forwarding state |
Definition at line 67 of file Route.cci.
bool senf::ppi::ForwardingRoute:: |
autoThrottling |
() |
|
|
|
|
Query current autoThrottling state.
Definition at line 61 of file Route.cci.
template<class T >
void senf::ppi::ForwardingRoute:: |
notifyThrottle |
( |
T & |
ob |
) |
|
template<class T >
void senf::ppi::ForwardingRoute:: |
notifyUnthrottle |
( |
T & |
ob |
) |
|
template<class T >
void senf::ppi::ForwardingRoute:: |
registerRoute |
( |
T & |
ob |
) |
|
bool senf::ppi::ForwardingRoute:: |
throttled |
() |
|
|
|
|
true
, if the route is throttled
This member checks only the automatic throttling state. If autoThrottling() is false
, this member will always return false
.
Definition at line 72 of file Route.cci.
template<class T >
void senf::ppi::ForwardingRoute:: |
unregisterRoute |
( |
T & |
ob |
) |
|
The documentation for this class was generated from the following files: