mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 10:01:47 +00:00
Compare commits
2 Commits
v1.10.0
...
a75cd76ce1
Author | SHA1 | Date | |
---|---|---|---|
|
a75cd76ce1 | ||
|
8d4404b68b |
2
extern/googletest
vendored
2
extern/googletest
vendored
Submodule extern/googletest updated: 7d76a231b0...24a9e940d4
@@ -69,15 +69,9 @@ if(BUILD_FAIRMQ)
|
|||||||
runDevice.h
|
runDevice.h
|
||||||
runFairMQDevice.h
|
runFairMQDevice.h
|
||||||
shmem/Common.h
|
shmem/Common.h
|
||||||
shmem/Manager.h
|
|
||||||
shmem/Message.h
|
|
||||||
shmem/Monitor.h
|
shmem/Monitor.h
|
||||||
shmem/Poller.h
|
|
||||||
shmem/Segment.h
|
shmem/Segment.h
|
||||||
shmem/Socket.h
|
|
||||||
shmem/TransportFactory.h
|
|
||||||
shmem/UnmanagedRegion.h
|
shmem/UnmanagedRegion.h
|
||||||
shmem/UnmanagedRegionImpl.h
|
|
||||||
tools/Compiler.h
|
tools/Compiler.h
|
||||||
tools/CppSTL.h
|
tools/CppSTL.h
|
||||||
tools/Exceptions.h
|
tools/Exceptions.h
|
||||||
@@ -102,6 +96,12 @@ if(BUILD_FAIRMQ)
|
|||||||
plugins/Builtin.h
|
plugins/Builtin.h
|
||||||
plugins/config/Config.h
|
plugins/config/Config.h
|
||||||
plugins/control/Control.h
|
plugins/control/Control.h
|
||||||
|
shmem/Message.h
|
||||||
|
shmem/Poller.h
|
||||||
|
shmem/UnmanagedRegionImpl.h
|
||||||
|
shmem/Socket.h
|
||||||
|
shmem/TransportFactory.h
|
||||||
|
shmem/Manager.h
|
||||||
zeromq/Common.h
|
zeromq/Common.h
|
||||||
zeromq/Context.h
|
zeromq/Context.h
|
||||||
zeromq/Message.h
|
zeromq/Message.h
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include <boost/container/container_fwd.hpp>
|
#include <boost/container/container_fwd.hpp>
|
||||||
#include <boost/container/flat_map.hpp>
|
#include <boost/container/flat_map.hpp>
|
||||||
#include <memory_resource>
|
#include <boost/container/pmr/memory_resource.hpp>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <fairmq/Message.h>
|
#include <fairmq/Message.h>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
@@ -27,7 +27,7 @@ namespace fair::mq {
|
|||||||
|
|
||||||
class TransportFactory;
|
class TransportFactory;
|
||||||
using byte = unsigned char;
|
using byte = unsigned char;
|
||||||
namespace pmr = std::pmr;
|
namespace pmr = boost::container::pmr;
|
||||||
|
|
||||||
/// All FairMQ related memory resources need to inherit from this interface
|
/// All FairMQ related memory resources need to inherit from this interface
|
||||||
/// class for the
|
/// class for the
|
||||||
|
@@ -16,7 +16,6 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
@@ -102,7 +101,7 @@ TEST(MemoryResources, allocator)
|
|||||||
|
|
||||||
size_t session{tools::UuidHash()};
|
size_t session{tools::UuidHash()};
|
||||||
ProgOptions config;
|
ProgOptions config;
|
||||||
config.SetProperty<std::string>("session", to_string(session));
|
config.SetProperty<string>("session", to_string(session));
|
||||||
|
|
||||||
FactoryType factoryZMQ = TransportFactory::CreateTransportFactory("zeromq", fair::mq::tools::Uuid(), &config);
|
FactoryType factoryZMQ = TransportFactory::CreateTransportFactory("zeromq", fair::mq::tools::Uuid(), &config);
|
||||||
|
|
||||||
@@ -130,7 +129,7 @@ TEST(MemoryResources, getMessage)
|
|||||||
|
|
||||||
size_t session{tools::UuidHash()};
|
size_t session{tools::UuidHash()};
|
||||||
ProgOptions config;
|
ProgOptions config;
|
||||||
config.SetProperty<std::string>("session", to_string(session));
|
config.SetProperty<string>("session", to_string(session));
|
||||||
config.SetProperty<bool>("shm-monitor", true);
|
config.SetProperty<bool>("shm-monitor", true);
|
||||||
|
|
||||||
FactoryType factoryZMQ = TransportFactory::CreateTransportFactory("zeromq", fair::mq::tools::Uuid(), &config);
|
FactoryType factoryZMQ = TransportFactory::CreateTransportFactory("zeromq", fair::mq::tools::Uuid(), &config);
|
||||||
|
Reference in New Issue
Block a user