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 | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
MainCore::MsgAddChannel Class Reference
+ Inheritance diagram for MainCore::MsgAddChannel:
+ Collaboration diagram for MainCore::MsgAddChannel:

Public Member Functions

int getDeviceSetIndex () const
 
int getChannelRegistrationIndex () const
 
bool isTx () const
 
- Public Member Functions inherited from Message
 Message ()
 
virtual ~Message ()
 
virtual const char * getIdentifier () const
 
virtual bool matchIdentifier (const char *identifier) const
 
void * getDestination () const
 
void setDestination (void *destination)
 

Static Public Member Functions

static MsgAddChannelcreate (int deviceSetIndex, int channelRegistrationIndex, bool tx)
 
- Static Public Member Functions inherited from Message
static bool match (const Message *message)
 

Private Member Functions

 MsgAddChannel (int deviceSetIndex, int channelRegistrationIndex, bool tx)
 

Private Attributes

int m_deviceSetIndex
 
int m_channelRegistrationIndex
 
bool m_tx
 

Additional Inherited Members

- Protected Attributes inherited from Message
void * m_destination
 
- Static Protected Attributes inherited from Message
static const char * m_identifier = 0
 

Detailed Description

Definition at line 220 of file maincore.h.

Constructor & Destructor Documentation

◆ MsgAddChannel()

MainCore::MsgAddChannel::MsgAddChannel ( int  deviceSetIndex,
int  channelRegistrationIndex,
bool  tx 
)
inlineprivate

Definition at line 238 of file maincore.h.

238  :
239  Message(),
240  m_deviceSetIndex(deviceSetIndex),
241  m_channelRegistrationIndex(channelRegistrationIndex),
242  m_tx(tx)
243  { }
Message()
Definition: message.cpp:26

Member Function Documentation

◆ create()

static MsgAddChannel* MainCore::MsgAddChannel::create ( int  deviceSetIndex,
int  channelRegistrationIndex,
bool  tx 
)
inlinestatic

Definition at line 228 of file maincore.h.

Referenced by WebAPIAdapterSrv::devicesetChannelPost().

229  {
230  return new MsgAddChannel(deviceSetIndex, channelRegistrationIndex, tx);
231  }
MsgAddChannel(int deviceSetIndex, int channelRegistrationIndex, bool tx)
Definition: maincore.h:238
+ Here is the caller graph for this function:

◆ getChannelRegistrationIndex()

int MainCore::MsgAddChannel::getChannelRegistrationIndex ( ) const
inline

Definition at line 225 of file maincore.h.

Referenced by MainCore::handleMessage().

225 { return m_channelRegistrationIndex; }
+ Here is the caller graph for this function:

◆ getDeviceSetIndex()

int MainCore::MsgAddChannel::getDeviceSetIndex ( ) const
inline

Definition at line 224 of file maincore.h.

Referenced by MainCore::handleMessage().

224 { return m_deviceSetIndex; }
+ Here is the caller graph for this function:

◆ isTx()

bool MainCore::MsgAddChannel::isTx ( ) const
inline

Definition at line 226 of file maincore.h.

226 { return m_tx; }

Member Data Documentation

◆ m_channelRegistrationIndex

int MainCore::MsgAddChannel::m_channelRegistrationIndex
private

Definition at line 235 of file maincore.h.

◆ m_deviceSetIndex

int MainCore::MsgAddChannel::m_deviceSetIndex
private

Definition at line 234 of file maincore.h.

◆ m_tx

bool MainCore::MsgAddChannel::m_tx
private

Definition at line 236 of file maincore.h.


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