ALib C++ Library
by
Library Version:
2402 R1
Documentation generated by
Loading...
Searching...
No Matches
home
dev
A-Worx
ALib
src
alib
files
filescamp.hpp
Go to the documentation of this file.
1
/** ************************************************************************************************
2
* \file
3
* This header file is part of module \alib_basecamp of the \aliblong.
4
*
5
* \emoji :copyright: 2013-2024 A-Worx GmbH, Germany.
6
* Published under \ref mainpage_license "Boost Software License".
7
**************************************************************************************************/
8
#ifndef HPP_ALIB_FILES_CAMP
9
#define HPP_ALIB_FILES_CAMP 1
10
11
#if !defined(HPP_ALIB_LANG_CAMP)
12
# include "
alib/lang/basecamp/camp.hpp
"
13
#endif
14
15
16
namespace
alib
{
17
18
/** ************************************************************************************************
19
* This is the reference documentation of module \alib_files_nl of the \aliblong.<br>
20
* @see
21
* A user manual with tutorial-style sample code is found in the
22
* \ref alib_mod_files "Programmer's Manual" of this module.
23
**************************************************************************************************/
24
namespace
files {
25
26
/** ************************************************************************************************
27
* This is a strict singleton class representing module \alib_files.
28
*
29
* The only instance is found with namespace variable \ref alib::files.
30
**************************************************************************************************/
31
class
Files
:
public
lang::Camp
32
{
33
public
:
34
/** ****************************************************************************************
35
* Constructor.<br>
36
* While this is public, it must not be invoked as this is a strict singleton type.
37
* (See notes in \ref alib_manual_camp_modules_campmodule).
38
******************************************************************************************/
39
ALIB_API
40
Files
();
41
42
protected
:
43
/** ****************************************************************************************
44
* Initializes this module.
45
*
46
* @param phase The initialization phase to perform.
47
******************************************************************************************/
48
ALIB_API
49
virtual
void
bootstrap
(
BootstrapPhases
phase )
override
;
50
51
/** ****************************************************************************************
52
* Terminates this module. (Nothing to do.)
53
******************************************************************************************/
54
virtual
void
shutdown
(
ShutdownPhases
)
override
{}
55
56
};
// class Files
57
58
}
// namespace alib[::files]
59
60
/** The singleton instance of \alibcamp class \alib{files;Files}. */
61
extern
ALIB_API
files::Files
FILES
;
62
63
}
// namespace [alib]
64
65
#endif
// HPP_ALIB_FILES_CAMP
camp.hpp
alib::files::Files
Definition
filescamp.hpp:32
alib::files::Files::shutdown
virtual void shutdown(ShutdownPhases) override
Definition
filescamp.hpp:54
alib::files::Files::bootstrap
virtual ALIB_API void bootstrap(BootstrapPhases phase) override
Definition
filescamp.cpp:42
alib::files::Files::Files
ALIB_API Files()
Definition
filescamp.cpp:34
alib::lang::Camp
Definition
camp.hpp:80
ALIB_API
#define ALIB_API
Definition
alib.hpp:538
alib
Definition
alib.cpp:57
alib::FILES
files::Files FILES
Definition
filescamp.cpp:30
alib::ShutdownPhases
ShutdownPhases
Definition
camp.hpp:35
alib::BootstrapPhases
BootstrapPhases
Definition
camp.hpp:26