class IfMgrNWayCommandTee

N-way IfMgr Command Tee. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

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 kobe.xorp.net on Wed Jan 7 19:10:54 2009, using kdoc 2.0a54+XORP.