summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Port_Activator_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/ciao/Port_Activator_T.h')
-rw-r--r--CIAO/ciao/Port_Activator_T.h84
1 files changed, 0 insertions, 84 deletions
diff --git a/CIAO/ciao/Port_Activator_T.h b/CIAO/ciao/Port_Activator_T.h
deleted file mode 100644
index 8afa788b655..00000000000
--- a/CIAO/ciao/Port_Activator_T.h
+++ /dev/null
@@ -1,84 +0,0 @@
-// -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Port_Activator_T.h
- *
- * $Id$
- *
- * @authors Bala Natarajan <bala@dre.vanderbilt.edu>
- */
-//=============================================================================
-
-#ifndef CIAO_PORT_ACTIVATOR_T_H
-#define CIAO_PORT_ACTIVATOR_T_H
-#include /**/ "ace/pre.h"
-
-#include "ciao/Port_Activator.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-
-namespace CIAO
-{
- /**
- * @class Port_Activator_T
- *
- * @brief Concrete class that implements the strategy for creating
- * the right type of servant for the ports in question.
- *
- * This class is parametrized by the servant type for the port, the
- * executor type for the port, the context for the component and the
- * component servant which instantiated this class within the
- * container.
- */
- template <typename SERV,
- typename EXEC,
- typename CONTEXT,
- typename COMP_SERV>
- class Port_Activator_T : public virtual Port_Activator
- {
- public:
- typedef SERV SERVANT;
-
- Port_Activator_T (const char *oid,
- const char *name,
- Port_Activator::Type t,
- EXEC *e,
- CONTEXT *c,
- COMP_SERV *cs);
-
- /// Template method from the base class, please see the base class
- /// documentation for details.
- PortableServer::Servant activate (
- const PortableServer::ObjectId &oid
- ACE_ENV_ARG_DECL);
-
- void deactivate (
- const PortableServer::Servant servant
- ACE_ENV_ARG_DECL);
-
- private:
- /// The executor
- EXEC *executor_;
-
- /// Context classes
- CONTEXT *context_;
-
- /// COmponent servant which created <this>
- COMP_SERV *comp_serv_;
- };
-}
-
-#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
-#include "Port_Activator_T.cpp"
-#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
-
-#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
-#pragma implementation ("Port_Activator_T.cpp")
-#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
-
-#include /**/ "ace/post.h"
-#endif /*CIAO_SERVANT_ACTIVATOR_T_H*/