dodo
0.0.1
A C++ library to create containerized Linux services
dodo.hpp
Go to the documentation of this file.
1
/*
2
* This file is part of the dodo library (https://github.com/jmspit/dodo).
3
* Copyright (c) 2019 Jan-Marten Spit.
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, version 3.
8
*
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
18
/**
19
* @file dodo.hpp
20
* @brief Includes all dodo headers.
21
*/
22
23
#ifndef dodo_hpp
24
#define dodo_hpp
25
26
#include <buildenv.hpp>
27
#include <
common/common.hpp
>
28
#include <
network/network.hpp
>
29
#include <
threads/threads.hpp
>
30
#include <
persist/persist.hpp
>
31
32
/**
33
* A C++ platform interface to lean Linux services tailored for containerized deployment.
34
*/
35
namespace
dodo
{
36
37
/**
38
* Initialize the dodo library.
39
* @see dodo::common::Application
40
*/
41
void
initLibrary
() {
42
common::initLibrary
();
43
threads::initLibrary
();
44
network::initLibrary
();
45
}
46
47
/**
48
* Close the dodo library.
49
* @see dodo::common::Application
50
*/
51
void
closeLibrary
() {
52
network::closeLibrary
();
53
threads::closeLibrary
();
54
common::closeLibrary
();
55
}
56
57
}
58
59
#endif
common.hpp
threads.hpp
dodo::network::initLibrary
void initLibrary()
Initialize the dodo::network library.
Definition:
network.hpp:48
dodo::network::closeLibrary
void closeLibrary()
Close the dodo::network library.
Definition:
network.hpp:63
dodo::common::closeLibrary
void closeLibrary()
Close the common library.
Definition:
common.hpp:58
dodo
A C++ platform interface to lean Linux services tailored for containerized deployment.
Definition:
application.hpp:29
dodo::common::initLibrary
void initLibrary()
Initialize the common library.
Definition:
common.hpp:48
persist.hpp
network.hpp
dodo::initLibrary
void initLibrary()
Initialize the dodo library.
Definition:
dodo.hpp:41
dodo::closeLibrary
void closeLibrary()
Close the dodo library.
Definition:
dodo.hpp:51
dodo::threads::initLibrary
void initLibrary()
Initialize the dodo::threads library.
Definition:
threads.hpp:39
dodo::threads::closeLibrary
void closeLibrary()
Close the dodo::threads library.
Definition:
threads.hpp:45
src
include
dodo.hpp
Generated by
1.8.17