class IfMgrNWayCommandTee
|
N-way IfMgr Command Tee.
More... |
|
|
Public Types
- typedef IfMgrCommandSinkBase::Cmd Cmd
- typedef list<SinkType*> SinkList
Public Methods
Protected Methods
- template <typename SinkType>
void
push (const Cmd& cmd)
- template <typename SinkType>
bool
add_sink (SinkType* o)
- template <typename SinkType>
bool
remove_sink (SinkType* o)
Protected Members
Instances push commands pushed into them into multiple objects derived
from IfMgrCommandSinkBase.
typedef list<SinkType*> SinkList | SinkList |
void push (const Cmd& cmd)
| push |
Reimplemented from IfMgrCommandSinkBase.
bool add_sink (SinkType* sink)
| add_sink |
Add an additional output for pushed commands.
Parameters:
sink | receiver for commands pushed into instance.
|
Returns: true if sink is successfully added, false otherwise.
bool remove_sink (SinkType* sink)
| remove_sink |
Remove an sink for pushed commands.
Parameters:
sink | receiver for commands pushed into instance.
|
Returns: true if sink is successfully remove, false otherwise.
[protected]
template <typename SinkType>
void
push (const Cmd& cmd)
| push |
[protected]
Reimplemented from IfMgrCommandSinkBase.
template <typename SinkType>
bool
add_sink (SinkType* o)
| add_sink |
[protected]
template <typename SinkType>
bool
remove_sink (SinkType* o)
| remove_sink |
[protected]
Generated by: pavlin on possum.icir.org on Thu Nov 6 23:46:59 2003, using kdoc 2.0a54+XORP. |