X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fstream-class.hpp;h=5faecd5e1eb41c3fd824eec132afe652c17fa997;hb=75f62e5383c6ea1f62fb488a94f4a8f98400db71;hp=78f0c83cb8ee46c7a2f37cf7d8457954fe928006;hpb=24ed18f2ceda5023e4ad755547ad79466730cbd3;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/stream-class.hpp b/src/bin/lttng-sessiond/stream-class.hpp index 78f0c83cb..5faecd5e1 100644 --- a/src/bin/lttng-sessiond/stream-class.hpp +++ b/src/bin/lttng-sessiond/stream-class.hpp @@ -30,10 +30,14 @@ public: */ 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 type* get_packet_context() const; - virtual const type* get_event_header() const; - virtual const type* get_event_context() const; + virtual const type *packet_context() const; + virtual const type *event_header() const; + virtual const type *event_context() const; const unsigned int id; /* @@ -46,8 +50,8 @@ public: protected: stream_class(unsigned int id, - enum header_type header_type, - nonstd::optional default_clock_class_name = nonstd::nullopt); + enum header_type header_type, + nonstd::optional default_clock_class_name = nonstd::nullopt); virtual void _accept_on_event_classes(trace_class_visitor& trace_class_visitor) const = 0; lttng::sessiond::trace::type::cuptr _packet_context;