YARP
Yet Another Robot Platform
Server.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3  * All rights reserved.
4  *
5  * This software may be modified and distributed under the terms of the
6  * BSD-3-Clause license. See the accompanying LICENSE file for details.
7  */
8 
9 
10 #ifndef YARP_SERVERSQL_SERVER_H
11 #define YARP_SERVERSQL_SERVER_H
12 
13 #include <yarp/serversql/api.h>
14 
15 namespace yarp {
16 namespace serversql {
17 
19 {
20 public:
21  void stop() { shouldStop = true; }
22  int run(int argc, char* argv[]);
23 
24 private:
25  bool shouldStop{false};
26 };
27 
28 } // namespace yarpserversql
29 } // namespace yarp
30 
31 #endif // YARP_SERVERSQL_SERVER_H
YARP_serversql_API
#define YARP_serversql_API
Definition: api.h:18
yarp::serversql::Server::stop
void stop()
Definition: Server.h:21
yarp::serversql::Server
Definition: Server.h:19
yarp
The main, catch-all namespace for YARP.
Definition: environment.h:18
api.h