hpp-affordance-corba  4.10.0
Corba server for Humanoid Path Planner Affordance applications
server.hh
Go to the documentation of this file.
1 // Copyright (C) 2016 by Anna Seppala
2 //
3 // This file is part of the hpp-corbaserver.
4 //
5 // This software is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the
7 // implied warranties of fitness for a particular purpose.
8 //
9 // See the COPYING file for more information.
10 
11 #ifndef HPP_AFFORDANCE_CORBA_SERVER_HH
12 # define HPP_AFFORDANCE_CORBA_SERVER_HH
13 
14 # include <hpp/corba/template/server.hh>
15 # include <hpp/corbaserver/server-plugin.hh>
18 # include "hpp/corbaserver/problem-solver-map.hh"
19 
20 namespace hpp
21 {
22  namespace affordanceCorba
23  {
24  namespace impl
25  {
26  class Afford;
27  } // namespace impl
28 
29  class HPP_AFFORDANCE_CORBA_DLLAPI Server : public corbaServer::ServerPlugin
30  {
31  public:
32  Server (corbaServer::Server* parent);
33 
35  ~Server ();
36 
37  void startCorbaServer(const std::string& contextId,
38  const std::string& contextKind);
39 
40  std::string name () const;
41 
42  ::CORBA::Object_ptr servant (const std::string& name) const;
43 
44  private:
45  corba::Server <impl::Afford>* impl_;
46  };
47 
48  } // end of namespace affordanceCorba.
49 } // end of namespace hpp.
50 #endif // HPP_AFFORDANCE_CORBA_SERVER_HH
fwd.hh
hpp
Definition: fwd.hh:20
hpp::affordanceCorba::Server
Definition: server.hh:29
config.hh
HPP_AFFORDANCE_CORBA_DLLAPI
#define HPP_AFFORDANCE_CORBA_DLLAPI
Definition: config.hh:64