#include <cumbiatango.h>
◆ Type
Enumerator |
---|
CumbiaTangoType | |
◆ UpdateOptions
Enumerator |
---|
OnPollUpdateAlways | |
OnPollUnchangedUpdateTimestamp | |
OnPollUnchangedNoUpdate | |
SkipFirstReadUpdate | |
EndUpdateOptions | |
◆ CumbiaTango()
CumbiaTango::CumbiaTango |
( |
CuThreadFactoryImplI * |
tfi, |
|
|
CuThreadsEventBridgeFactory_I * |
teb |
|
) |
| |
CumbiaTango two parameters constructor.
The class constructor accepts a factory providing a thread implementation for cumbia (mainly CuThread) and a bridge to forward events from the secondary threads to the main.
- Parameters
-
tfi | a CuThreadFactoryImplI implementation, mainly CuThreadFactoryImpl |
teb | a CuThreadsEventBridgeFactory_I implementation, for example CuThreadsEventBridgeFactory or cumbia-qtcontrols QThreadsEventBridgeFactory |
- example
Definition: cumbiatango.h:155
◆ ~CumbiaTango()
CumbiaTango::~CumbiaTango |
( |
| ) |
|
◆ addAction()
◆ findAction()
◆ getThreadEventsBridgeFactory()
CuThreadsEventBridgeFactory_I * CumbiaTango::getThreadEventsBridgeFactory |
( |
| ) |
const |
◆ getThreadFactoryImpl()
CuThreadFactoryImplI * CumbiaTango::getThreadFactoryImpl |
( |
| ) |
const |
◆ getType()
int CumbiaTango::getType |
( |
| ) |
const |
|
virtual |
◆ readUpdatePolicy()
int CumbiaTango::readUpdatePolicy |
( |
| ) |
const |
◆ removeAction()
◆ setReadUpdatePolicy()
void CumbiaTango::setReadUpdatePolicy |
( |
int |
p | ) |
|
Suggest a policy for read updates
- Parameters
-
p | a valid combination of values from the enum CuDataUpdatePolicy OnPoll options can be or-ed with SkipFirstReadUpdate |
- See also
- CuDataUpdatePolicy
-
CuPollingActivity
◆ unlinkListener()
void CumbiaTango::unlinkListener |
( |
const std::string & |
source, |
|
|
CuTangoActionI::Type |
t, |
|
|
CuDataListener * |
l |
|
) |
| |
The documentation for this class was generated from the following files: