FlowEngine 7.517
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
LogListenerInterface.h
Go to the documentation of this file.
1/*
2 *
3 * C@@o ____ _____ __ _
4 * oC8@@@@@@@o |___ \| __ \ / _| |
5 * o@@@@@@@@@@@@O __) | | | | |_| | _____ __
6 * O@O 8@@@@@@@@@O |__ <| | | | _| |/ _ \ \ /\ / /
7 * o@@@@@@@O OOOOOCo ___) | |__| | | | | (_) \ V V /
8 * C@@@@@@@@@@@@Oo |____/|_____/|_| |_|\___/ \_/\_/
9 * o8@@@@@@@@@@@@@@@@8OOCCCC
10 * oO@@@@@@@@@@@@@@@@@@@o 3Dflow s.r.l. - www.3dflow.net
11 * oO8@@@@@@@@@@@@o Copyright 2022
12 * oO88@@@@@@@@8OCo All Rights Reserved
13 * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15 * @@@Oo oO8@@@@@@@@@@@@@@@@8
16 *
17 */
18
19#ifndef FLOWENGINELOGLISTENER_H
20#define FLOWENGINELOGLISTENER_H
21
22#pragma once
23
24namespace FlowEngine
25{
27 enum class LogType
28 {
29 Normal,
30 Warning,
31 Error,
32 Info
33 };
34
41 {
42 public:
43
45 virtual ~LogListenerInterface() = default;
46
47 public:
48
51 virtual void messageLogged( const char *nMessage ) = 0;
52
55 virtual void typeChanged( LogType type ) { }
56 };
57}
58
59#endif
Pure virtual Log Listener interface.
Definition: LogListenerInterface.h:41
virtual void messageLogged(const char *nMessage)=0
virtual void typeChanged(LogType type)
Definition: LogListenerInterface.h:55
virtual ~LogListenerInterface()=default
Default virtual destructor.
Definition: BoundingBoxInterface.cpp:26
LogType
Enumerates the possible types of a log.
Definition: LogListenerInterface.h:28
a normal
Definition: CommonDef.h:398