Fast DDS
Version 3.1.0
Fast DDS
Loading...
Searching...
No Matches
StdoutConsumer.hpp
1
// Copyright 2019 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_LOG__STDOUTCONSUMER_HPP
16
#define FASTDDS_DDS_LOG__STDOUTCONSUMER_HPP
17
18
#include <fastdds/dds/log/Log.hpp>
19
#include <fastdds/dds/log/OStreamConsumer.hpp>
20
21
namespace
eprosima
{
22
namespace
fastdds {
23
namespace
dds
{
24
25
class
StdoutConsumer
:
public
OStreamConsumer
26
{
27
public
:
28
29
virtual
~StdoutConsumer
() =
default
;
30
31
private
:
32
37
FASTDDS_EXPORTED_API
virtual
std::ostream& get_stream(
38
const
Log::Entry
& entry)
override
;
39
};
40
41
}
// namespace dds
42
}
// namespace fastdds
43
}
// namespace eprosima
44
45
#endif
// FASTDDS_DDS_LOG__STDOUTCONSUMER_HPP
eprosima::fastdds::dds::OStreamConsumer
Definition
OStreamConsumer.hpp:32
eprosima::fastdds::dds::StdoutConsumer
Definition
StdoutConsumer.hpp:26
eprosima::fastdds::dds::StdoutConsumer::~StdoutConsumer
virtual ~StdoutConsumer()=default
dds
Definition
DomainParticipant.hpp:45
eprosima
eProsima namespace.
eprosima::fastdds::dds::Log::Entry
Definition
Log.hpp:174
include
fastdds
dds
log
StdoutConsumer.hpp
Generated on Fri Nov 22 2024 14:37:40 for