summaryrefslogtreecommitdiff
path: root/TAO/tao/ORBInitializer_Registry_Adapter.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-07-19 12:26:21 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-07-19 12:26:21 +0000
commitb67af14b98da354d2e9b297d9056f5fe1c06f66a (patch)
treec545047dd608014b6cd4051de0beb34fe34a12a7 /TAO/tao/ORBInitializer_Registry_Adapter.h
parent048054b17cc2e938dc933f5c1741d97ac8bbbe6f (diff)
downloadATCD-b67af14b98da354d2e9b297d9056f5fe1c06f66a.tar.gz
ChangeLogTag: Tue Jul 19 11:57:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/ORBInitializer_Registry_Adapter.h')
-rw-r--r--TAO/tao/ORBInitializer_Registry_Adapter.h28
1 files changed, 22 insertions, 6 deletions
diff --git a/TAO/tao/ORBInitializer_Registry_Adapter.h b/TAO/tao/ORBInitializer_Registry_Adapter.h
index f3ad3061d69..3ce462fea29 100644
--- a/TAO/tao/ORBInitializer_Registry_Adapter.h
+++ b/TAO/tao/ORBInitializer_Registry_Adapter.h
@@ -56,19 +56,35 @@ namespace TAO
PortableInterceptor::ORBInitializer_ptr init
ACE_ENV_ARG_DECL) = 0;
- /// Begin initialization of all registered ORBInitializers before
- /// the ORB itself is initialized.
- virtual void pre_init (
+ /**
+ * Begin initialization of all registered ORBInitializers before
+ * the ORB itself is initialized.
+ * @return Returns the number of initializers called by pre_init, exactly
+ * the same number must be called by post_init. During pre_init new
+ * initializers can be registered, these must not be called during
+ * post_init
+ */
+ virtual size_t pre_init (
TAO_ORB_Core *orb_core,
int argc,
char *argv[],
PortableInterceptor::SlotId &slotid
ACE_ENV_ARG_DECL) = 0;
- /// Complete initialization of all registered ORBInitializers after
- /// the ORB has been initialized. Returns the number of slots
- /// allocated
+ /**
+ * Complete initialization of all registered ORBInitializers after
+ * the ORB has been initialized. Returns the number of slots
+ * allocated.
+ * @param pre_init_count The number of ORBInitializers we must
+ * call post_init on. There can be more in the registry when during
+ * pre_init new interceptors are regisered
+ * @param orb_core The ORB Core
+ * @param argc Number of arguments
+ * @param argv Argv array
+ * @param slotid The slot id
+ */
virtual void post_init (
+ size_t pre_init_count,
TAO_ORB_Core *orb_core,
int argc,
char *argv[],