Fast DDS  Version 3.3.0
Fast DDS
Loading...
Searching...
No Matches
RpcServerWriter.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
18
19#ifndef FASTDDS_DDS_RPC_INTERFACES__RPCSERVERWRITER_HPP
20#define FASTDDS_DDS_RPC_INTERFACES__RPCSERVERWRITER_HPP
21
22namespace eprosima {
23namespace fastdds {
24namespace dds {
25namespace rpc {
26
32template <typename T>
34{
35public:
36
40 virtual ~RpcServerWriter() noexcept = default;
41
54 virtual void write(
55 const T& value) = 0;
56
69 virtual void write(
70 T&& value) = 0;
71
72};
73
74} // namespace rpc
75} // namespace dds
76} // namespace fastdds
77} // namespace eprosima
78
79#endif // FASTDDS_DDS_RPC_INTERFACES__RPCSERVERWRITER_HPP
An interface for a server-side RPC writer.
Definition RpcServerWriter.hpp:34
virtual ~RpcServerWriter() noexcept=default
Destructor.
virtual void write(const T &value)=0
Copy write operation.
Definition DomainParticipant.hpp:59
Definition BuiltinTopicKey.hpp:26
eProsima namespace.