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

Feed provider stub class every provider must be derived from this one. More...

#include <hugglefeed.hpp>

+ Inheritance diagram for Huggle::HuggleFeed:

Public Member Functions

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

Public Attributes

HuggleQueueFilterFilter
 

Detailed Description

Feed provider stub class every provider must be derived from this one.

Definition at line 22 of file hugglefeed.hpp.

Member Function Documentation

virtual bool Huggle::HuggleFeed::IsStopped ( )
inlinevirtual

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 in Huggle::HuggleFeedProviderIRC.

Definition at line 46 of file hugglefeed.hpp.


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