mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
Fix mismatch in FairMQSink parameter type.
This commit is contained in:
parent
3e7cb85816
commit
e53ad151a7
|
@ -28,7 +28,7 @@ FairMQSink::FairMQSink()
|
||||||
|
|
||||||
void FairMQSink::InitTask()
|
void FairMQSink::InitTask()
|
||||||
{
|
{
|
||||||
fNumMsgs = fConfig->GetValue<int>("num-msgs");
|
fNumMsgs = fConfig->GetValue<uint64_t>("num-msgs");
|
||||||
fInChannelName = fConfig->GetValue<string>("in-channel");
|
fInChannelName = fConfig->GetValue<string>("in-channel");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ class FairMQSink : public FairMQDevice
|
||||||
virtual ~FairMQSink();
|
virtual ~FairMQSink();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
int fNumMsgs;
|
uint64_t fNumMsgs;
|
||||||
std::string fInChannelName;
|
std::string fInChannelName;
|
||||||
|
|
||||||
virtual void Run();
|
virtual void Run();
|
||||||
|
|
|
@ -15,7 +15,7 @@ void addCustomOptions(bpo::options_description& options)
|
||||||
{
|
{
|
||||||
options.add_options()
|
options.add_options()
|
||||||
("in-channel", bpo::value<std::string>()->default_value("data"), "Name of the input channel")
|
("in-channel", bpo::value<std::string>()->default_value("data"), "Name of the input channel")
|
||||||
("num-msgs", bpo::value<int>()->default_value(0), "Number of messages to receive");
|
("num-msgs", bpo::value<uint64_t>()->default_value(0), "Number of messages to receive");
|
||||||
}
|
}
|
||||||
|
|
||||||
FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/)
|
FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user