MythTV  master
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SatIPRTSP Class Reference

#include <satiprtsp.h>

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

Signals

void startKeepAlive (std::chrono::milliseconds timeout)
 
void stopKeepAlive (void)
 

Public Member Functions

 SatIPRTSP (SatIPStreamHandler *handler)
 
 ~SatIPRTSP () override
 
bool Setup (const QUrl &url)
 
bool Play (QStringList &pids)
 
bool Teardown ()
 
bool HasLock ()
 
int GetSignalStrength ()
 

Protected Slots

void startKeepAliveRequested (std::chrono::milliseconds timeout)
 
void stopKeepAliveRequested (void)
 

Protected Member Functions

void timerEvent (QTimerEvent *) override
 
void SetSigmonValues (bool lock, int level)
 

Protected Attributes

QUrl m_requestUrl
 
PacketBufferm_buffer {nullptr}
 

Private Member Functions

bool sendMessage (const QUrl &url, const QString &msg, QStringList *additionalHeaders=nullptr)
 

Private Attributes

const SatIPStreamHandlerm_streamHandler {nullptr}
 
uint m_cseq {0}
 
QString m_sessionid
 
QString m_streamid
 
Headers m_headers
 
int m_timer {0}
 
std::chrono::milliseconds m_timeout {0ms}
 
QMutex m_ctrlSocketLock
 
QMutex m_sigmonLock
 
bool m_valid {false}
 
bool m_validOld {false}
 
bool m_hasLock {false}
 
int m_signalStrength {0}
 
SatIPRTSPReadHelperm_readHelper {nullptr}
 
SatIPRTSPWriteHelperm_writeHelper {nullptr}
 
SatIPRTCPReadHelperm_rtcpReadHelper {nullptr}
 

Friends

class SatIPRTSPReadHelper
 
class SatIPRTCPReadHelper
 
class SatIPRTSPWriteHelper
 
class SatIPSignalMonitor
 

Detailed Description

Definition at line 92 of file satiprtsp.h.

Constructor & Destructor Documentation

◆ SatIPRTSP()

SatIPRTSP::SatIPRTSP ( SatIPStreamHandler handler)
explicit

Definition at line 37 of file satiprtsp.cpp.

◆ ~SatIPRTSP()

SatIPRTSP::~SatIPRTSP ( )
override

Definition at line 96 of file satiprtsp.cpp.

Member Function Documentation

◆ Setup()

bool SatIPRTSP::Setup ( const QUrl &  url)

Definition at line 104 of file satiprtsp.cpp.

Referenced by SatIPStreamHandler::run(), and SatIPStreamHandler::Tune().

◆ Play()

bool SatIPRTSP::Play ( QStringList &  pids)

Definition at line 180 of file satiprtsp.cpp.

Referenced by SatIPStreamHandler::Tune(), and SatIPStreamHandler::UpdateFilters().

◆ Teardown()

bool SatIPRTSP::Teardown ( )

Definition at line 214 of file satiprtsp.cpp.

Referenced by SatIPStreamHandler::run(), and SatIPStreamHandler::Tune().

◆ HasLock()

bool SatIPRTSP::HasLock ( )

Definition at line 247 of file satiprtsp.cpp.

Referenced by SatIPSignalMonitor::UpdateValues().

◆ GetSignalStrength()

int SatIPRTSP::GetSignalStrength ( )

Definition at line 253 of file satiprtsp.cpp.

Referenced by SatIPSignalMonitor::UpdateValues().

◆ timerEvent()

void SatIPRTSP::timerEvent ( QTimerEvent *  timerEvent)
overrideprotected

Definition at line 407 of file satiprtsp.cpp.

◆ SetSigmonValues()

void SatIPRTSP::SetSigmonValues ( bool  lock,
int  level 
)
protected

Definition at line 259 of file satiprtsp.cpp.

Referenced by SatIPRTCPReadHelper::ReadPending().

◆ startKeepAlive

void SatIPRTSP::startKeepAlive ( std::chrono::milliseconds  timeout)
signal

Referenced by SatIPRTSP(), and Setup().

◆ stopKeepAlive

void SatIPRTSP::stopKeepAlive ( void  )
signal

Referenced by SatIPRTSP(), and Teardown().

◆ startKeepAliveRequested

void SatIPRTSP::startKeepAliveRequested ( std::chrono::milliseconds  timeout)
protectedslot

Definition at line 388 of file satiprtsp.cpp.

Referenced by SatIPRTSP().

◆ stopKeepAliveRequested

void SatIPRTSP::stopKeepAliveRequested ( void  )
protectedslot

Definition at line 397 of file satiprtsp.cpp.

Referenced by SatIPRTSP().

◆ sendMessage()

bool SatIPRTSP::sendMessage ( const QUrl &  url,
const QString &  msg,
QStringList *  additionalHeaders = nullptr 
)
private

Definition at line 266 of file satiprtsp.cpp.

Referenced by Play(), Setup(), Teardown(), and timerEvent().

Friends And Related Function Documentation

◆ SatIPRTSPReadHelper

friend class SatIPRTSPReadHelper
friend

Definition at line 94 of file satiprtsp.h.

Referenced by SatIPRTSP().

◆ SatIPRTCPReadHelper

friend class SatIPRTCPReadHelper
friend

Definition at line 95 of file satiprtsp.h.

Referenced by SatIPRTSP().

◆ SatIPRTSPWriteHelper

friend class SatIPRTSPWriteHelper
friend

Definition at line 96 of file satiprtsp.h.

Referenced by SatIPRTSP().

◆ SatIPSignalMonitor

friend class SatIPSignalMonitor
friend

Definition at line 97 of file satiprtsp.h.

Member Data Documentation

◆ m_requestUrl

QUrl SatIPRTSP::m_requestUrl
protected

Definition at line 125 of file satiprtsp.h.

Referenced by Play(), Setup(), Teardown(), and timerEvent().

◆ m_buffer

PacketBuffer* SatIPRTSP::m_buffer {nullptr}
protected

◆ m_streamHandler

const SatIPStreamHandler* SatIPRTSP::m_streamHandler {nullptr}
private

Definition at line 132 of file satiprtsp.h.

◆ m_cseq

uint SatIPRTSP::m_cseq {0}
private

Definition at line 134 of file satiprtsp.h.

Referenced by sendMessage().

◆ m_sessionid

QString SatIPRTSP::m_sessionid
private

Definition at line 135 of file satiprtsp.h.

Referenced by sendMessage(), Setup(), and Teardown().

◆ m_streamid

QString SatIPRTSP::m_streamid
private

Definition at line 136 of file satiprtsp.h.

Referenced by Play(), Setup(), and Teardown().

◆ m_headers

Headers SatIPRTSP::m_headers
private

Definition at line 137 of file satiprtsp.h.

Referenced by sendMessage(), and Setup().

◆ m_timer

int SatIPRTSP::m_timer {0}
private

Definition at line 139 of file satiprtsp.h.

Referenced by startKeepAliveRequested(), and stopKeepAliveRequested().

◆ m_timeout

std::chrono::milliseconds SatIPRTSP::m_timeout {0ms}
private

Definition at line 140 of file satiprtsp.h.

Referenced by Setup().

◆ m_ctrlSocketLock

QMutex SatIPRTSP::m_ctrlSocketLock
private

Definition at line 142 of file satiprtsp.h.

Referenced by sendMessage().

◆ m_sigmonLock

QMutex SatIPRTSP::m_sigmonLock
private

Definition at line 143 of file satiprtsp.h.

Referenced by GetSignalStrength(), HasLock(), SetSigmonValues(), Setup(), and Teardown().

◆ m_valid

bool SatIPRTSP::m_valid {false}
private

Definition at line 145 of file satiprtsp.h.

Referenced by Play(), Teardown(), and SatIPRTSPWriteHelper::timerEvent().

◆ m_validOld

bool SatIPRTSP::m_validOld {false}
private

Definition at line 146 of file satiprtsp.h.

Referenced by Teardown(), and SatIPRTSPWriteHelper::timerEvent().

◆ m_hasLock

bool SatIPRTSP::m_hasLock {false}
private

Definition at line 147 of file satiprtsp.h.

Referenced by HasLock(), SetSigmonValues(), Setup(), and Teardown().

◆ m_signalStrength

int SatIPRTSP::m_signalStrength {0}
private

Definition at line 148 of file satiprtsp.h.

Referenced by GetSignalStrength(), and SetSigmonValues().

◆ m_readHelper

SatIPRTSPReadHelper* SatIPRTSP::m_readHelper {nullptr}
private

Definition at line 150 of file satiprtsp.h.

Referenced by SatIPRTSP(), Setup(), and ~SatIPRTSP().

◆ m_writeHelper

SatIPRTSPWriteHelper* SatIPRTSP::m_writeHelper {nullptr}
private

Definition at line 151 of file satiprtsp.h.

Referenced by SatIPRTSP(), and ~SatIPRTSP().

◆ m_rtcpReadHelper

SatIPRTCPReadHelper* SatIPRTSP::m_rtcpReadHelper {nullptr}
private

Definition at line 152 of file satiprtsp.h.

Referenced by SatIPRTSP(), and ~SatIPRTSP().


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