-
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.
- Loading branch information
Showing
13 changed files
with
571 additions
and
326 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 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
Submodule flecs-build
updated
6 files
Submodule flecs-external
updated
5 files
+63 −25 | CMakeLists.txt | |
+44 −9 | LICENSE-3RDPARTY | |
+88 −0 | cmake/modules/FindAsio.cmake | |
+129 −0 | cmake/modules/FindLibusb.cmake | |
+136 −0 | cmake/modules/FindMosquitto.cmake |
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 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,44 @@ | ||
#pragma once | ||
|
||
#include <zenoh.h> | ||
|
||
#include <cinttypes> | ||
#include <string> | ||
#include <type_traits> | ||
|
||
namespace flunder { | ||
namespace impl { | ||
|
||
auto to_bytes(std::int8_t val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(std::int16_t val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(std::int32_t val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(std::int64_t val) // | ||
-> z_owned_bytes_t; | ||
|
||
auto to_bytes(std::uint8_t val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(std::uint16_t val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(std::uint32_t val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(std::uint64_t val) // | ||
-> z_owned_bytes_t; | ||
|
||
auto to_bytes(float val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(double val) // | ||
-> z_owned_bytes_t; | ||
|
||
auto to_bytes(bool val) // | ||
-> z_owned_bytes_t; | ||
|
||
auto to_bytes(const char* val) // | ||
-> z_owned_bytes_t; | ||
auto to_bytes(std::string_view val) // | ||
-> z_owned_bytes_t; | ||
|
||
} // namespace impl | ||
} // namespace flunder |
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
Oops, something went wrong.