Nemiver  0.3
Public Member Functions | List of all members
nemiver::OutputHandlerList Class Reference

#include <nmv-dbg-common.h>

Inheritance diagram for nemiver::OutputHandlerList:
nemiver::common::Object

Public Member Functions

 OutputHandlerList ()
 
 ~OutputHandlerList ()
 
void add (const OutputHandlerSafePtr &a_handler)
 
void submit_command_and_output (CommandAndOutput &a_cao)
 

Detailed Description

A list of OutputHandlers Instances of CommandAndOutput can be submitted to this list or OutputHandlers. Upon submission of a CommandAndOutput, each OutputHandler of the list is queried (by a call on OutputHandler::can_handle()) to see if it wants to 'handle' the submitted CommandAndOutput. If it wants to handle it, then it is called on OutputHandler::do_handle() so that it has a chance to handle the output. This is the mechanism that must be used to send signals about the state of implementations of IDebugger.

Constructor & Destructor Documentation

◆ OutputHandlerList()

nemiver::OutputHandlerList::OutputHandlerList ( )

◆ ~OutputHandlerList()

nemiver::OutputHandlerList::~OutputHandlerList ( )

Member Function Documentation

◆ add()

void nemiver::OutputHandlerList::add ( const OutputHandlerSafePtr a_handler)

◆ submit_command_and_output()

void nemiver::OutputHandlerList::submit_command_and_output ( CommandAndOutput a_cao)

The documentation for this class was generated from the following file: