summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LWFT/LWFT_Client_Init.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LWFT/LWFT_Client_Init.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/LWFT/LWFT_Client_Init.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LWFT/LWFT_Client_Init.h b/TAO/orbsvcs/orbsvcs/LWFT/LWFT_Client_Init.h
new file mode 100644
index 00000000000..9b081c084a9
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/LWFT/LWFT_Client_Init.h
@@ -0,0 +1,61 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file LWFT_Client_Init.h
+ *
+ * $Id$
+ *
+ * Encapsulates LWFT client initialization steps.
+ *
+ * @author Jeff Parsons <j.parsons@vanderbilt.edu>
+ */
+//=============================================================================
+
+#ifndef TAO_LWFT_CLIENT_INIT_H
+#define TAO_LWFT_CLIENT_INIT_H
+
+#include /**/ "ace/pre.h"
+
+#include "lwft_client_export.h"
+
+class ForwardingAgent_i;
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/Versioned_Namespace.h"
+
+TAO_BEGIN_VERSIONED_NAMESPACE_DECL
+
+/**
+ * @class LWFT_Client_Init
+ *
+ * @brief A class that encapsulates the special initialization
+ * requirements of LWFT clients.
+ *
+ */
+namespace CORBA
+{
+ class ORB;
+ typedef ORB *ORB_ptr;
+}
+
+class LWFT_Client_Export LWFT_Client_Init
+{
+public:
+ LWFT_Client_Init (void);
+ ~LWFT_Client_Init (void);
+
+ CORBA::ORB_ptr init (int &argc,
+ ACE_TCHAR *argv[],
+ const ACE_TCHAR *orb_name = 0);
+
+private:
+ ForwardingAgent_i *agent_;
+};
+
+#include /**/ "ace/post.h"
+
+#endif /*TAO_LWFT_CLIENT_INIT_H */