![]() |
CPPMyth
Library to interoperate with MythTV server
|


Public Member Functions | |
| BasicEventHandler (const std::string &server, unsigned port) | |
| virtual bool | Start () |
| virtual void | Stop () |
| virtual void | Reset () |
| virtual bool | HasStarted () |
| virtual bool | IsConnected () |
| virtual unsigned | CreateSubscription (EventSubscriber *sub) |
| virtual bool | SubscribeForEvent (unsigned subid, EVENT_t event) |
| virtual void | RevokeSubscription (unsigned subid) |
| virtual void | RevokeAllSubscriptions (EventSubscriber *sub) |
| Public Member Functions inherited from Myth::EventHandler::EventHandlerThread | |
| EventHandlerThread (const std::string &server, unsigned port) | |
| virtual std::string | GetServer () const |
| virtual unsigned | GetPort () const |
Private Types | |
| typedef std::map< EVENT_t, std::list< unsigned > > | subscriptionsByEvent_t |
| typedef std::map< unsigned, SubscriptionHandlerThread * > | subscriptions_t |
Private Member Functions | |
| void | DispatchEvent (const EventMessagePtr &msg) |
| virtual void * | process (void) |
| void | AnnounceStatus (const char *status) |
| void | AnnounceTimer () |
| void | RetryConnect () |
Private Attributes | |
| OS::Mutex | m_mutex |
| ProtoEvent * | m_event |
| bool | m_reset |
| subscriptionsByEvent_t | m_subscriptionsByEvent |
| subscriptions_t | m_subscriptions |
Additional Inherited Members | |
| Protected Attributes inherited from Myth::EventHandler::EventHandlerThread | |
| std::string | m_server |
| unsigned | m_port |
Definition at line 156 of file mytheventhandler.cpp.
|
private |
Definition at line 179 of file mytheventhandler.cpp.
|
private |
Definition at line 177 of file mytheventhandler.cpp.
| BasicEventHandler::BasicEventHandler | ( | const std::string & | server, |
| unsigned | port ) |
Definition at line 190 of file mytheventhandler.cpp.
|
virtual |
Definition at line 197 of file mytheventhandler.cpp.
|
private |
Definition at line 364 of file mytheventhandler.cpp.
|
private |
Definition at line 374 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 245 of file mytheventhandler.cpp.
|
private |
Definition at line 308 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 235 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 240 of file mytheventhandler.cpp.
|
privatevirtual |
Definition at line 329 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 229 of file mytheventhandler.cpp.
|
private |
Definition at line 382 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 292 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 281 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 210 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 217 of file mytheventhandler.cpp.
|
virtual |
Implements Myth::EventHandler::EventHandlerThread.
Definition at line 263 of file mytheventhandler.cpp.
|
private |
Definition at line 174 of file mytheventhandler.cpp.
|
private |
Definition at line 173 of file mytheventhandler.cpp.
|
private |
Definition at line 175 of file mytheventhandler.cpp.
|
private |
Definition at line 180 of file mytheventhandler.cpp.
|
private |
Definition at line 178 of file mytheventhandler.cpp.