Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CRssReader Class Reference

#include <RssReader.h>

Inheritance diagram for CRssReader:
CThread

Public Member Functions

 CRssReader ()
 
 ~CRssReader () override
 
void Create (IRssObserver *aObserver, const std::vector< std::string > &aUrl, const std::vector< int > &times, int spacesBetweenFeeds, bool rtl)
 
bool Parse (const std::string &data, int iFeed)
 
void getFeed (vecText &text)
 
void AddTag (const std::string &addTag)
 
void AddToQueue (int iAdd)
 
void UpdateObserver ()
 
void SetObserver (IRssObserver *observer)
 
void CheckForUpdates ()
 
void requestRefresh ()
 
- Public Member Functions inherited from CThread
 CThread (IRunnable *pRunnable, const char *ThreadName)
 
virtual ~CThread ()
 
void Create (bool bAutoDelete=false)
 
template<typename Rep , typename Period >
void Sleep (std::chrono::duration< Rep, Period > duration)
 
bool IsAutoDelete () const
 
virtual void StopThread (bool bWait=true)
 
bool IsRunning () const
 
bool IsCurrentThread () const
 
bool Join (std::chrono::milliseconds duration)
 
bool SetPriority (const ThreadPriority &priority)
 Set the threads priority. This uses the platforms native threading library to do so.
 
virtual void OnException ()
 

Public Attributes

float m_savedScrollPixelPos
 

Additional Inherited Members

- Static Public Member Functions inherited from CThread
static const std::thread::id GetCurrentThreadId ()
 
static CThreadGetCurrentThread ()
 
- Protected Types inherited from CThread
enum  WaitResponse { WAIT_INTERRUPTED = -1 , WAIT_SIGNALED = 0 , WAIT_TIMEDOUT = 1 }
 
- Protected Member Functions inherited from CThread
 CThread (const char *ThreadName)
 
virtual void OnStartup ()
 
WaitResponse AbortableWait (CEvent &event, std::chrono::milliseconds duration=std::chrono::milliseconds(-1))
 
- Protected Attributes inherited from CThread
std::atomic< boolm_bStop
 

Constructor & Destructor Documentation

◆ CRssReader()

CRssReader::CRssReader ( )

◆ ~CRssReader()

CRssReader::~CRssReader ( )
override

Member Function Documentation

◆ AddTag()

void CRssReader::AddTag ( const std::string & addTag)

◆ AddToQueue()

void CRssReader::AddToQueue ( int iAdd)

◆ CheckForUpdates()

void CRssReader::CheckForUpdates ( )

◆ Create()

void CRssReader::Create ( IRssObserver * aObserver,
const std::vector< std::string > & aUrl,
const std::vector< int > & times,
int spacesBetweenFeeds,
bool rtl )

◆ getFeed()

void CRssReader::getFeed ( vecText & text)

◆ Parse()

bool CRssReader::Parse ( const std::string & data,
int iFeed )

◆ requestRefresh()

void CRssReader::requestRefresh ( )

◆ SetObserver()

void CRssReader::SetObserver ( IRssObserver * observer)

◆ UpdateObserver()

void CRssReader::UpdateObserver ( )

Member Data Documentation

◆ m_savedScrollPixelPos

float CRssReader::m_savedScrollPixelPos

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