Fast DDS
Version 3.6.1.0
Fast DDS
Toggle main menu visibility
Loading...
Searching...
No Matches
ViewState.hpp
1
// Copyright 2020 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
18
19
#ifndef FASTDDS_DDS_SUBSCRIBER__VIEWSTATE_HPP
20
#define FASTDDS_DDS_SUBSCRIBER__VIEWSTATE_HPP
21
22
#include <cstdint>
23
24
namespace
eprosima
{
25
namespace
fastdds
{
26
namespace
dds
{
27
52
enum
ViewStateKind
: uint16_t
53
{
55
NEW_VIEW_STATE
= 0x0001 << 0,
56
58
NOT_NEW_VIEW_STATE
= 0x0001 << 1,
59
};
60
62
using
ViewStateMask
= uint16_t;
63
65
constexpr
ViewStateMask
ANY_VIEW_STATE
=
NEW_VIEW_STATE
|
NOT_NEW_VIEW_STATE
;
66
67
}
// namespace dds
68
}
// namespace fastdds
69
}
// namespace eprosima
70
71
#endif
// FASTDDS_DDS_SUBSCRIBER__VIEWSTATE_HPP
eprosima::fastdds::dds
Definition
BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::ViewStateMask
uint16_t ViewStateMask
A bit-mask (list) of view states, i.e. ViewStateKind.
Definition
ViewState.hpp:62
eprosima::fastdds::dds::ViewStateKind
ViewStateKind
Indicates whether or not an instance is new.
Definition
ViewState.hpp:53
eprosima::fastdds::dds::NEW_VIEW_STATE
@ NEW_VIEW_STATE
New instance.This latest generation of the instance has not previously been accessed.
Definition
ViewState.hpp:55
eprosima::fastdds::dds::NOT_NEW_VIEW_STATE
@ NOT_NEW_VIEW_STATE
Not a new instance. This latest generation of the instance has previously been accessed.
Definition
ViewState.hpp:58
eprosima::fastdds::dds::ANY_VIEW_STATE
constexpr ViewStateMask ANY_VIEW_STATE
Any view state.
Definition
ViewState.hpp:65
eprosima::fastdds
eprosima
eProsima namespace.
include
fastdds
dds
subscriber
ViewState.hpp
Generated on
for