Scarab
v2.4.7
Project 8 C++ Utility Library
library
utility
cancelable.cc
Go to the documentation of this file.
1
/*
2
* cancelable.cc
3
*
4
* Created on: Jan 24, 2016
5
* Author: nsoblath
6
*/
7
8
#define SCARAB_API_EXPORTS
9
10
#include "
cancelable.hh
"
11
12
#include "
logger.hh
"
13
14
namespace
scarab
15
{
16
LOGGER
( slog,
"cancelable"
);
17
18
cancelable::cancelable
() :
19
f_canceled( false )
20
{
21
}
22
23
cancelable::~cancelable
()
24
{
25
}
26
27
void
cancelable::do_cancellation
()
28
{
29
// override in derived class
30
LDEBUG
( slog,
"cancelable::do_cancellation"
);
31
return
;
32
}
33
34
void
cancelable::do_reset_cancellation
()
35
{
36
// override in derived class
37
return
;
38
}
39
40
}
/* namespace scarab */
scarab::cancelable::do_cancellation
virtual void do_cancellation()
Definition:
cancelable.cc:27
scarab::LOGGER
LOGGER(mtlog, "authentication")
scarab::cancelable::~cancelable
virtual ~cancelable()
Definition:
cancelable.cc:23
scarab
Definition:
authentication.cc:18
logger.hh
Contains the logger class and macros, based on Kasper's KLogger class.
cancelable.hh
scarab::cancelable::do_reset_cancellation
virtual void do_reset_cancellation()
Definition:
cancelable.cc:34
LDEBUG
#define LDEBUG(...)
Definition:
logger.hh:365
scarab::cancelable::cancelable
cancelable()
Definition:
cancelable.cc:18
Generated by
1.8.13