blob: 487b0532e3a8f905065545c656ae12517fd7e52a (
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
73
74
75
|
//$Id$
//============================================================
/**
* @file Sender_exec.h
*
* Header file for the Executor implementation.
*/
//============================================================
#ifndef SENDER_EXEC_H
#define SENDER_EXEC_H
#include "SwapExecC.h"
#include "SenderEC.h"
#include "Sender_exec_export.h"
#include "tao/LocalObject.h"
#include "ace/DLL.h"
namespace Sender_Impl
{
typedef ::Components::EnterpriseComponent_ptr (*ExecFactory) (void);
/**
* @class Sender_exec_i
*
* Sender executor implementation class.
*/
class SENDER_EXEC_Export SenderSwap_exec_i :
public virtual CIAO::Swap_Exec,
public virtual TAO_Local_RefCounted_Object
{
public:
SenderSwap_exec_i ();
~SenderSwap_exec_i ();
virtual ::Components::EnterpriseComponent_ptr
incarnate (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual ::Components::EnterpriseComponent_ptr
etherealize (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException));
protected:
int count_;
};
class SENDER_EXEC_Export SenderHome_exec_i :
public virtual SenderHome_Exec,
public virtual TAO_Local_RefCounted_Object
{
public:
/// Default ctor.
SenderHome_exec_i ();
/// Default dtor.
virtual ~SenderHome_exec_i ();
// Implicit home operations.
virtual ::Components::EnterpriseComponent_ptr
create (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
ACE_THROW_SPEC ((CORBA::SystemException,
Components::CCMException));
};
}
extern "C" SENDER_EXEC_Export ::Components::HomeExecutorBase_ptr
createSenderHome_Impl (void);
#endif /* SENDER_EXEC_H */
|