ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
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)
13#endif
14
15
16namespace 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 **************************************************************************************************/
24namespace 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 **************************************************************************************************/
31class 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 ******************************************************************************************/
40 Files();
41
42 protected:
43 /** ****************************************************************************************
44 * Initializes this module.
45 *
46 * @param phase The initialization phase to perform.
47 ******************************************************************************************/
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}. */
61extern ALIB_API files::Files FILES;
62
63} // namespace [alib]
64
65#endif // HPP_ALIB_FILES_CAMP
virtual void shutdown(ShutdownPhases) override
Definition filescamp.hpp:54
virtual ALIB_API void bootstrap(BootstrapPhases phase) override
Definition filescamp.cpp:42
#define ALIB_API
Definition alib.hpp:538
Definition alib.cpp:57
files::Files FILES
Definition filescamp.cpp:30
ShutdownPhases
Definition camp.hpp:35
BootstrapPhases
Definition camp.hpp:26