-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new class
dai::Path
for APIs that accept path/filenames (#384)
* initial dai::Path and test cases - fixes #352 * move codecvt from header -> cpp * add Path::string() and u8string() - to enable display/log of Path * fmt for dai::Path; NN::setBlobPath(dai::Path) * dia::path throws like std::fs::path * c++17, pub/pvt header, test cmake c++ std level - enable c++17 std::filesystem support and test cases - split header into public/private parts - cmake for test cases now supports optional c++ standard level param * verify c++ std compiler support for tests - add COMPILER_SUPPORTS_CXX{14,17,20,23} vars to Flags.cmake and can be used everywhere * add dai::Path::empty() * add dai::Path to Device, DeviceBase, Resources - simplify Device, DeviceBase constructors by delegating - add is_same<> template on constructors with bool param to prevent implicit convert of almost everything to bool - make two DeviceInfo constructors explicit to prevent their use in implicit conversion - relevant test cases - fix minor throw text bugs * fix Device usb2Mode sigs, add test case * add dai::Path to CalibrationHandler * minor refactor dai::Path * enable 2 Calibration+1 Bootloader example * add dai::Path to DeviceBootloader, XLinkConnection - plus test cases * add dai::Path to Pipeline, StereoDepth, AssetManager - plus test cases * add dai::Path to dai::Script + test cases * linux fixes for test cases, and c++14 type_traits * add doxygen to dai::Path * detect compiler c++ std level and update cmake * fix preprocessor flag for tests on MSVC - fixes luxonis/depthai-core/issues#408 * partial dai::Path support for c++20 utf-8 - unable to fully test due to bug #407 * add windows header define WIN32_LEAN_AND_MEAN * rename macro to DEPTHAI_NODISCARD - review feedback
- Loading branch information
1 parent
ec14f9a
commit 636cbb5
Showing
34 changed files
with
965 additions
and
247 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
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
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.