YARP
Yet Another Robot Platform
BootstrapServer.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2021 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
RandScalar * implementation(void *t)
Definition: RandnScalar.cpp:20
Multicast and file-based mechanisms for finding the name server.
static bool configFileBootstrap(yarp::os::Contact &contact, bool configFileRequired, bool mayEditConfigFile)
BootstrapServer(NameService &owner)
Abstract interface for a name server operator.
Definition: NameService.h:39
Represents how to reach a part of a YARP network.
Definition: Contact.h:39
The main, catch-all namespace for YARP.
Definition: environment.h:25
#define YARP_name_API
Definition: api.h:18