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: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:48 2008, using kdoc 2.0a54+XORP.