ALib C++ Library
Library Version: 2511 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
filescamp.inl
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of module \alib_files of the \aliblong.
4///
5/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
6/// Published under \ref mainpage_license "Boost Software License".
7//==================================================================================================
8ALIB_EXPORT namespace alib {
9
10//==================================================================================================
11/// This is the reference documentation of module \alib_files_nl of the \aliblong.<br>
12/// @see A user manual with tutorial-style sample code is found in the
13/// \ref alib_mod_files "Programmer's Manual" of this module.
14//==================================================================================================
15namespace files {
16
17//==================================================================================================
18/// This is a strict singleton class representing module \alib_files.
19///
20/// The only instance is found with the namespace variable \ref alib::files.
21//==================================================================================================
22class FilesCamp : public camp::Camp
23{
24 public:
25 /// Constructor.<br>
26 /// While this is public, it must not be invoked as this is a strict singleton type.
27 /// (See notes in \ref alib_camp_camp).
29 FilesCamp();
30
31 protected:
32 /// Initializes this camp.
34 virtual void Bootstrap() override;
35
36 /// Terminates this camp. (Nothing to do.)
37 virtual void Shutdown( ShutdownPhases ) override {}
38
39}; // class FilesCamp
40
41} // namespace alib[::files]
42
43/// The singleton instance of \alibcamp class \alib{files;FilesCamp}.
44extern ALIB_DLL files::FilesCamp FILES;
45
46} // namespace [alib]
virtual void Shutdown(ShutdownPhases) override
Terminates this camp. (Nothing to do.)
Definition filescamp.inl:37
virtual ALIB_DLL void Bootstrap() override
Initializes this camp.
Definition filescamp.cpp:60
#define ALIB_DLL
Definition alib.inl:503
#define ALIB_EXPORT
Definition alib.inl:497
ShutdownPhases
Termination levels usable with Bootstrapping ALib Camps.
Definition camp.inl:42
files::FilesCamp FILES
The singleton instance of ALib Camp class FilesCamp.
Definition filescamp.cpp:47