• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mavlink / MAVSDK / 24110638161

08 Apr 2026 12:10AM UTC coverage: 50.459%. First build
24110638161

Pull #2855

github

web-flow
Merge a88a02493 into 9d13e3cca
Pull Request #2855: core: hide symbols by default, export only public API

15 of 379 new or added lines in 39 files covered. (3.96%)

19243 of 38136 relevant lines covered (50.46%)

668.58 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/mavsdk/plugins/log_streaming/log_streaming.cpp
1
// WARNING: THIS FILE IS AUTOGENERATED! As such, it should not be edited.
2
// Edits need to be made to the proto files
3
// (see
4
// https://github.com/mavlink/MAVSDK-Proto/blob/master/protos/log_streaming/log_streaming.proto)
5

6
#include <iomanip>
7

8
#include "log_streaming_impl.h"
9
#include "plugins/log_streaming/log_streaming.h"
10

11
namespace mavsdk {
12

13
using LogStreamingRaw = LogStreaming::LogStreamingRaw;
14

15
LogStreaming::LogStreaming(System& system) :
×
16
    PluginBase(),
17
    _impl{std::make_unique<LogStreamingImpl>(system)}
×
18
{}
×
19

20
LogStreaming::LogStreaming(std::shared_ptr<System> system) :
×
21
    PluginBase(),
22
    _impl{std::make_unique<LogStreamingImpl>(system)}
×
23
{}
×
24

25
LogStreaming::~LogStreaming() {}
×
26

27
void LogStreaming::start_log_streaming_async(const ResultCallback callback)
×
28
{
29
    _impl->start_log_streaming_async(callback);
×
30
}
×
31

32
LogStreaming::Result LogStreaming::start_log_streaming() const
×
33
{
34
    return _impl->start_log_streaming();
×
35
}
36

37
void LogStreaming::stop_log_streaming_async(const ResultCallback callback)
×
38
{
39
    _impl->stop_log_streaming_async(callback);
×
40
}
×
41

42
LogStreaming::Result LogStreaming::stop_log_streaming() const
×
43
{
44
    return _impl->stop_log_streaming();
×
45
}
46

47
LogStreaming::LogStreamingRawHandle
48
LogStreaming::subscribe_log_streaming_raw(const LogStreamingRawCallback& callback)
×
49
{
50
    return _impl->subscribe_log_streaming_raw(callback);
×
51
}
52

53
void LogStreaming::unsubscribe_log_streaming_raw(LogStreamingRawHandle handle)
×
54
{
55
    _impl->unsubscribe_log_streaming_raw(handle);
×
56
}
×
57

58
MAVSDK_PUBLIC bool
NEW
59
operator==(const LogStreaming::LogStreamingRaw& lhs, const LogStreaming::LogStreamingRaw& rhs)
×
60
{
61
    return (rhs.data_base64 == lhs.data_base64);
×
62
}
63

64
MAVSDK_PUBLIC std::ostream&
NEW
65
operator<<(std::ostream& str, LogStreaming::LogStreamingRaw const& log_streaming_raw)
×
66
{
67
    str << std::setprecision(15);
×
68
    str << "log_streaming_raw:" << '\n' << "{\n";
×
69
    str << "    data_base64: " << log_streaming_raw.data_base64 << '\n';
×
70
    str << '}';
×
71
    return str;
×
72
}
73

NEW
74
MAVSDK_PUBLIC std::ostream& operator<<(std::ostream& str, LogStreaming::Result const& result)
×
75
{
76
    switch (result) {
×
77
        case LogStreaming::Result::Success:
×
78
            return str << "Success";
×
79
        case LogStreaming::Result::NoSystem:
×
80
            return str << "No System";
×
81
        case LogStreaming::Result::ConnectionError:
×
82
            return str << "Connection Error";
×
83
        case LogStreaming::Result::Busy:
×
84
            return str << "Busy";
×
85
        case LogStreaming::Result::CommandDenied:
×
86
            return str << "Command Denied";
×
87
        case LogStreaming::Result::Timeout:
×
88
            return str << "Timeout";
×
89
        case LogStreaming::Result::Unsupported:
×
90
            return str << "Unsupported";
×
91
        case LogStreaming::Result::Unknown:
×
92
            return str << "Unknown";
×
93
        default:
×
94
            return str << "Unknown";
×
95
    }
96
}
97

98
} // namespace mavsdk
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc