blob: 23d2deeffc80a9817966d30a8c864bc0fcb68f4a (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
/* -*- C++ -*- */
//=============================================================================
/**
* @file Upcall_Wrapper.h
*
* $Id$
*
* @author Jeff Parsons and Carlos O'Ryan
*/
//=============================================================================
#ifndef TAO_UPCALL_WRAPPER_H
#define TAO_UPCALL_WRAPPER_H
#include /**/ "ace/pre.h"
#include "portableserver_export.h"
#include "tao/PortableServer/ServerRequestInfo.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/PortableServer/ServerInterceptorAdapter.h"
#include "tao/SArgument_T.h"
/**
* @class TAO_Upcall_Wrapper
*
* @brief Wraps the activities of the _skel operations.
*
*/
class TAO_PortableServer_Export TAO_Upcall_Wrapper
{
public:
TAO_Upcall_Wrapper (TAO::SArgument * _tao_arguments,
size_t nargs,
TAO::SArgument * _tao_retval,
TAO_ServerRequest * _tao_server_request,
void * _tao_servant_upcall)
: arglist_ (_tao_arguments),
nargs_ (nargs),
retval (_tao_retval),
tao_server_request (_tao_server_request),
servant_upcall_ (_tao_servant_upcall)
{}
virtual ~TAO_Upcall_Wrapper (void);
void pre_upcall (void)
{
}
void post_upcall (void)
{
}
private:
TAO::SArgument * arglist_;
size_t nargs_;
TAO::SArgument * retval_;
TAO_ServerRequest * tao_server_request_;
void * servant_upcall_;
};
#include /**/ "ace/post.h"
#endif /* TAO_UPCALL_WRAPPER_H */
|