CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
Myth::EventHandler::EventHandlerThread Class Referenceabstract
Inheritance diagram for Myth::EventHandler::EventHandlerThread:
Collaboration diagram for Myth::EventHandler::EventHandlerThread:

Public Member Functions

 EventHandlerThread (const std::string &server, unsigned port)
virtual std::string GetServer () const
virtual unsigned GetPort () const
virtual bool Start ()=0
virtual void Stop ()=0
virtual void Reset ()=0
virtual bool HasStarted ()=0
virtual bool IsConnected ()=0
virtual unsigned CreateSubscription (EventSubscriber *sub)=0
virtual bool SubscribeForEvent (unsigned subid, EVENT_t event)=0
virtual void RevokeSubscription (unsigned subid)=0
virtual void RevokeAllSubscriptions (EventSubscriber *sub)=0

Protected Attributes

std::string m_server
unsigned m_port

Friends

class EventHandler

Detailed Description

Definition at line 63 of file mytheventhandler.h.

Constructor & Destructor Documentation

◆ EventHandlerThread()

EventHandler::EventHandlerThread::EventHandlerThread ( const std::string & server,
unsigned port )

Definition at line 41 of file mytheventhandler.cpp.

◆ ~EventHandlerThread()

EventHandler::EventHandlerThread::~EventHandlerThread ( )
virtual

Definition at line 47 of file mytheventhandler.cpp.

Member Function Documentation

◆ GetPort()

virtual unsigned Myth::EventHandler::EventHandlerThread::GetPort ( ) const
inlinevirtual

Definition at line 70 of file mytheventhandler.h.

◆ GetServer()

virtual std::string Myth::EventHandler::EventHandlerThread::GetServer ( ) const
inlinevirtual

Definition at line 69 of file mytheventhandler.h.

◆ EventHandler

friend class EventHandler
friend

Definition at line 65 of file mytheventhandler.h.

Field Documentation

◆ m_port

unsigned Myth::EventHandler::EventHandlerThread::m_port
protected

Definition at line 83 of file mytheventhandler.h.

◆ m_server

std::string Myth::EventHandler::EventHandlerThread::m_server
protected

Definition at line 82 of file mytheventhandler.h.


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