INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydroiceutil::Job Class Reference
Inherited by hydroiceutil::EventJob, InfiniteJob, orcaqcm::GetComponentsJob, and TestJob.
Detailed DescriptionA request to perform an operation which may take a long time (eg network job). Job implementation must interrupt execution when the the job is cancelled. Check isCancelled() periodically. Member Function Documentation
Cancel this job. Execution should stop. What to do in this case is job-dependent. Depending on the state in which the job is finished, it may be necessary to inform somebody about what did and did not happen.
Implement this function and do your job in it. It will be done by one of the 'workers' from the queue's thread pool. Implemented in hydroiceutil::EventJob, and orcaqcm::GetComponentsJob.
Returns expected duration of the job in [ms]. Returns a negative number if the job duration is infinite or unknown (default). This information can be used by the JobQueue for detection of stalled jobs. Reimplemented in hydroiceutil::EventJob.
Convenience function for compatibility with Stoppable interface. Returns the same result as isCancelled(). Member Data DocumentationIf TRUE, start and end of job execution are traced to info(). Default is FALSE. This is a debugging tool, use with care! Not thread safe. Normal usage: create a job, set isTracable_ to TRUE before adding the job to the job queue and do not modify it again. The documentation for this class was generated from the following files:
|
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)