X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcpp-common%2Fbt2%2Ftrace-ir.hpp;fp=src%2Fcpp-common%2Fbt2%2Ftrace-ir.hpp;h=c4a08f8b5c90b7db593f9e5a48dba8a05bb66cd9;hb=d246c45795719ead7e4fa616e752c839d6979565;hp=51e53732af752d98040c178ad83f38e8d99e4e2a;hpb=12958bb9421f16705d20384349b564c3a877bfa7;p=babeltrace.git diff --git a/src/cpp-common/bt2/trace-ir.hpp b/src/cpp-common/bt2/trace-ir.hpp index 51e53732..c4a08f8b 100644 --- a/src/cpp-common/bt2/trace-ir.hpp +++ b/src/cpp-common/bt2/trace-ir.hpp @@ -130,17 +130,18 @@ class CommonEvent final : public BorrowedObject { private: using typename BorrowedObject::_ThisBorrowedObject; - using typename BorrowedObject::_LibObjPtr; using _Spec = internal::CommonEventSpec; using _Packet = internal::DepPacket; using _Stream = internal::DepStream; using _StructureField = internal::DepStructField; public: + using typename BorrowedObject::LibObjPtr; + using Class = internal::DepType, CommonEventClass>; - explicit CommonEvent(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} + explicit CommonEvent(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} { } @@ -273,15 +274,15 @@ class CommonPacket final : public BorrowedObject { private: using typename BorrowedObject::_ThisBorrowedObject; - using typename BorrowedObject::_LibObjPtr; using _Spec = internal::CommonPacketSpec; using _Stream = internal::DepStream; using _StructureField = internal::DepStructField; public: + using typename BorrowedObject::LibObjPtr; using Shared = SharedObject; - explicit CommonPacket(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} + explicit CommonPacket(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} { } @@ -421,18 +422,18 @@ class CommonStream final : public BorrowedObject { private: using typename BorrowedObject::_ThisBorrowedObject; - using typename BorrowedObject::_LibObjPtr; using _Spec = internal::CommonStreamSpec; using _Trace = internal::DepType, CommonTrace>; public: + using typename BorrowedObject::LibObjPtr; using Shared = SharedObject; using UserAttributes = internal::DepUserAttrs; using Class = internal::DepType, CommonStreamClass>; - explicit CommonStream(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} + explicit CommonStream(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} { } @@ -623,11 +624,11 @@ class CommonTrace final : public BorrowedObject { private: using typename BorrowedObject::_ThisBorrowedObject; - using typename BorrowedObject::_LibObjPtr; using _Spec = internal::CommonTraceSpec; using _Stream = internal::DepStream; public: + using typename BorrowedObject::LibObjPtr; using Shared = SharedObject; using UserAttributes = internal::DepUserAttrs; @@ -640,7 +641,7 @@ public: ConstValue value; }; - explicit CommonTrace(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} + explicit CommonTrace(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} { } @@ -922,7 +923,6 @@ class CommonEventClass final : public BorrowedObject { private: using typename BorrowedObject::_ThisBorrowedObject; - using typename BorrowedObject::_LibObjPtr; using _Spec = internal::CommonEventClassSpec; using _StructureFieldClass = internal::DepStructFc; @@ -930,6 +930,7 @@ private: CommonStreamClass>; public: + using typename BorrowedObject::LibObjPtr; using Shared = SharedObject; using UserAttributes = internal::DepUserAttrs; @@ -952,7 +953,7 @@ public: DEBUG = BT_EVENT_CLASS_LOG_LEVEL_DEBUG, }; - explicit CommonEventClass(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} + explicit CommonEventClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} { } @@ -1248,7 +1249,6 @@ class CommonStreamClass final : public BorrowedObject { private: using typename BorrowedObject::_ThisBorrowedObject; - using typename BorrowedObject::_LibObjPtr; using _Spec = internal::CommonStreamClassSpec; using _StructureFieldClass = internal::DepStructFc; @@ -1261,11 +1261,11 @@ private: using _ClockClass = internal::DepType; public: + using typename BorrowedObject::LibObjPtr; using Shared = SharedObject; using UserAttributes = internal::DepUserAttrs; - explicit CommonStreamClass(const _LibObjPtr libObjPtr) noexcept : - _ThisBorrowedObject {libObjPtr} + explicit CommonStreamClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} { } @@ -1678,17 +1678,18 @@ class CommonTraceClass final : public BorrowedObject { private: using typename BorrowedObject::_ThisBorrowedObject; - using typename BorrowedObject::_LibObjPtr; + using _Spec = internal::CommonTraceClassSpec; using _StreamClass = internal::DepType, CommonStreamClass>; public: + using typename BorrowedObject::LibObjPtr; using Shared = SharedObject; using UserAttributes = internal::DepUserAttrs; - explicit CommonTraceClass(const _LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} + explicit CommonTraceClass(const LibObjPtr libObjPtr) noexcept : _ThisBorrowedObject {libObjPtr} { }