Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | Public Attributes | List of all members
INDI::TimerPrivate Class Reference

#include <inditimer_p.h>

Public Member Functions

 TimerPrivate (Timer *p)
 
virtual ~TimerPrivate ()
 
void start ()
 
void stop ()
 

Public Attributes

Timerp
 
int interval {1000}
 
std::atomic< int > timerId {-1}
 
bool singleShot {false}
 
bool active {false}
 
std::function< void()> callback
 

Detailed Description

Definition at line 28 of file inditimer_p.h.

Constructor & Destructor Documentation

◆ TimerPrivate()

INDI::TimerPrivate::TimerPrivate ( Timer p)

Definition at line 28 of file inditimer.cpp.

◆ ~TimerPrivate()

INDI::TimerPrivate::~TimerPrivate ( )
virtual

Definition at line 32 of file inditimer.cpp.

Member Function Documentation

◆ start()

void INDI::TimerPrivate::start ( )

Definition at line 37 of file inditimer.cpp.

◆ stop()

void INDI::TimerPrivate::stop ( )

Definition at line 58 of file inditimer.cpp.

Member Data Documentation

◆ active

bool INDI::TimerPrivate::active {false}

Definition at line 44 of file inditimer_p.h.

◆ callback

std::function<void()> INDI::TimerPrivate::callback

Definition at line 46 of file inditimer_p.h.

◆ interval

int INDI::TimerPrivate::interval {1000}

Definition at line 40 of file inditimer_p.h.

◆ p

Timer* INDI::TimerPrivate::p

Definition at line 39 of file inditimer_p.h.

◆ singleShot

bool INDI::TimerPrivate::singleShot {false}

Definition at line 43 of file inditimer_p.h.

◆ timerId

std::atomic<int> INDI::TimerPrivate::timerId {-1}

Definition at line 42 of file inditimer_p.h.


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