forked from microsoft/AirSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IWYU mode, 4.16 compatibilit fixes, build for linux without compiling…
… sources
- Loading branch information
Showing
90 changed files
with
1,293 additions
and
1,352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
42 changes: 21 additions & 21 deletions
42
AirLib/include/rpc/ControlServerBase.hpp → AirLib/include/api/ControlServerBase.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
#ifndef air_ControlServerBase_hpp | ||
#define air_ControlServerBase_hpp | ||
|
||
#include "common/Common.hpp" | ||
#include <functional> | ||
|
||
|
||
namespace msr { namespace airlib { | ||
|
||
class ControlServerBase { | ||
public: | ||
virtual void start(bool block = false) = 0; | ||
virtual void stop() = 0; | ||
virtual ~ControlServerBase() = default; | ||
}; | ||
|
||
}} //namespace | ||
#endif | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
#ifndef air_ControlServerBase_hpp | ||
#define air_ControlServerBase_hpp | ||
|
||
#include "common/Common.hpp" | ||
#include <functional> | ||
|
||
|
||
namespace msr { namespace airlib { | ||
|
||
class ControlServerBase { | ||
public: | ||
virtual void start(bool block = false) = 0; | ||
virtual void stop() = 0; | ||
virtual ~ControlServerBase() = default; | ||
}; | ||
|
||
}} //namespace | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
#ifndef air_DebugApiServer_hpp | ||
#define air_DebugApiServer_hpp | ||
|
||
#include "ControlServerBase.hpp" | ||
#include "common/common_utils/Utils.hpp" | ||
|
||
namespace msr { namespace airlib { | ||
|
||
class DebugApiServer : public ControlServerBase { | ||
public: | ||
virtual void start(bool block = false) override | ||
{ | ||
common_utils::Utils::log("Debug server started"); | ||
} | ||
virtual void stop() override | ||
{ | ||
common_utils::Utils::log("Debug server stopped"); | ||
} | ||
virtual ~DebugApiServer() = default; | ||
}; | ||
|
||
}} //namespace | ||
#endif |
Oops, something went wrong.