Chrysalis - Pattern
Toggle main menu visibility
Loading...
Searching...
No Matches
PointObserver.h
Go to the documentation of this file.
1
#ifndef CHRYSALIS_POINTOBSERVER_H
2
#define CHRYSALIS_POINTOBSERVER_H
3
4
#include "
BaseObserver.h
"
5
10
namespace
Chrysalis
{
11
class
Point
;
12
class
PointObserver
:
public
BaseObserver
<PointObserver> {
13
protected
:
14
explicit
PointObserver
() =
default
;
15
public
:
16
virtual
void
pointMoved
(
const
Point
* point) = 0;
17
};
18
}
20
21
#endif
//CHRYSALIS_POINTOBSERVER_H
BaseObserver.h
Chrysalis::BaseObserver< PointObserver >::BaseObserver
BaseObserver()=default
Chrysalis::PointObserver::PointObserver
PointObserver()=default
Chrysalis::PointObserver::pointMoved
virtual void pointMoved(const Point *point)=0
Chrysalis::Point
Definition
Point.h:9
Chrysalis
Definition
Argument.h:9
pattern
include
observers
PointObserver.h
Generated by
1.17.0