mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Add Version member to FairMQDevice, settable via constructor
This commit is contained in:
committed by
Mohammad Al-Turany
parent
3d8175bfd6
commit
65f1b96dc3
@@ -73,6 +73,11 @@ int main(int argc, const char** argv)
|
||||
|
||||
int result = runStateMachine(*device, config);
|
||||
|
||||
if (config.Count("version"))
|
||||
{
|
||||
pluginManager->ForEachPlugin([](fair::mq::Plugin& plugin){ std::cout << "plugin: " << plugin << std::endl; });
|
||||
}
|
||||
|
||||
if (result > 0)
|
||||
{
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user