2 * Copyright (C) 2022 Jérémie Galarneau <jeremie.galarneau@efficios.com>
4 * SPDX-License-Identifier: GPL-2.0-only
8 #include "event-class.hpp"
9 #include "trace-class.hpp"
11 namespace lst
= lttng::sessiond::trace
;
13 lst::event_class::event_class(unsigned int in_id
,
14 unsigned int in_stream_class_id
,
17 nonstd::optional
<std::string
> in_model_emf_uri
,
18 lttng::sessiond::trace::type::cuptr in_payload
) :
20 stream_class_id
{ in_stream_class_id
},
21 log_level
{ in_log_level
},
22 name
{ std::move(in_name
) },
23 model_emf_uri
{ std::move(in_model_emf_uri
) },
24 payload
{ std::move(in_payload
) }
28 void lst::event_class::accept(lst::trace_class_visitor
& visitor
) const
This page took 0.029572 seconds and 4 git commands to generate.