ANNA Suite
2020b
Multipurpose development suite for Telco applications
include
anna
core
mt
Safe.hpp
Go to the documentation of this file.
1
// ANNA - Anna is Not Nothingness Anymore //
2
// //
3
// (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4
// //
5
// See project site at http://redmine.teslayout.com/projects/anna-suite //
6
// See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9
#ifndef anna_core_mt_Safe_hpp
10
#define anna_core_mt_Safe_hpp
11
12
#include <
anna/core/RuntimeException.hpp
>
13
14
namespace
anna
{
15
16
class
Guard;
17
23
class
Safe
{
24
public
:
30
virtual
void
lock
() noexcept(
false
) = 0;
31
37
virtual
void
unlock
() = 0;
38
39
protected
:
47
Safe
() {}
48
};
49
50
}
51
52
#endif
anna::Safe::unlock
virtual void unlock()=0
anna::Safe::lock
virtual void lock() noexcept(false)=0
anna
Definition:
app.hpp:12
anna::Safe
Definition:
Safe.hpp:23
RuntimeException.hpp
anna::Safe::Safe
Safe()
Definition:
Safe.hpp:47
Generated on Mon Oct 30 2023 12:15:32 for ANNA Suite by
1.8.13