This commit is contained in:
Florian Lüke 2024-12-07 03:55:45 +01:00
parent 7ed57acdee
commit b18a9361ab
4 changed files with 17 additions and 6 deletions

@ -1 +1 @@
Subproject commit 55dcda2e0288bdbe60e883cae796d11cacbe2078
Subproject commit b77701fb3904fd46da95de89336af702a900b541

View file

@ -21,7 +21,7 @@ set(MVLC_NNG_NODE_WARN_FLAGS -Wall -Wextra -Wpedantic)
#target_include_directories(dp_common INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
add_library(mesytec-node-nng mesytec_node_nng.cc)
target_include_directories(mesytec-node-nng PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>)
target_include_directories(mesytec-node-nng PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>)
target_link_libraries(mesytec-node-nng PUBLIC nng PUBLIC spdlog)
target_compile_features(mesytec-node-nng PUBLIC cxx_std_17)

View file

@ -260,10 +260,7 @@ int main(int argc, char *argv[])
}
#if 1
nng_socket pipe0PubSocket;
if (auto res = nng_pub0_open(&pipe0PubSocket))
mesy_nng_fatal("nng_pub0_open", res);
nng_socket pipe0PubSocket = make_pub_socket();
if (auto res = nng_listen(pipe0PubSocket, "inproc://pipe0_pub", nullptr, 0))
mesy_nng_fatal("nng_listen pipe0_pub", res);

14
src/pipeline.h Normal file
View file

@ -0,0 +1,14 @@
#ifndef CF3DAF23_18D2_419E_9DCC_3855C5A63226
#define CF3DAF23_18D2_419E_9DCC_3855C5A63226
#include <mesytec-node/mesytec_node_nng.h>
namespace mesytec::mnode::pipeline
{
}
#endif /* CF3DAF23_18D2_419E_9DCC_3855C5A63226 */