#include <misc_types.h>
Public Member Functions | |
void | dispatch (const Event &ev) |
EventHandler (Event::Verbosity verbosity=Event::verbosity_quiet) | |
virtual void | onEvent (const Event &) |
virtual bool | onModel (const Solver &s, const Model &m) |
void | setVerbosity (Event::Subsystem sys, Event::Verbosity verb) |
virtual | ~EventHandler () |
Private Member Functions | |
EventHandler (const EventHandler &) | |
EventHandler & | operator= (const EventHandler &) |
Private Attributes | |
uint8 | verbosity_ [4] |
Definition at line 83 of file misc_types.h.
Clasp::EventHandler::EventHandler | ( | Event::Verbosity | verbosity = Event::verbosity_quiet | ) | [inline, explicit] |
Definition at line 85 of file misc_types.h.
Clasp::EventHandler::~EventHandler | ( | ) | [virtual] |
Definition at line 482 of file shared_context.cpp.
Clasp::EventHandler::EventHandler | ( | const EventHandler & | ) | [private] |
void Clasp::EventHandler::dispatch | ( | const Event & | ev | ) | [inline] |
Definition at line 92 of file misc_types.h.
virtual void Clasp::EventHandler::onEvent | ( | const Event & | ) | [inline, virtual] |
Reimplemented in Clasp::Cli::TextOutput, Clasp::Cli::ClaspAppBase, and Clasp::Cli::Output.
Definition at line 95 of file misc_types.h.
virtual bool Clasp::EventHandler::onModel | ( | const Solver & | s, |
const Model & | m | ||
) | [inline, virtual] |
Reimplemented in Clasp::ClaspFacade, Clasp::Cli::ClaspAppBase, Clasp::Cli::Output, and ModelPrinter.
Definition at line 96 of file misc_types.h.
EventHandler& Clasp::EventHandler::operator= | ( | const EventHandler & | ) | [private] |
void Clasp::EventHandler::setVerbosity | ( | Event::Subsystem | sys, |
Event::Verbosity | verb | ||
) | [inline] |
Definition at line 89 of file misc_types.h.
uint8 Clasp::EventHandler::verbosity_[4] [private] |
Definition at line 100 of file misc_types.h.