projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.clang-tidy: remove modernize-concat-nested-namespaces
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
stream-class.hpp
diff --git
a/src/bin/lttng-sessiond/stream-class.hpp
b/src/bin/lttng-sessiond/stream-class.hpp
index 08555f3071e55362f1ce4f20fae3d4ca7ab59a12..5faecd5e1eb41c3fd824eec132afe652c17fa997 100644
(file)
--- a/
src/bin/lttng-sessiond/stream-class.hpp
+++ b/
src/bin/lttng-sessiond/stream-class.hpp
@@
-10,6
+10,8
@@
#include "field.hpp"
#include "field.hpp"
+#include <vendor/optional.hpp>
+
#include <vector>
namespace lttng {
#include <vector>
namespace lttng {
@@
-28,8
+30,14
@@
public:
*/
void accept(trace_class_visitor& visitor) const;
virtual ~stream_class() = default;
*/
void accept(trace_class_visitor& visitor) const;
virtual ~stream_class() = default;
+ stream_class(const stream_class&) = delete;
+ stream_class(stream_class&&) = delete;
+ stream_class& operator=(stream_class&&) = delete;
+ stream_class& operator=(const stream_class&) = delete;
- virtual const lttng::sessiond::trace::type& get_context() const;
+ virtual const type *packet_context() const;
+ virtual const type *event_header() const;
+ virtual const type *event_context() const;
const unsigned int id;
/*
const unsigned int id;
/*
@@
-38,12
+46,17
@@
public:
* nested-name-specifiers.
*/
const header_type header_type_;
* nested-name-specifiers.
*/
const header_type header_type_;
+ const nonstd::optional<std::string> default_clock_class_name;
protected:
protected:
- stream_class(unsigned int id, enum header_type header_type);
+ stream_class(unsigned int id,
+ enum header_type header_type,
+ nonstd::optional<std::string> default_clock_class_name = nonstd::nullopt);
virtual void _accept_on_event_classes(trace_class_visitor& trace_class_visitor) const = 0;
virtual void _accept_on_event_classes(trace_class_visitor& trace_class_visitor) const = 0;
- lttng::sessiond::trace::type::cuptr _context;
+ lttng::sessiond::trace::type::cuptr _packet_context;
+ lttng::sessiond::trace::type::cuptr _event_header;
+ lttng::sessiond::trace::type::cuptr _event_context;
};
} /* namespace trace */
};
} /* namespace trace */
This page took
0.024188 seconds
and
4
git commands to generate.