Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Huggle::HuggleFeedProviderIRC Class Reference

Provider that uses a wikimedia irc recent changes feed to retrieve information about edits. More...

#include <hugglefeedproviderirc.hpp>

+ Inheritance diagram for Huggle::HuggleFeedProviderIRC:

Public Member Functions

bool ContainsEdit ()
 Check if feed is containing some edits in buffer.
 
void InsertEdit (WikiEdit *edit)
 
bool IsConnected ()
 
bool IsPaused ()
 
bool IsStopped ()
 Returns true in case that a provider is stopped and can be safely deleted. More...
 
bool IsWorking ()
 Return true if this feed is operational or not.
 
void ParseEdit (QString line)
 
void Pause ()
 This is useful to stop parsing edits from irc and like in case that queue is full.
 
bool Restart ()
 Restart the feed engine.
 
void Resume ()
 Resume edit parsing.
 
WikiEditRetrieveEdit ()
 Return a last edit from cache or NULL.
 
bool Start ()
 Start the feed engine. More...
 
void Stop ()
 Stop the feed engine.
 

Public Attributes

bool Connected
 
- Public Attributes inherited from Huggle::HuggleFeed
HuggleQueueFilterFilter
 

Private Attributes

QList< WikiEdit * > Buffer
 
QMutex lock
 
bool Paused
 
QTcpSocket * TcpSocket
 
HuggleFeedProviderIRC_tthread
 

Detailed Description

Provider that uses a wikimedia irc recent changes feed to retrieve information about edits.

Definition at line 47 of file hugglefeedproviderirc.hpp.

Member Function Documentation

bool HuggleFeedProviderIRC::IsStopped ( )
virtual

Returns true in case that a provider is stopped and can be safely deleted.

This is useful in case we are running some background threads and we need to wait for them to finish before we can delete the object

Reimplemented from Huggle::HuggleFeed.

Definition at line 405 of file hugglefeedproviderirc.cpp.

References IsWorking().

Referenced by Stop().


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