3 //=============================================================================
5 * @file CSD_TP_Custom_Request.h
7 * @author Tim Bradley <bradley_t@ociweb.com>
9 //=============================================================================
11 #ifndef TAO_CSD_TP_CUSTOM_REQUEST_H
12 #define TAO_CSD_TP_CUSTOM_REQUEST_H
14 #include /**/ "ace/pre.h"
16 #include "tao/CSD_ThreadPool/CSD_TP_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/CSD_ThreadPool/CSD_TP_Request.h"
23 #include "tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.h"
24 #include "tao/PortableServer/Servant_Base.h"
26 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
32 class TP_Custom_Request
;
33 typedef TAO_Intrusive_Ref_Count_Handle
<TP_Custom_Request
>
34 TP_Custom_Request_Handle
;
37 * @class TP_Custom_Request
39 * @brief Base class for "queue-able" Custom (non-CORBA) requests.
41 * TBD - Add description
44 class TAO_CSD_TP_Export TP_Custom_Request
: public TP_Request
47 /// Virtual Destructor.
48 virtual ~TP_Custom_Request();
52 TP_Custom_Request(TP_Custom_Request_Operation
* op
,
53 TP_Servant_State
* servant_state
);
59 TP_Custom_Request_Operation_Handle op_
;
64 TAO_END_VERSIONED_NAMESPACE_DECL
66 #if defined (__ACE_INLINE__)
67 # include "tao/CSD_ThreadPool/CSD_TP_Custom_Request.inl"
68 #endif /* __ACE_INLINE__ */
70 #include /**/ "ace/post.h"
72 #endif /* TAO_CSD_TP_CUSTOM_REQUEST_H */