diff options
Diffstat (limited to 'trunk/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.h')
-rw-r--r-- | trunk/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.h | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/trunk/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.h b/trunk/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.h new file mode 100644 index 00000000000..edc4c39f479 --- /dev/null +++ b/trunk/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.h @@ -0,0 +1,78 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file Direct_Collocation_Upcall_Wrapper.h + * + * $Id$ + * + * @author Johnny Willemsen + */ +//============================================================================= + +#ifndef TAO_DIRECT_COLLOCATION_UPCALL_WRAPPER_H +#define TAO_DIRECT_COLLOCATION_UPCALL_WRAPPER_H + +#include /**/ "ace/pre.h" + +#include "tao/PortableServer/portableserver_export.h" + +#ifndef ACE_LACKS_PRAGMA_ONCE +# pragma once +#endif /* !ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/Basic_Types.h" +#include "tao/orbconf.h" +#include "tao/Collocation_Strategy.h" +#include "tao/Exception.h" +#include "tao/CORBA_methods.h" +#include "tao/Pseudo_VarOut_T.h" +#include "ace/CORBA_macros.h" + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +namespace CORBA +{ + class Environment; + + class Object; + typedef Object *Object_ptr; + typedef TAO_Pseudo_Var_T<Object> Object_var; + typedef TAO_Pseudo_Out_T<Object> Object_out; +} + +namespace TAO +{ + class Argument; + + /** + * @class Direct_Collocation_Upcall_Wrapper + * + * @brief Wraps the activities direct collocation upcall + * + */ + class TAO_PortableServer_Export Direct_Collocation_Upcall_Wrapper + { + public: + + /// Perform the upcall + void upcall ( + CORBA::Object_ptr obj, + CORBA::Object_out forward_obj, + TAO::Argument ** args, + int num_args, + const char * op, + size_t op_len, + TAO::Collocation_Strategy strategy + ACE_ENV_ARG_DECL + ) + ACE_THROW_SPEC ((CORBA::Exception)); + }; + +} // End namespace TAO + +TAO_END_VERSIONED_NAMESPACE_DECL + +#include /**/ "ace/post.h" + +#endif /* TAO_DIRECT_COLLOCATION_UPCALL_WRAPPER_H */ |