projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cpp-common/bt2: add C++ bindings around `bt_error *`
[babeltrace.git]
/
src
/
cpp-common
/
bt2
/
component-class.hpp
diff --git
a/src/cpp-common/bt2/component-class.hpp
b/src/cpp-common/bt2/component-class.hpp
index efee3f43cfec81c5544089a4c3a010d70ed79047..e32ba34ae6811be0558401ce3f3f05de0b91b057 100644
(file)
--- a/
src/cpp-common/bt2/component-class.hpp
+++ b/
src/cpp-common/bt2/component-class.hpp
@@
-52,6
+52,13
@@
public:
using typename _ThisBorrowedObject::LibObjPtr;
using Shared = SharedObject<CommonComponentClass, LibObjT, internal::ComponentClassRefFuncs>;
using typename _ThisBorrowedObject::LibObjPtr;
using Shared = SharedObject<CommonComponentClass, LibObjT, internal::ComponentClassRefFuncs>;
+ enum class Type
+ {
+ SOURCE = BT_COMPONENT_CLASS_TYPE_SOURCE,
+ FILTER = BT_COMPONENT_CLASS_TYPE_FILTER,
+ SINK = BT_COMPONENT_CLASS_TYPE_SINK,
+ };
+
explicit CommonComponentClass(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
explicit CommonComponentClass(const LibObjPtr libObjPtr) noexcept :
_ThisBorrowedObject {libObjPtr}
{
This page took
0.02267 seconds
and
4
git commands to generate.