Scarab
v2.4.4
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
#include "
cancelable.hh
"
9
10
#include "
logger.hh
"
11
12
namespace
scarab
13
{
14
LOGGER
( slog,
"cancelable"
);
15
16
cancelable::cancelable
() :
17
f_canceled( false )
18
{
19
}
20
21
cancelable::~cancelable
()
22
{
23
}
24
25
void
cancelable::do_cancellation
()
26
{
27
// override in derived class
28
LDEBUG
( slog,
"cancelable::do_cancellation"
);
29
return
;
30
}
31
32
void
cancelable::do_reset_cancellation
()
33
{
34
// override in derived class
35
return
;
36
}
37
38
}
/* namespace scarab */
scarab::cancelable::do_cancellation
virtual void do_cancellation()
Definition:
cancelable.cc:25
scarab::LOGGER
LOGGER(mtlog, "authentication")
scarab::cancelable::~cancelable
virtual ~cancelable()
Definition:
cancelable.cc:21
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:32
LDEBUG
#define LDEBUG(...)
Definition:
logger.hh:360
scarab::cancelable::cancelable
cancelable()
Definition:
cancelable.cc:16
Generated by
1.8.13