MythTV  master
Public Member Functions | Private Attributes | List of all members
NetworkCommand Class Reference

#include <networkcontrol.h>

Inheritance diagram for NetworkCommand:
Inheritance graph
[legend]
Collaboration diagram for NetworkCommand:
Collaboration graph
[legend]

Public Member Functions

 NetworkCommand (NetworkControlClient *cli, const QString &c)
 
NetworkCommandoperator= (NetworkCommand const &nc)
 
QString getCommand ()
 
NetworkControlClientgetClient ()
 
QString getArg (int arg)
 
int getArgCount ()
 
QString getFrom (int arg)
 

Private Attributes

QString m_command
 
NetworkControlClientm_client {nullptr}
 
QStringList m_args
 

Detailed Description

Definition at line 45 of file networkcontrol.h.

Constructor & Destructor Documentation

◆ NetworkCommand()

NetworkCommand::NetworkCommand ( NetworkControlClient cli,
const QString &  c 
)
inline

Definition at line 49 of file networkcontrol.h.

Member Function Documentation

◆ operator=()

NetworkCommand& NetworkCommand::operator= ( NetworkCommand const &  nc)
inline

Definition at line 56 of file networkcontrol.h.

◆ getCommand()

QString NetworkCommand::getCommand ( )
inline

◆ getClient()

NetworkControlClient* NetworkCommand::getClient ( )
inline

◆ getArg()

QString NetworkCommand::getArg ( int  arg)
inline

◆ getArgCount()

int NetworkCommand::getArgCount ( )
inline

◆ getFrom()

QString NetworkCommand::getFrom ( int  arg)

Definition at line 1871 of file networkcontrol.cpp.

Referenced by NetworkControl::processPlay().

Member Data Documentation

◆ m_command

QString NetworkCommand::m_command
private

Definition at line 73 of file networkcontrol.h.

Referenced by getCommand(), getFrom(), NetworkCommand(), and operator=().

◆ m_client

NetworkControlClient* NetworkCommand::m_client {nullptr}
private

Definition at line 74 of file networkcontrol.h.

Referenced by getClient(), and operator=().

◆ m_args

QStringList NetworkCommand::m_args
private

Definition at line 75 of file networkcontrol.h.

Referenced by getArg(), getArgCount(), NetworkCommand(), and operator=().


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