OrocosComponentLibrary  2.9.0
CorbaDeploymentComponent.hpp
1 /***************************************************************************
2  tag: Peter Soetens Thu Jul 3 15:34:46 CEST 2008 CorbaDeploymentComponent.hpp
3 
4  CorbaDeploymentComponent.hpp - description
5  -------------------
6  begin : Thu July 03 2008
7  copyright : (C) 2008 Peter Soetens
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 Lesser General Public *
13  * License as published by the Free Software Foundation; either *
14  * version 2.1 of the License, or (at your option) any later version. *
15  * *
16  * This library is distributed in the hope that it will be useful, *
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19  * Lesser General Public License for more details. *
20  * *
21  * You should have received a copy of the GNU Lesser General Public *
22  * License along with this library; if not, write to the Free Software *
23  * Foundation, Inc., 59 Temple Place, *
24  * Suite 330, Boston, MA 02111-1307 USA *
25  * *
26  ***************************************************************************/
27 
28 
29 #ifndef CORBADEPLOYMENTCOMPONENT_H_
30 #define CORBADEPLOYMENTCOMPONENT_H_
31 
32 #include "DeploymentComponent.hpp"
33 
34 namespace OCL
35 {
36 
38  :public DeploymentComponent
39  {
40  protected:
45  virtual bool componentLoaded(RTT::TaskContext* c);
50  virtual void componentUnloaded(RTT::TaskContext* c);
51  public:
52  CorbaDeploymentComponent(const std::string& name, const std::string& siteFile = "");
53  virtual ~CorbaDeploymentComponent();
57  bool createServer(const std::string& tc, bool use_naming);
58 
62  bool createAliasServer(const std::string& tc, const std::string& alias, bool use_naming);
63  };
64 
65 }
66 
67 #endif /*CORBADEPLOYMENTCOMPONENT_H_*/
The Orocos Component Library.
Definition: Component.hpp:43
A Component for deploying (configuring) other components in an application.