Fast DDS
Version 3.6.1.0
Fast DDS
Toggle main menu visibility
Loading...
Searching...
No Matches
RPCEntity.hpp
1
// Copyright 2025 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
15
#ifndef FASTDDS_DDS_RPC__RPCENTITY_HPP
16
#define FASTDDS_DDS_RPC__RPCENTITY_HPP
17
18
#include <fastdds/dds/core/detail/DDSReturnCode.hpp>
19
#include <fastdds/fastdds_dll.hpp>
20
21
namespace
eprosima
{
22
namespace
fastdds
{
23
namespace
dds
{
24
namespace
rpc
{
25
29
class
RPCEntity
30
{
31
32
public
:
33
37
virtual
ReturnCode_t
enable
() = 0;
38
42
virtual
ReturnCode_t
close
() = 0;
43
47
virtual
bool
is_enabled
()
const
= 0;
48
49
protected
:
50
54
~RPCEntity
() =
default
;
55
56
};
57
58
}
// namespace rpc
59
}
// namespace dds
60
}
// namespace fastdds
61
}
// namespace eprosima
62
63
#endif
// FASTDDS_DDS_RPC__RPCENTITY_HPP
eprosima::fastdds::dds::rpc::RPCEntity
Abstract base class for all RPC Objects.
Definition
RPCEntity.hpp:30
eprosima::fastdds::dds::rpc::RPCEntity::is_enabled
virtual bool is_enabled() const =0
Check if the entity is enabled.
eprosima::fastdds::dds::rpc::RPCEntity::enable
virtual ReturnCode_t enable()=0
Enables the entity.
eprosima::fastdds::dds::rpc::RPCEntity::close
virtual ReturnCode_t close()=0
Disables the entity.
eprosima::fastdds::dds::rpc::RPCEntity::~RPCEntity
~RPCEntity()=default
Destructor.
eprosima::fastdds::dds::rpc
Definition
DomainParticipant.hpp:59
eprosima::fastdds::dds
Definition
BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::ReturnCode_t
int32_t ReturnCode_t
Definition
DDSReturnCode.hpp:59
eprosima::fastdds
eprosima
eProsima namespace.
include
fastdds
dds
rpc
RPCEntity.hpp
Generated on
for