YARP
Yet Another Robot Platform
Server.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 
7 #ifndef YARP_SERVERSQL_SERVER_H
8 #define YARP_SERVERSQL_SERVER_H
9 
10 #include <yarp/serversql/api.h>
11 
12 namespace yarp {
13 namespace serversql {
14 
16 {
17 public:
18  void stop() { shouldStop = true; }
19  int run(int argc, char* argv[]);
20 
21 private:
22  bool shouldStop{false};
23 };
24 
25 } // namespace yarpserversql
26 } // namespace yarp
27 
28 #endif // YARP_SERVERSQL_SERVER_H
The main, catch-all namespace for YARP.
Definition: dirs.h:16
#define YARP_serversql_API
Definition: api.h:17