hpp-affordance-corba 4.15.1
Corba server for Humanoid Path Planner Affordance applications
Loading...
Searching...
No Matches
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>
17#include <hpp/corbaserver/server-plugin.hh>
18
19#include "hpp/corbaserver/problem-solver-map.hh"
20
21namespace hpp {
22namespace affordanceCorba {
23namespace impl {
24class Afford;
25} // namespace impl
26
27class HPP_AFFORDANCE_CORBA_DLLAPI Server : public corbaServer::ServerPlugin {
28 public:
29 Server(corbaServer::Server* parent);
30
33
34 void startCorbaServer(const std::string& contextId,
35 const std::string& contextKind);
36
37 std::string name() const;
38
39 ::CORBA::Object_ptr servant(const std::string& name) const;
40
41 private:
42 corba::Server<impl::Afford>* impl_;
43};
44
45} // end of namespace affordanceCorba.
46} // end of namespace hpp.
47#endif // HPP_AFFORDANCE_CORBA_SERVER_HH
Definition: server.hh:27
std::string name() const
void startCorbaServer(const std::string &contextId, const std::string &contextKind)
~Server()
Shutdown CORBA server.
::CORBA::Object_ptr servant(const std::string &name) const
Server(corbaServer::Server *parent)
#define HPP_AFFORDANCE_CORBA_DLLAPI
Definition: config.hh:64
Definition: fwd.hh:21