RMW desert
1.0
Loading...
Searching...
No Matches
src
desert_classes
rmw_context_impl_s.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (C) 2024 Davide Costa *
3
* *
4
* This file is part of RMW desert. *
5
* *
6
* RMW desert is free software: you can redistribute it and/or modify it *
7
* under the terms of the GNU General Public License as published by the *
8
* Free Software Foundation, either version 3 of the License, or any *
9
* later version. *
10
* *
11
* RMW desert is distributed in the hope that it will be useful, *
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14
* GNU General Public License for more details. *
15
* *
16
* You should have received a copy of the GNU General Public License *
17
* along with RMW desert. If not, see <http://www.gnu.org/licenses/>. *
18
****************************************************************************/
19
34
#include "rcpputils/scope_exit.hpp"
35
#include "rmw_dds_common/context.hpp"
36
#include "rmw_dds_common/graph_cache.hpp"
37
#include "rmw_dds_common/msg/participant_entities_info.hpp"
38
#include "rmw_dds_common/qos.hpp"
39
#include "rmw_dds_common/security.hpp"
40
43
#ifndef RMW_CONTEXT_IMPL_H_
44
#define RMW_CONTEXT_IMPL_H_
45
46
struct
rmw_context_impl_s
47
{
48
rmw_dds_common::Context common;
49
bool
is_shutdown{
false
};
50
51
rmw_context_impl_s
()
52
: common()
53
{
54
/* destructor relies on these being initialized properly */
55
common.thread_is_running.store(
false
);
56
common.graph_guard_condition =
nullptr
;
57
common.pub =
nullptr
;
58
common.sub =
nullptr
;
59
}
60
61
~rmw_context_impl_s
()
62
{
63
}
64
};
65
66
#endif
rmw_context_impl_s
Definition
rmw_context_impl_s.h:47
Generated by
1.9.8