blob: 5b5f17d45051d47592f484376e9355d4b8c898cd (
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
70
71
72
|
// -*- C++ -*-
// ===================================================================
/**
* @file PICurrent_Copy_Callback.h
*
* $Id$
*
* @author Ossama Othman <ossama@dre.vanderbilt.edu>
*/
// ===================================================================
#ifndef TAO_PI_CURRENT_CALLBACK_H
#define TAO_PI_CURRENT_CALLBACK_H
#include /**/ "ace/pre.h"
#include "pi_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/orbconf.h"
#if TAO_HAS_INTERCEPTORS == 1
namespace TAO
{
class PICurrent_Impl;
/**
* @class PICurrent_Copy_Callback
*
* @brief PICurrent copy callback class.
*
* This class performs deep copies from the source PICurrent_Impl
* object's slot table to the destination PICurrent_Impl object's
* slot table.
*/
class TAO_PI_Export PICurrent_Copy_Callback
{
public:
/// Constructor.
PICurrent_Copy_Callback (void);
/// Destructor.
~PICurrent_Copy_Callback (void);
/// Perform the copy.
int execute (void);
/// Set the source and destination PICurrent_Impl objects.
void src_and_dst (PICurrent_Impl * src, PICurrent_Impl * dst);
private:
/// Source PICurrent from which copies will be made.
PICurrent_Impl * src_;
/// Destination PICurrent to which copies will be made.
PICurrent_Impl * dst_;
};
}
#endif /* TAO_HAS_INTERCEPTORS == 1 */
#include /**/ "ace/post.h"
#endif /* TAO_PI_CURRENT_CALLBACK_H */
|