Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tao / PortableServer / Direct_Collocation_Upcall_Wrapper.h
blob2cec9553697a403b7a840ba23816435f3f0a7d61
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Direct_Collocation_Upcall_Wrapper.h
7 * @author Johnny Willemsen
8 */
9 //=============================================================================
11 #ifndef TAO_DIRECT_COLLOCATION_UPCALL_WRAPPER_H
12 #define TAO_DIRECT_COLLOCATION_UPCALL_WRAPPER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/PortableServer/portableserver_export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* !ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/Basic_Types.h"
23 #include "tao/orbconf.h"
24 #include "tao/Collocation_Strategy.h"
25 #include "tao/Exception.h"
26 #include "tao/CORBA_methods.h"
27 #include "tao/Pseudo_VarOut_T.h"
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 namespace CORBA
33 class Object;
34 typedef Object *Object_ptr;
35 typedef TAO_Pseudo_Var_T<Object> Object_var;
36 typedef TAO_Pseudo_Out_T<Object> Object_out;
39 namespace TAO
41 class Argument;
43 /**
44 * @class Direct_Collocation_Upcall_Wrapper
46 * @brief Wraps the activities direct collocation upcall
49 class TAO_PortableServer_Export Direct_Collocation_Upcall_Wrapper
51 public:
52 /// Perform the upcall
53 void upcall (
54 CORBA::Object_ptr obj,
55 CORBA::Object_out forward_obj,
56 bool & is_forwarded,
57 TAO::Argument ** args,
58 int num_args,
59 const char * op,
60 size_t op_len,
61 TAO::Collocation_Strategy strategy);
63 } // End namespace TAO
65 TAO_END_VERSIONED_NAMESPACE_DECL
67 #include /**/ "ace/post.h"
69 #endif /* TAO_DIRECT_COLLOCATION_UPCALL_WRAPPER_H */