|
| ||||||||||||||||
This class buffers exactly one Interface Manager Command (IfMgrCommandBase) and applies it to an Interface Manager Configuration Tree (IfMgrIfTree) when it's execute() method is called.
| typedef IfMgrCommandSinkBase::Cmd Cmd | Cmd |
| IfMgrCommandDispatcher (IfMgrIfTree& tree)
| IfMgrCommandDispatcher |
Constructor
Parameters:
| tree | configuration tree to apply commands to. |
| void push (const Cmd& cmd)
| push |
Push a command into local storage ready for execution.
Reimplemented from IfMgrCommandSinkBase.
| bool execute ()
| execute |
[virtual]
Execute command.
Returns: command return status (true indicates success, false failure).
| Cmd _cmd | _cmd |
[protected]
| IfMgrIfTree& _iftree | _iftree |
[protected]