OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
ossimJobQueue::Callback Class Reference

The callback allows one to attach and listen for certain things. More...

#include <ossimJobQueue.h>

Public Member Functions

 Callback ()
 
virtual void adding (std::shared_ptr< ossimJobQueue >, std::shared_ptr< ossimJob >)
 Called just before a job is added. More...
 
virtual void added (std::shared_ptr< ossimJobQueue >, std::shared_ptr< ossimJob >)
 Called after a job is added to the queue. More...
 
virtual void removed (std::shared_ptr< ossimJobQueue >, std::shared_ptr< ossimJob >)
 Called after a job is removed from the queue. More...
 

Detailed Description

The callback allows one to attach and listen for certain things.

In the ossimJobQueue it will notify just before adding a job, after adding a job and if a job is removed.

Definition at line 92 of file ossimJobQueue.h.

Constructor & Destructor Documentation

◆ Callback()

ossimJobQueue::Callback::Callback ( )
inline

Definition at line 95 of file ossimJobQueue.h.

95 {}

Member Function Documentation

◆ added()

virtual void ossimJobQueue::Callback::added ( std::shared_ptr< ossimJobQueue ,
std::shared_ptr< ossimJob  
)
inlinevirtual

Called after a job is added to the queue.

Parameters
qIs a shared_ptr to 'this' job queue
jobIs a shared ptr to the job we are added

Definition at line 111 of file ossimJobQueue.h.

112  {}

◆ adding()

virtual void ossimJobQueue::Callback::adding ( std::shared_ptr< ossimJobQueue ,
std::shared_ptr< ossimJob  
)
inlinevirtual

Called just before a job is added.

Parameters
qIs a shared_ptr to 'this' job queue
jobIs a shared ptr to the job we are adding

Definition at line 103 of file ossimJobQueue.h.

104  {};

◆ removed()

virtual void ossimJobQueue::Callback::removed ( std::shared_ptr< ossimJobQueue ,
std::shared_ptr< ossimJob  
)
inlinevirtual

Called after a job is removed from the queue.

Parameters
qIs a shared_ptr to 'this' job queue
jobIs a shared ptr to the job we have removed

Definition at line 120 of file ossimJobQueue.h.

121  {}

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