YARP
Yet Another Robot Platform
BootstrapServer.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARPDB_BROADCASTSERVER_INC
11 #define YARPDB_BROADCASTSERVER_INC
12 
13 #include <yarp/name/api.h>
14 #include <yarp/os/Contact.h>
15 #include <yarp/name/NameService.h>
16 
17 namespace yarp {
18  namespace name {
19  class BootstrapServer;
20  }
21 }
22 
29 private:
30  void *implementation;
31 public:
33 
34  virtual ~BootstrapServer();
35 
36  static bool configFileBootstrap(yarp::os::Contact& contact,
37  bool configFileRequired,
38  bool mayEditConfigFile);
39 
40  bool start();
41  bool stop();
42 
44 };
45 
46 #endif
yarp::name::BootstrapServer::stop
bool stop()
Definition: BootstrapServer.cpp:97
api.h
yarp::name::BootstrapServer::where
yarp::os::Contact where()
Definition: BootstrapServer.cpp:197
yarp::name::BootstrapServer::start
bool start()
Definition: BootstrapServer.cpp:90
yarp::name::BootstrapServer::~BootstrapServer
virtual ~BootstrapServer()
Definition: BootstrapServer.cpp:82
NameService.h
yarp::name::NameService
Abstract interface for a name server operator.
Definition: NameService.h:39
yarp::name::BootstrapServer::BootstrapServer
BootstrapServer(NameService &owner)
Definition: BootstrapServer.cpp:73
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
yarp::os::Contact
Represents how to reach a part of a YARP network.
Definition: Contact.h:39
implementation
RandScalar * implementation(void *t)
Definition: RandnScalar.cpp:20
Contact.h
yarp::name::BootstrapServer
Multicast and file-based mechanisms for finding the name server.
Definition: BootstrapServer.h:28
YARP_name_API
#define YARP_name_API
Definition: api.h:18
yarp::name::BootstrapServer::configFileBootstrap
static bool configFileBootstrap(yarp::os::Contact &contact, bool configFileRequired, bool mayEditConfigFile)
Definition: BootstrapServer.cpp:105