mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
cc_timer: declare some members as protected
required for use in derived classes
This commit is contained in:
@@ -51,19 +51,20 @@ class CComponentsTimer : public sigc::trackable
|
|||||||
///refresh interval in seconds
|
///refresh interval in seconds
|
||||||
int64_t tm_interval;
|
int64_t tm_interval;
|
||||||
|
|
||||||
///init function to start/stop timer in own thread
|
|
||||||
void initThread();
|
|
||||||
void stopThread();
|
|
||||||
|
|
||||||
///runs shared timer action provided inside OnTimer() signal
|
///runs shared timer action provided inside OnTimer() signal
|
||||||
static void threadCallback(CComponentsTimer *tm);
|
static void threadCallback(CComponentsTimer *tm);
|
||||||
|
|
||||||
sigc::slot<void> sl_cleanup_timer;
|
sigc::slot<void> sl_cleanup_timer;
|
||||||
|
|
||||||
///name for the thread
|
|
||||||
std::string tm_thread_name;
|
|
||||||
std::string tn;
|
std::string tn;
|
||||||
|
|
||||||
|
protected: ///name for thread
|
||||||
|
std::string tm_thread_name;
|
||||||
|
|
||||||
|
///init function to start/stop timer in own thread
|
||||||
|
void initThread();
|
||||||
|
void stopThread();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**Constructor for timer class
|
/**Constructor for timer class
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user