Huggle
build:^490^dce1e5c
|
Feed provider stub class every provider must be derived from this one. More...
#include <hugglefeed.hpp>
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 WikiEdit * | RetrieveEdit () |
Return a last edit from cache or NULL. | |
virtual bool | Start () |
Start the feed engine. | |
virtual void | Stop () |
Stop the feed engine. | |
Public Attributes | |
HuggleQueueFilter * | Filter |
Feed provider stub class every provider must be derived from this one.
Definition at line 22 of file hugglefeed.hpp.
|
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.