MythTV  0.26-pre
Public Member Functions | Private Slots | Private Attributes
LCDServer Class Reference

#include <lcdserver.h>

List of all members.

Public Member Functions

 LCDServer (int port, QString message, int messageTime)
void sendKeyPress (QString key_pressed)

Private Slots

void newConnection (QTcpSocket *socket)
void endConnection (void)
void readSocket ()
QStringList parseCommand (QString &command)
void parseTokens (const QStringList &tokens, QTcpSocket *socket)
void shutDown ()
void sendMessage (QTcpSocket *where, const QString &what)
void sendConnected (QTcpSocket *socket)
void switchToTime (QTcpSocket *socket)
void switchToMusic (const QStringList &tokens, QTcpSocket *socket)
void switchToGeneric (const QStringList &tokens, QTcpSocket *socket)
void switchToChannel (const QStringList &tokens, QTcpSocket *socket)
void switchToVolume (const QStringList &tokens, QTcpSocket *socket)
void switchToNothing (QTcpSocket *socket)
void switchToMenu (const QStringList &tokens, QTcpSocket *socket)
void setChannelProgress (const QStringList &tokens, QTcpSocket *socket)
void setMusicProgress (const QStringList &tokens, QTcpSocket *socket)
void setMusicProp (const QStringList &tokens, QTcpSocket *socket)
void setGenericProgress (const QStringList &tokens, QTcpSocket *socket)
void setVolumeLevel (const QStringList &tokens, QTcpSocket *socket)
void updateLEDs (const QStringList &tokens, QTcpSocket *socket)

Private Attributes

LCDProcClientm_lcd
ServerPoolm_serverPool
QTcpSocket * m_lastSocket

Detailed Description

Definition at line 27 of file lcdserver.h.


Constructor & Destructor Documentation

LCDServer::LCDServer ( int  port,
QString  message,
int  messageTime 
)

Definition at line 78 of file lcdserver.cpp.


Member Function Documentation

void LCDServer::sendKeyPress ( QString  key_pressed)

Definition at line 291 of file lcdserver.cpp.

Referenced by LCDProcClient::serverSendingData().

void LCDServer::newConnection ( QTcpSocket *  socket) [private, slot]

Definition at line 106 of file lcdserver.cpp.

Referenced by LCDServer().

void LCDServer::endConnection ( void  ) [private, slot]

Definition at line 120 of file lcdserver.cpp.

Referenced by newConnection().

void LCDServer::readSocket ( ) [private, slot]

Definition at line 135 of file lcdserver.cpp.

Referenced by newConnection().

QStringList LCDServer::parseCommand ( QString &  command) [private, slot]

Definition at line 151 of file lcdserver.cpp.

Referenced by readSocket().

void LCDServer::parseTokens ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 179 of file lcdserver.cpp.

Referenced by readSocket().

void LCDServer::shutDown ( ) [private, slot]

Definition at line 270 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::sendMessage ( QTcpSocket *  where,
const QString &  what 
) [private, slot]
void LCDServer::sendConnected ( QTcpSocket *  socket) [private, slot]

Definition at line 301 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::switchToTime ( QTcpSocket *  socket) [private, slot]

Definition at line 318 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::switchToMusic ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 329 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::switchToGeneric ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 350 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::switchToChannel ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 421 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::switchToVolume ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 442 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::switchToNothing ( QTcpSocket *  socket) [private, slot]

Definition at line 463 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::switchToMenu ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 474 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::setChannelProgress ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 576 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::setMusicProgress ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 649 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::setMusicProp ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 681 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::setGenericProgress ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 608 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::setVolumeLevel ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 753 of file lcdserver.cpp.

Referenced by parseTokens().

void LCDServer::updateLEDs ( const QStringList &  tokens,
QTcpSocket *  socket 
) [private, slot]

Definition at line 785 of file lcdserver.cpp.

Referenced by parseTokens().


Member Data Documentation

Definition at line 67 of file lcdserver.h.

Referenced by LCDServer(), and shutDown().

QTcpSocket* LCDServer::m_lastSocket [private]

Definition at line 68 of file lcdserver.h.

Referenced by endConnection(), LCDServer(), readSocket(), and sendKeyPress().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends