Base class for vistors of the elements in the TP_Queue. More...
#include <CSD_TP_Queue_Visitor.h>

Public Member Functions | |
| virtual | ~TP_Queue_Visitor () |
| Virtual Destructor. | |
| virtual bool | visit_request (TP_Request *request, bool &remove_flag)=0 |
Protected Member Functions | |
| TP_Queue_Visitor () | |
| Default Constructor. | |
Base class for vistors of the elements in the TP_Queue.
Provides a way to perform thread-safe iteration over the TP_Request objects contained within a TP_Queue object.
This also provides a means to encapsulate each distinct algorithm within a distinct subclass of TP_Queue_Visitor.
Definition at line 48 of file CSD_TP_Queue_Visitor.h.
| TAO::CSD::TP_Queue_Visitor::~TP_Queue_Visitor | ( | ) | [virtual] |
| TAO::CSD::TP_Queue_Visitor::TP_Queue_Visitor | ( | ) | [protected] |
| virtual bool TAO::CSD::TP_Queue_Visitor::visit_request | ( | TP_Request * | request, | |
| bool & | remove_flag | |||
| ) | [pure virtual] |
Returns true to continue visitation. Return false to stop visitation. Sets the remove_flag to true if the request should be removed from the queue as a result of the visit. Leaves the remove_flag alone otherwise.
Implemented in TAO::CSD::TP_Cancel_Visitor, and TAO::CSD::TP_Dispatchable_Visitor.
1.7.0