class IfMgrNWayCommandTee

N-way IfMgr Command Tee. More...

Definition#include <ifmgr_cmd_queue.hh>
Template formIfMgrNWayCommandTee<typename SinkType = IfMgrCommandSinkBase>
InheritsIfMgrCommandSinkBase [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

Instances push commands pushed into them into multiple objects derived from IfMgrCommandSinkBase.

typedef IfMgrCommandSinkBase::Cmd Cmd

Cmd

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:
sinkreceiver 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:
sinkreceiver for commands pushed into instance.

Returns: true if sink is successfully remove, false otherwise.

SinkList _sinks

_sinks

[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.