mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Remove FairMQChannel from parser, implement bulk operations
This commit is contained in:
committed by
Dennis Klein
parent
fbb003b50f
commit
bf8ec968e7
@@ -114,7 +114,7 @@ class Config : public ::testing::Test
|
||||
channel.UpdateType("pub");
|
||||
channel.UpdateMethod("connect");
|
||||
channel.UpdateAddress("tcp://localhost:5558");
|
||||
device.AddChannel("data", channel);
|
||||
device.AddChannel("data", std::move(channel));
|
||||
|
||||
thread t(control, ref(device));
|
||||
|
||||
@@ -143,7 +143,7 @@ class Config : public ::testing::Test
|
||||
channel.UpdateType("pub");
|
||||
channel.UpdateMethod("connect");
|
||||
channel.UpdateAddress("tcp://localhost:5558");
|
||||
device.AddChannel("data", channel);
|
||||
device.AddChannel("data", std::move(channel));
|
||||
|
||||
thread t(&FairMQDevice::RunStateMachine, &device);
|
||||
|
||||
|
@@ -57,7 +57,7 @@ class MultipleDevices : public ::testing::Test {
|
||||
|
||||
FairMQChannel channel("push", "connect", "ipc://multiple-devices-test");
|
||||
channel.UpdateRateLogging(0);
|
||||
sender.AddChannel("data", channel);
|
||||
sender.AddChannel("data", std::move(channel));
|
||||
|
||||
thread t(control, std::ref(sender));
|
||||
|
||||
@@ -78,7 +78,7 @@ class MultipleDevices : public ::testing::Test {
|
||||
|
||||
FairMQChannel channel("pull", "bind", "ipc://multiple-devices-test");
|
||||
channel.UpdateRateLogging(0);
|
||||
receiver.AddChannel("data", channel);
|
||||
receiver.AddChannel("data", std::move(channel));
|
||||
|
||||
thread t(control, std::ref(receiver));
|
||||
|
||||
|
Reference in New Issue
Block a user