Skip to content

Commit

Permalink
[eclipse-iceoryx#264] Adjust to new C API
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenpiff committed Jul 12, 2024
1 parent b4f0615 commit c12de7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 70 deletions.
2 changes: 0 additions & 2 deletions iceoryx2-ffi/cxx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ target_include_directories(includes-only-cxx
# object lib

add_library(iceoryx2-cxx-object-lib OBJECT
src/node.cpp
src/node_name.cpp
)

Expand Down Expand Up @@ -103,4 +102,3 @@ include(cmake/install.cmake)
if(${BUILD_TESTING})
add_subdirectory(tests)
endif()

15 changes: 6 additions & 9 deletions iceoryx2-ffi/cxx/include/iox2/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,21 @@ class Node {

private:
friend class NodeBuilder;

explicit Node(iox2_node_h handle);

iox2_node_h m_handle;
};

class NodeBuilder {
IOX_BUILDER_OPTIONAL(NodeName, name);
IOX_BUILDER_OPTIONAL(Config, config);

public:
NodeBuilder();
NodeBuilder() {
IOX_TODO();
}

template <ServiceType T>
auto create() const&& -> iox::expected<Node<T>, NodeCreationFailure>;

private:
iox2_node_builder_h m_handle;
auto create() const&& -> iox::expected<Node<T>, NodeCreationFailure> {
IOX_TODO();
}
};
} // namespace iox2

Expand Down
59 changes: 0 additions & 59 deletions iceoryx2-ffi/cxx/src/node.cpp

This file was deleted.

0 comments on commit c12de7d

Please sign in to comment.