SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Public Attributes | Friends | List of all members
DeviceUserArgs::Args Struct Reference

#include <deviceuserargs.h>

Public Member Functions

 Args ()
 
 Args (const QString id, int sequence, const QString &args)
 

Public Attributes

QString m_id
 
int m_sequence
 
QString m_args
 

Friends

QDataStream & operator<< (QDataStream &ds, const Args &inObj)
 
QDataStream & operator>> (QDataStream &ds, Args &outObj)
 

Detailed Description

Definition at line 30 of file deviceuserargs.h.

Constructor & Destructor Documentation

◆ Args() [1/2]

DeviceUserArgs::Args::Args ( )
inline

Definition at line 35 of file deviceuserargs.h.

35  :
36  m_id(""),
37  m_sequence(0),
38  m_args("")
39  {}

◆ Args() [2/2]

DeviceUserArgs::Args::Args ( const QString  id,
int  sequence,
const QString &  args 
)
inline

Definition at line 41 of file deviceuserargs.h.

References operator<<(), and operator>>().

41  :
42  m_id(id),
43  m_sequence(sequence),
44  m_args(args)
45  {}
+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

QDataStream& operator<< ( QDataStream &  ds,
const Args inObj 
)
friend

Definition at line 23 of file deviceuserargs.cpp.

24 {
25  ds << inObj.m_id << inObj.m_sequence << inObj.m_args;
26  return ds;
27 }

◆ operator>>

QDataStream& operator>> ( QDataStream &  ds,
DeviceUserArgs::Args outObj 
)
friend

Definition at line 29 of file deviceuserargs.cpp.

30 {
31  ds >> outObj.m_id >> outObj.m_sequence >> outObj.m_args;
32  return ds;
33 }

Member Data Documentation

◆ m_args

QString DeviceUserArgs::Args::m_args

Definition at line 33 of file deviceuserargs.h.

Referenced by operator<<(), and operator>>().

◆ m_id

QString DeviceUserArgs::Args::m_id

Definition at line 31 of file deviceuserargs.h.

Referenced by operator<<(), and operator>>().

◆ m_sequence

int DeviceUserArgs::Args::m_sequence

Definition at line 32 of file deviceuserargs.h.

Referenced by operator<<(), and operator>>().


The documentation for this struct was generated from the following file: