Design Patterns
Main Page
Namespaces
Classes
Files
File List
mediator_widget_interface.h
Go to the documentation of this file.
1
// Based on "Design Patterns: Elements of Reusable Object-Oriented Software"
2
// book by Erich Gamma, John Vlissides, Ralph Johnson, and Richard Helm
3
//
4
// Created by Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan.
5
6
#ifndef OPERATIONAL_MEDIATOR_MEDIATOR_WIDGET_INTERFACE_H_
7
#define OPERATIONAL_MEDIATOR_MEDIATOR_WIDGET_INTERFACE_H_
8
9
#include "
mouse_event.h
"
10
11
namespace
operational
12
{
13
namespace
madiator
14
{
15
class
MediatorWidgetInterface
16
{
17
public
:
18
virtual
~MediatorWidgetInterface
() { }
19
20
virtual
void
Changed
() = 0;
21
virtual
void
HandleMouse
(
MouseEvent
& event) = 0;
22
};
23
}
24
}
25
26
#endif
27
mouse_event.h
operational::madiator::MouseEvent
Definition:
mouse_event.h:13
operational
Definition:
application.cc:10
operational::madiator::MediatorWidgetInterface
Definition:
mediator_widget_interface.h:15
operational::madiator::MediatorWidgetInterface::HandleMouse
virtual void HandleMouse(MouseEvent &event)=0
operational::madiator::MediatorWidgetInterface::~MediatorWidgetInterface
virtual ~MediatorWidgetInterface()
Definition:
mediator_widget_interface.h:18
operational::madiator::MediatorWidgetInterface::Changed
virtual void Changed()=0
src
operational
src
mediator
mediator_widget_interface.h
Generated by
1.8.10