Fast DDS
Version 3.3.0
Fast DDS
Loading...
Searching...
No Matches
Service.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__SERVICE_HPP
16
#define FASTDDS_DDS_RPC__SERVICE_HPP
17
18
#include <string>
19
20
#include <fastdds/dds/rpc/RPCEntity.hpp>
21
22
namespace
eprosima
{
23
namespace
fastdds
{
24
namespace
dds
{
25
26
class
DomainParticipant
;
27
28
}
// namespace dds
29
30
namespace
dds
{
31
namespace
rpc
{
32
36
class
Service
:
public
RPCEntity
37
{
38
39
public
:
40
44
virtual
const
std::string&
get_service_name
()
const
= 0;
45
49
virtual
const
std::string&
get_service_type_name
()
const
= 0;
50
51
protected
:
52
56
~Service
() =
default
;
57
58
};
59
60
}
// namespace rpc
61
}
// namespace dds
62
}
// namespace fastdds
63
}
// namespace eprosima
64
65
#endif
// FASTDDS_DDS_RPC__SERVICE_HPP
eprosima::fastdds::dds::DomainParticipant
Class DomainParticipant used to group Publishers and Subscribers into a single working unit.
Definition
DomainParticipant.hpp:86
eprosima::fastdds::dds::rpc::RPCEntity
Abstract base class for all RPC Objects.
Definition
RPCEntity.hpp:30
eprosima::fastdds::dds::rpc::Service
Base class for a Service in the RPC communication.
Definition
Service.hpp:37
eprosima::fastdds::dds::rpc::Service::get_service_type_name
virtual const std::string & get_service_type_name() const =0
Getter for the service type name.
eprosima::fastdds::dds::rpc::Service::~Service
~Service()=default
Destructor.
eprosima::fastdds::dds::rpc::Service::get_service_name
virtual const std::string & get_service_name() const =0
Getter for the service name.
eprosima::fastdds::dds::rpc
Definition
DomainParticipant.hpp:59
eprosima::fastdds::dds
Definition
BuiltinTopicKey.hpp:26
eprosima::fastdds
eprosima
eProsima namespace.
include
fastdds
dds
rpc
Service.hpp
Generated on
for