Orocos Real-Time Toolkit  2.9.0
POAUtility.h
Go to the documentation of this file.
1 /***************************************************************************
2  tag: FMTC do nov 2 13:06:17 CET 2006 POAUtility.h
3 
4  POAUtility.h - description
5  -------------------
6  begin : do november 02 2006
7  copyright : (C) 2006 FMTC
8  email : peter.soetens@fmtc.be
9 
10  ***************************************************************************
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU General Public *
13  * License as published by the Free Software Foundation; *
14  * version 2 of the License. *
15  * *
16  * As a special exception, you may use this file as part of a free *
17  * software library without restriction. Specifically, if other files *
18  * instantiate templates or use macros or inline functions from this *
19  * file, or you compile this file and link it with other files to *
20  * produce an executable, this file does not by itself cause the *
21  * resulting executable to be covered by the GNU General Public *
22  * License. This exception does not however invalidate any other *
23  * reasons why the executable file might be covered by the GNU General *
24  * Public License. *
25  * *
26  * This library is distributed in the hope that it will be useful, *
27  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
28  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
29  * Lesser General Public License for more details. *
30  * *
31  * You should have received a copy of the GNU General Public *
32  * License along with this library; if not, write to the Free Software *
33  * Foundation, Inc., 59 Temple Place, *
34  * Suite 330, Boston, MA 02111-1307 USA *
35  * *
36  ***************************************************************************/
37 
38 
39 #ifndef RTT_CORBA_POAUTILITY_H_
40 #define RTT_CORBA_POAUTILITY_H_
41 
42 #include "corba.h"
43 #ifdef CORBA_IS_TAO
44 #include <tao/PortableServer/PortableServer.h>
45 #endif
46 
47 
48 
49 class POAUtility {
50 
51 public:
52 
53  static PortableServer::POA_ptr
55  PortableServer::POA_ptr parentPOAP,
56  PortableServer::POAManager_ptr POAManagerP,
57  const char * POAName,
58  CORBA::Boolean isMultiThread,
59  CORBA::Boolean isPersistent
60  );
61 
62 
63  static PortableServer::POA_ptr
65  PortableServer::POA_ptr parentPOAP,
66  PortableServer::POAManager_ptr POAManagerP,
67  const char * POAName,
68  CORBA::Boolean isMultiThread
69  );
70 
71 
72  static PortableServer::POA_ptr
74  PortableServer::POA_ptr parentPOAP,
75  PortableServer::POAManager_ptr POAManagerP,
76  const char * POAName,
77  CORBA::Boolean isMultiThread,
78  CORBA::Boolean isPersistent
79  );
80 
81 
82  static PortableServer::POA_ptr
84  PortableServer::POA_ptr parentPOAP,
85  PortableServer::POAManager_ptr POAManagerP,
86  const char * POAName,
87  CORBA::Boolean isMultiThread,
88  CORBA::Boolean isPersistent
89  );
90 
91 
92  static PortableServer::POA_ptr
94  PortableServer::POA_ptr parentPOAP,
95  PortableServer::POAManager_ptr POAManagerP,
96  const char * POAName,
97  CORBA::Boolean isMultiThread
98  );
99 
100 };
101 
102 #endif
static PortableServer::POA_ptr create_service_POA(PortableServer::POA_ptr parentPOAP, PortableServer::POAManager_ptr POAManagerP, const char *POAName, CORBA::Boolean isMultiThread)
Definition: POAUtility.cpp:110
static PortableServer::POA_ptr create_servant_activator_POA(PortableServer::POA_ptr parentPOAP, PortableServer::POAManager_ptr POAManagerP, const char *POAName, CORBA::Boolean isMultiThread, CORBA::Boolean isPersistent)
Definition: POAUtility.cpp:154
static PortableServer::POA_ptr create_default_servant_POA(PortableServer::POA_ptr parentPOAP, PortableServer::POAManager_ptr POAManagerP, const char *POAName, CORBA::Boolean isMultiThread)
Definition: POAUtility.cpp:286
static PortableServer::POA_ptr create_basic_POA(PortableServer::POA_ptr parentPOAP, PortableServer::POAManager_ptr POAManagerP, const char *POAName, CORBA::Boolean isMultiThread, CORBA::Boolean isPersistent)
Definition: POAUtility.cpp:43
static PortableServer::POA_ptr create_servant_locator_POA(PortableServer::POA_ptr parentPOAP, PortableServer::POAManager_ptr POAManagerP, const char *POAName, CORBA::Boolean isMultiThread, CORBA::Boolean isPersistent)
Definition: POAUtility.cpp:218