dca_interface
6.3.4
|
Header file for the schedule thread. More...
Go to the source code of this file.
Functions | |
void | createScheduleThread (const dca::DcaInstance &aDcaInstance, dca::ScheduleEventSubscriberIntf *pSubscriber) |
Starts up the schedule thread and supplies the given DcaInstance. More... | |
void | shutdownScheduleThread () |
Shuts down the previously started schedule thread. More... | |
Header file for the schedule thread.
Definition in file url_samples/urldbsample_extended/schedule_thread.h.
void createScheduleThread | ( | const dca::DcaInstance & | aDcaInstance, |
dca::ScheduleEventSubscriberIntf * | pSubscriber | ||
) |
Starts up the schedule thread and supplies the given DcaInstance.
[in] | aDcaInstance | An initialized DcaInstance |
[in] | pSubscriber | A pointer to an implementation of dca::ScheduleEventSubscriberIntf |
Start up a schedule thread that calls the aDcaInstance::schedule() method in a loop.
It can be stopped by a call to ShutdownScheduleThread()
Schedule event information will be captured and handled by pSubscriber.
Definition at line 67 of file url_samples/urldbsample_extended/linux/schedule_thread.cpp.
void shutdownScheduleThread | ( | ) |
Shuts down the previously started schedule thread.
Shutting down will stop the thread safely.
If an update is already in progress the function will return as soon as possible but will not force-terminate any thread.
Definition at line 66 of file customdb_samples/customdbsample_extended/linux/schedule_thread.cpp.