Frobby
0.10.0
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Facade.h
1
/* Frobby: Software for monomial ideal computations.
2
Copyright (C) 2007 Bjarke Hammersholt Roune (www.broune.com)
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2 of the License, or
7
(at your option) any later version.
8
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program. If not, see http://www.gnu.org/licenses/.
16
*/
17
#ifndef FACADE_GUARD
18
#define FACADE_GUARD
19
20
#include "Timer.h"
21
32
class
Facade
{
33
protected
:
36
Facade
(
bool
printActions);
37
virtual
~Facade
();
38
40
void
printMessage
(
const
char
* message);
41
46
void
beginAction
(
const
char
* message);
47
52
void
endAction
();
53
55
bool
isPrintingActions
()
const
;
56
57
private
:
61
Timer
_timer;
62
64
bool
_printActions;
65
66
#ifdef DEBUG
72
bool
_doingAnAction;
73
#endif
74
};
75
76
#endif
Facade::printMessage
void printMessage(const char *message)
Definition
Facade.cpp:31
Facade::beginAction
void beginAction(const char *message)
Definition
Facade.cpp:38
Facade::endAction
void endAction()
Definition
Facade.cpp:51
Facade::Facade
Facade(bool printActions)
Definition
Facade.cpp:20
Facade::isPrintingActions
bool isPrintingActions() const
Definition
Facade.cpp:66
Timer
Definition
Timer.h:27
Generated by
1.17.0