Scarab  v2.4.7
Project 8 C++ Utility Library
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 
19  f_canceled( false )
20  {
21  }
22 
24  {
25  }
26 
28  {
29  // override in derived class
30  LDEBUG( slog, "cancelable::do_cancellation" );
31  return;
32  }
33 
35  {
36  // override in derived class
37  return;
38  }
39 
40 } /* namespace scarab */
virtual void do_cancellation()
Definition: cancelable.cc:27
LOGGER(mtlog, "authentication")
virtual ~cancelable()
Definition: cancelable.cc:23
Contains the logger class and macros, based on Kasper's KLogger class.
virtual void do_reset_cancellation()
Definition: cancelable.cc:34
#define LDEBUG(...)
Definition: logger.hh:365