summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_cust_op4.h
blob: 8d5c42757a05c7a3fcd1652730278c2fedbbeec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// This may look like C, but it's really -*- C++ -*-

//=============================================================================
/**
 *  @file    Foo_C_cust_op4.h
 *
 *  @author  Tim Bradley <bradley_t@ociweb.com>
 */
//=============================================================================

#ifndef FOO_C_CUST_OP4_H
#define FOO_C_CUST_OP4_H

#include "CSD_TP_Foo_C_Export.h"
#include "tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.h"
#include "tao/Intrusive_Ref_Count_Handle_T.h"

class Foo_C_i;

class Foo_C_cust_op4;
typedef TAO_Intrusive_Ref_Count_Handle<Foo_C_cust_op4> Foo_C_cust_op4_Handle;


class CSD_TP_Foo_C_Export Foo_C_cust_op4 : public TAO::CSD::TP_Custom_Request_Operation
{
  public:

    Foo_C_cust_op4(Foo_C_i* servant, long arg);
    virtual ~Foo_C_cust_op4();


  protected:

    virtual void execute_i();
    virtual void cancel_i();


  private:

    long arg_;

    Foo_C_i*                        servant_;
};

#endif