diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/RT_Builder.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/RT_Builder.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/RT_Builder.h b/TAO/orbsvcs/orbsvcs/Notify/RT_Builder.h new file mode 100644 index 00000000000..89591289e0a --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/Notify/RT_Builder.h @@ -0,0 +1,54 @@ +/* -*- C++ -*- */ +/** + * @file RT_Builder.h + * + * $Id$ + * + * @author Pradeep Gore <pradeep@oomworks.com> + * + * + */ + +#ifndef TAO_NS_RT_BUILDER_H +#define TAO_NS_RT_BUILDER_H +#include "ace/pre.h" + +#include "rt_notify_export.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "Builder.h" + +/** + * @class TAO_NS_RT_Builder + * + * @brief Builder for RT specific classes. + * + */ +class TAO_RT_Notify_Export TAO_NS_RT_Builder : public TAO_NS_Builder +{ +public: + /// Constuctor + TAO_NS_RT_Builder (void); + + /// Destructor + virtual ~TAO_NS_RT_Builder (); + + /// Build the Filter Factory. + virtual CosNotifyFilter::FilterFactory_ptr build_filter_factory (ACE_ENV_SINGLE_ARG_DECL); + + /// Apply Thread Pools. + virtual void apply_thread_pool_concurrency (TAO_NS_Object& object, const NotifyExt::ThreadPoolParams& tp_params ACE_ENV_ARG_DECL); + + /// Apply Thread Pools with Lanes. + virtual void apply_lane_concurrency (TAO_NS_Object& object, const NotifyExt::ThreadPoolLanesParams& tpl_params ACE_ENV_ARG_DECL); +}; + +#if defined (__ACE_INLINE__) +#include "RT_Builder.inl" +#endif /* __ACE_INLINE__ */ + +#include "ace/post.h" +#endif /* TAO_NS_RT_BUILDER_H */ |