mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 08:41:16 +00:00
add constructor to DeviceOptions
This commit is contained in:
parent
ce58ee2302
commit
eb33bc8280
|
@ -53,6 +53,9 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
text() {}
|
||||||
|
|
||||||
string text;
|
string text;
|
||||||
} DeviceOptions_t;
|
} DeviceOptions_t;
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,10 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), eventSize(0), eventRate(0), ioThreads(0),
|
||||||
|
outputSocketType(), outputBufSize(0), outputMethod(), outputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int eventSize;
|
int eventSize;
|
||||||
int eventRate;
|
int eventRate;
|
||||||
|
|
|
@ -53,6 +53,10 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), eventSize(0), eventRate(0), ioThreads(0),
|
||||||
|
outputSocketType(), outputBufSize(0), outputMethod(), outputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int eventSize;
|
int eventSize;
|
||||||
int eventRate;
|
int eventRate;
|
||||||
|
|
|
@ -53,6 +53,10 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), ioThreads(0),
|
||||||
|
inputSocketType(), inputBufSize(0), inputMethod(), inputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int ioThreads;
|
int ioThreads;
|
||||||
string inputSocketType;
|
string inputSocketType;
|
||||||
|
|
|
@ -53,6 +53,11 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), ioThreads(0),
|
||||||
|
inputSocketType(), inputBufSize(0), inputMethod(), inputAddress(),
|
||||||
|
outputSocketType(), outputBufSize(0), outputMethod(), outputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int ioThreads;
|
int ioThreads;
|
||||||
string inputSocketType;
|
string inputSocketType;
|
||||||
|
|
|
@ -53,6 +53,11 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), ioThreads(0), numInputs(0),
|
||||||
|
inputSocketType(), inputBufSize(), inputMethod(), inputAddress(),
|
||||||
|
outputSocketType(), outputBufSize(0), outputMethod(), outputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int ioThreads;
|
int ioThreads;
|
||||||
int numInputs;
|
int numInputs;
|
||||||
|
|
|
@ -53,6 +53,10 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), eventSize(0), eventRate(0), ioThreads(0),
|
||||||
|
outputSocketType(), outputBufSize(0), outputMethod(), outputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int eventSize;
|
int eventSize;
|
||||||
int eventRate;
|
int eventRate;
|
||||||
|
|
|
@ -53,6 +53,10 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), ioThreads(0),
|
||||||
|
inputSocketType(), inputBufSize(0), inputMethod(), inputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int ioThreads;
|
int ioThreads;
|
||||||
string inputSocketType;
|
string inputSocketType;
|
||||||
|
|
|
@ -53,6 +53,11 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), ioThreads(0),
|
||||||
|
inputSocketType(), inputBufSize(0), inputMethod(), inputAddress(),
|
||||||
|
outputSocketType(), outputBufSize(0), outputMethod(), outputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int ioThreads;
|
int ioThreads;
|
||||||
string inputSocketType;
|
string inputSocketType;
|
||||||
|
|
|
@ -53,6 +53,10 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), ioThreads(0),
|
||||||
|
inputSocketType(), inputBufSize(0), inputMethod(), inputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int ioThreads;
|
int ioThreads;
|
||||||
string inputSocketType;
|
string inputSocketType;
|
||||||
|
|
|
@ -53,6 +53,11 @@ static void s_catch_signals(void)
|
||||||
|
|
||||||
typedef struct DeviceOptions
|
typedef struct DeviceOptions
|
||||||
{
|
{
|
||||||
|
DeviceOptions() :
|
||||||
|
id(), ioThreads(0), numOutputs(0),
|
||||||
|
inputSocketType(), inputBufSize(0), inputMethod(), inputAddress(),
|
||||||
|
outputSocketType(), outputBufSize(), outputMethod(), outputAddress() {}
|
||||||
|
|
||||||
string id;
|
string id;
|
||||||
int ioThreads;
|
int ioThreads;
|
||||||
int numOutputs;
|
int numOutputs;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user