Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa23168237
|
||
|
|
898247f6b1
|
||
|
|
6478287175
|
||
|
|
f6a8963706
|
||
|
|
7b009553d6
|
||
|
|
93320aff67
|
||
|
|
59d28665a3
|
||
|
|
eec3c9619c
|
||
|
|
7618dddfa3
|
||
|
|
c0d3f3fe19
|
||
|
|
33d2333956
|
||
|
|
4131bc4013
|
||
|
|
930895921a
|
||
|
|
f0f69b86f8
|
||
|
|
0d768d0191
|
||
|
|
134c5dc6ab
|
||
|
|
fc36e2b2aa
|
||
|
|
3a7015a0eb
|
||
|
|
27f3dde0da
|
||
|
|
6a3c219d80
|
||
|
|
9cf5de3d29
|
||
|
|
73bd778e09
|
||
|
|
5e1f83fe95
|
||
|
|
98af02d3d5
|
||
|
|
d0fe44eb19
|
||
|
|
4f52524ec2
|
||
|
|
0b41d707fc
|
||
|
|
81a7d69fec
|
||
|
|
9246215462
|
||
|
|
d2574ea3ef
|
||
|
|
e4ef2e9e4b
|
||
|
|
b3f62e2541
|
||
|
|
6f2bb6a837
|
||
|
|
62058469f2
|
||
|
|
f9e15256d7
|
||
|
|
0e739a716a
|
||
|
|
3cba64ae75
|
||
|
|
c27de5b3df
|
||
|
|
57eca4186f
|
||
|
|
47c0ef5ca8
|
||
|
|
4f76e0e917
|
||
|
|
a1452f62af
|
||
|
|
574d4dbcd0
|
||
|
|
8bb2c554e1
|
||
|
|
752d9352ab
|
||
|
|
a4922cb0f6
|
||
|
|
da06218096
|
||
|
|
fc7615b12f
|
||
|
|
a500603c3c
|
||
|
|
aea7411cdc
|
||
|
|
a60bd60ca9
|
+41
-4
@@ -1,22 +1,59 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [1.0.4] - 2022-12-02
|
||||||
|
|
||||||
|
This is a minor release focusing mostly on adherence to the Unreal Engine Marketplace Guidelines based on the feedback from Epic Games.
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added support for MSVC 2017
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Updated SenseGlove libraries (SGCore/SGConnect) to v2.0.4.
|
||||||
|
|
||||||
|
## [1.0.3] - 2022-11-29
|
||||||
|
|
||||||
|
This is a minor release focusing on adherence to the Unreal Engine Marketplace Guidelines based on the feedback from Epic Games.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Adjust Config/FilterPlugin.ini in order to conform to Epic's Market Place Guidelines.
|
||||||
|
|
||||||
|
## [1.0.2] - 2022-11-27
|
||||||
|
|
||||||
|
This is a minor release focusing on adherence to the Unreal Engine Marketplace Guidelines based on the feedback from Epic Games.
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Added the newly acquired Unreal Engine Market Place Offer ID to the .uplugin file.
|
||||||
|
- List the dot files inside FilterPlugin.ini file as well.
|
||||||
|
- Add the copyright notice to the source files missing it.
|
||||||
|
- Add the SenseGlove SDK license to the third-party license file.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Fix the readme typos and errors.
|
||||||
|
- Minor fixes in the changelog for previous releases.
|
||||||
|
|
||||||
## [1.0.1] - 2022-11-25
|
## [1.0.1] - 2022-11-25
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
- Exposed SenseGloveTypes as a public dependency in SenseGloveConnect and SenseGloveCore modules, so that the C++ users of the API don't need to explicitly add it as a dependency
|
- Exposed SenseGloveTypes as a public dependency in SenseGloveConnect and SenseGloveCore modules, so that the C++ users of the API don't need to explicitly add it as a dependency.
|
||||||
- Cleaned up the redundant headers/modules dependencies from SGCore headers
|
- Cleaned up the redundant headers/modules dependencies from SGCore headers.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fix RunUAT build issues prior to Epic Store submission
|
- Fix RunUAT build issues prior to Epic Store submission.
|
||||||
|
|
||||||
## [1.0.0] - 2022-11-24
|
## [1.0.0] - 2022-11-24
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Initial public release of the SenseGlove haptic API for Unreal Engine with support for Microsoft Windows and GNU/Linux.
|
- Initial public release of the SenseGlove haptic API for Unreal Engine with support for Microsoft Windows and GNU/Linux.
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
[FilterPlugin]
|
[FilterPlugin]
|
||||||
/CHANGELOG.md
|
/CHANGELOG.md
|
||||||
/Config/FilterPlugin.ini
|
/Config/FilterPlugin.ini
|
||||||
/LICENSE.md
|
|
||||||
/LICENSE-THIRD-PARTY.md
|
|
||||||
/README.md
|
|
||||||
|
|||||||
+47
-3
@@ -2,6 +2,39 @@
|
|||||||
|
|
||||||
Please note that while the SenseGlove plug-in for Unreal Engine is made available under the [MIT License](LICENSE.md), it utilizes a few third-party libraries with permissive free licenses as well, in order to power various components. For a list of these libraries and their own respective open-source licenses take a look at [LICENSE-THIRD-PARTY.md](LICENSE-THIRD-PARTY.md), please.
|
Please note that while the SenseGlove plug-in for Unreal Engine is made available under the [MIT License](LICENSE.md), it utilizes a few third-party libraries with permissive free licenses as well, in order to power various components. For a list of these libraries and their own respective open-source licenses take a look at [LICENSE-THIRD-PARTY.md](LICENSE-THIRD-PARTY.md), please.
|
||||||
|
|
||||||
|
### SenseGlove SDK
|
||||||
|
|
||||||
|
```
|
||||||
|
SENSEGLOVE SDK LICENSE
|
||||||
|
|
||||||
|
Purchase of the Product does not entitle you to ownership or a license to any
|
||||||
|
software generated by SenseGlove for use with the Product (the “Software”).
|
||||||
|
To the extent that SenseGlove, in its sole discretion, grants you access to any
|
||||||
|
such Software, the Software is licensed by us or by the relevant licensor/owner
|
||||||
|
subject to the relevant end-user license agreement or other license terms
|
||||||
|
included with the Product and/or on the SenseGlove Websites including the Github
|
||||||
|
page of SenseGlove (the “License Terms“).
|
||||||
|
|
||||||
|
Specifically, SenseGlove shall have sole discretion to determine and change the
|
||||||
|
availability, nature, features, content, versioning of any Software that it
|
||||||
|
makes available to you, for download through the the Github page of SenseGlove
|
||||||
|
or otherwise (including the SenseGlove software developer kit (“SDK”)).
|
||||||
|
Purchase of a Product does not entitle you to access to any specific features,
|
||||||
|
content or version of the SDK, including and especially versions of the SDK that
|
||||||
|
have not yet been made available to the public. SenseGlove will have no
|
||||||
|
obligation to provide any updates or upgrades to any Software it makes available
|
||||||
|
to you, but in the event that it does, such updates, upgrades and any
|
||||||
|
documentation will be subject to the License Terms available at
|
||||||
|
https://www.senseglove.com/solutions/.
|
||||||
|
|
||||||
|
Except to the extent expressly provided by us in writing or under the License
|
||||||
|
Terms, the Software is provided “AS IS” without any warranties, terms or
|
||||||
|
conditions as to quality, fitness for purpose, non-infringement, performance or
|
||||||
|
correspondence with description and we do not offer any warranties or guarantees
|
||||||
|
in relation to the Software installation, configuration or error/defect
|
||||||
|
correction.
|
||||||
|
```
|
||||||
|
|
||||||
## Boost C++ Libraries License
|
## Boost C++ Libraries License
|
||||||
|
|
||||||
```
|
```
|
||||||
@@ -35,9 +68,20 @@ DEALINGS IN THE SOFTWARE.
|
|||||||
```
|
```
|
||||||
Copyright (c) 2012 William Woodall, John Harrison
|
Copyright (c) 2012 William Woodall, John Harrison
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -6,16 +6,16 @@ This repository relies on Git LFS for storing binary blobs (e.g. third-party lib
|
|||||||
|
|
||||||
## Platform Support Matrix
|
## Platform Support Matrix
|
||||||
|
|
||||||
| | **Windows<br>(MSVC 2019)** | **Windows<br>(MSVC 2022)** | **Linux<br>(Native Toolchain)** | **macOS** | **Oculus Mobile<br>(Android NDK r21b)** |
|
| | **Windows<br>(MSVC 2017)** | **Windows<br>(MSVC 2019)** | **Windows<br>(MSVC 2022)** | **Linux<br>(Native Toolchain)** | **macOS** | **Oculus Mobile<br>(Android NDK r21b)** |
|
||||||
|----------|:--------------------------:|:--------------------------:|:-------------------------------:|:---------:|:---------------------------------------:|
|
|----------|:--------------------------:|:--------------------------:|:--------------------------:|:-------------------------------:|:---------:|:---------------------------------------:|
|
||||||
| **4.22** | ✅ | ❌ | ✅ | ❌ | ❌ |
|
| **4.22** | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ |
|
||||||
| **4.23** | ✅ | ❌ | ✅ | ❌ | ❌ |
|
| **4.23** | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ |
|
||||||
| **4.24** | ✅ | ❌ | ✅ | ❌ | ❌ |
|
| **4.24** | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ |
|
||||||
| **4.25** | ✅ | ❌ | ✅ | ❌ | ❓ |
|
| **4.25** | ✅ | ✅ | ❌ | ✅ | ❌ | ❓ |
|
||||||
| **4.26** | ✅ | ❌ | ✅ | ❌ | ❓ |
|
| **4.26** | ✅ | ✅ | ❌ | ✅ | ❌ | ❓ |
|
||||||
| **4.27** | ✅ | ✅ | ✅ | ❌ | ❓ |
|
| **4.27** | ✅ | ✅ | ✅ | ✅ | ❌ | ❓ |
|
||||||
| **5.0** | ✅ | ✅ | ✅ | ❌ | ❓ |
|
| **5.0** | ❌ | ✅ | ✅ | ✅ | ❌ | ❓ |
|
||||||
| **5.1** | ✅ | ✅ | ✅ | ❌ | ❓ |
|
| **5.1** | ❌ | ✅ | ✅ | ✅ | ❌ | ❓ |
|
||||||
|
|
||||||
* <code>✅</code> Supported
|
* <code>✅</code> Supported
|
||||||
* <code>❌</code> Not Supported
|
* <code>❌</code> Not Supported
|
||||||
@@ -61,17 +61,17 @@ Source
|
|||||||
│
|
│
|
||||||
├── SenseGlove (the UE-specific high-level API)
|
├── SenseGlove (the UE-specific high-level API)
|
||||||
│
|
│
|
||||||
├── SenseGloveBuildHacks (uses Excepttions and RTTI, internally used for compiler-specific build hacks)
|
├── SenseGloveBuildHacks (uses Exceptions and RTTI, internally used for compiler-specific build hacks)
|
||||||
│
|
│
|
||||||
├── SenseGloveConnect (exposes part of the SGConnect low-level API to C++ and Blueprints)
|
├── SenseGloveConnect (exposes part of the SGConnect low-level API to C++)
|
||||||
│
|
│
|
||||||
├── SenseGloveConnectImpl (uses Excepttions and RTTI, intended for internal use only)
|
├── SenseGloveConnectImpl (uses Exceptions and RTTI, intended for internal use only)
|
||||||
│
|
│
|
||||||
├── SenseGloveConnectKismet (SGConnect functionality exposed to Blueprints)
|
├── SenseGloveConnectKismet (SGConnect functionality exposed to Blueprints)
|
||||||
│
|
│
|
||||||
├── SenseGloveCore (exposes part of the SGCoreCpp low-level API to C++ and Blueprints)
|
├── SenseGloveCore (exposes part of the SGCoreCpp low-level API to C++)
|
||||||
│
|
│
|
||||||
├── SenseGloveCoreImpl (uses Excepttions and RTTI, intended for internal use only)
|
├── SenseGloveCoreImpl (uses Exceptions and RTTI, intended for internal use only)
|
||||||
│
|
│
|
||||||
├── SenseGloveCoreKismet (SGCoreCpp functionality exposed to Blueprints)
|
├── SenseGloveCoreKismet (SGCoreCpp functionality exposed to Blueprints)
|
||||||
│
|
│
|
||||||
@@ -170,4 +170,4 @@ The SenseGlove plug-in for Unreal Engine is licensed under the terms of the [MIT
|
|||||||
|
|
||||||
### Third-Party Licenses
|
### Third-Party Licenses
|
||||||
|
|
||||||
Please note that while the SenseGlove plug-in for Unreal Engine is made available under the [MIT License](LICENSE.md), it utilizes a few third-party libraries with permissive free licenses as well, in order to power various components. For a list of these libraries and their own respective open-source licenses take a look at [LICENSE-THIRD-PARTY.md](LICENSE-THIRD-PARTY.md), please.
|
Please note that while the SenseGlove plug-in for Unreal Engine is made available under the [MIT License](LICENSE.md), it utilizes a few third-party libraries with permissive free licenses as well, in order to power various components. For a list of these libraries and their own respective open-source licenses take a look at [LICENSE-THIRD-PARTY.md](LICENSE-THIRD-PARTY.md), please.
|
||||||
|
|||||||
+3
-2
@@ -1,15 +1,16 @@
|
|||||||
{
|
{
|
||||||
"FileVersion": 3,
|
"FileVersion": 3,
|
||||||
"Version": 1,
|
"Version": 1,
|
||||||
"VersionName": "1.0.1",
|
"VersionName": "1.0.4",
|
||||||
"FriendlyName": "SenseGlove",
|
"FriendlyName": "SenseGlove",
|
||||||
"Description": "Integrating the SenseGlove haptic controller into Unreal Engine",
|
"Description": "Integrating the SenseGlove haptic controller into Unreal Engine",
|
||||||
"Category": "Virtual Reality",
|
"Category": "Virtual Reality",
|
||||||
"CreatedBy": "SenseGlove",
|
"CreatedBy": "SenseGlove",
|
||||||
"CreatedByURL": "https://www.senseglove.com/",
|
"CreatedByURL": "https://www.senseglove.com/",
|
||||||
"DocsURL": "https://senseglove.gitlab.io/unreal-blueprint-docs/",
|
"DocsURL": "https://senseglove.gitlab.io/unreal-blueprint-docs/",
|
||||||
"MarketplaceURL": "",
|
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/5e1d408f517b4966a269ec1035de0b9e",
|
||||||
"SupportURL": "https://www.senseglove.com/support/",
|
"SupportURL": "https://www.senseglove.com/support/",
|
||||||
|
"EngineVersion": "4.24.0",
|
||||||
"CanContainContent": true,
|
"CanContainContent": true,
|
||||||
"IsBetaVersion": false,
|
"IsBetaVersion": false,
|
||||||
"IsExperimentalVersion": false,
|
"IsExperimentalVersion": false,
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2022 SenseGlove
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "SGConnectImpl/SGPlatform.h"
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2022 SenseGlove
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#if ( ( defined( _MSVC_LANG ) && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L )
|
||||||
|
#define SG_CPP17 1
|
||||||
|
#else /* ( ( defined( _MSVC_LANG ) && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L ) */
|
||||||
|
#define SG_CPP17 0
|
||||||
|
#endif /* ( ( defined( _MSVC_LANG ) && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L ) */
|
||||||
@@ -133,11 +133,17 @@ public class SenseGloveConnectImpl : ModuleRules
|
|||||||
case WindowsCompiler.VisualStudio2019:
|
case WindowsCompiler.VisualStudio2019:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2017:
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported compiler!");
|
Debug.Assert(false, "Unsupported compiler!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
LibraryName = string.Format("{0}.lib", LibraryName);
|
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -222,11 +228,17 @@ public class SenseGloveConnectImpl : ModuleRules
|
|||||||
case WindowsCompiler.VisualStudio2019:
|
case WindowsCompiler.VisualStudio2019:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2017:
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported compiler!");
|
Debug.Assert(false, "Unsupported compiler!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
LibraryName = string.Format("{0}.lib", LibraryName);
|
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ struct FSGBasicHandModelImpl::FImpl
|
|||||||
FImpl& operator=(const FImpl& Rhs) = default;
|
FImpl& operator=(const FImpl& Rhs) = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
FSGBasicHandModelImpl FSGBasicHandModelImpl::Default(bool bRightHanded)
|
FSGBasicHandModelImpl FSGBasicHandModelImpl::Default(const bool bRightHanded)
|
||||||
{
|
{
|
||||||
return FSGBasicHandModelImpl(FSGBasicHandModelImpl::FBasicHandModelType::Default(bRightHanded));
|
return FSGBasicHandModelImpl(FSGBasicHandModelImpl::FBasicHandModelType::Default(bRightHanded));
|
||||||
}
|
}
|
||||||
@@ -119,22 +119,22 @@ const TArray<FVector>& FSGBasicHandModelImpl::GetBaseJointAngles()
|
|||||||
|
|
||||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl()
|
FSGBasicHandModelImpl::FSGBasicHandModelImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
||||||
const TArray<FVector>& StartPositions)
|
const TArray<FVector>& StartPositions)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<std::vector<float>> LengthsVector{
|
std::vector<std::vector<float>> LengthsVector{
|
||||||
FSGArrayUtils::ToMillimeters(Lengths)
|
FSGArrayUtils::ToMillimeters(Lengths)
|
||||||
@@ -148,14 +148,14 @@ FSGBasicHandModelImpl::FSGBasicHandModelImpl(bool bRightHanded, const TArray<TAr
|
|||||||
MoveTemp(StartPositionsVector));
|
MoveTemp(StartPositionsVector));
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const bool bRightHanded, const TArray<TArray<float>>& Lengths,
|
||||||
const TArray<FVector>& StartPositions, const TArray<FQuat>& StartRotations)
|
const TArray<FVector>& StartPositions, const TArray<FQuat>& StartRotations)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<std::vector<float>> LengthsVector{
|
std::vector<std::vector<float>> LengthsVector{
|
||||||
FSGArrayUtils::ToMillimeters(Lengths)
|
FSGArrayUtils::ToMillimeters(Lengths)
|
||||||
@@ -176,30 +176,30 @@ FSGBasicHandModelImpl::FSGBasicHandModelImpl(bool bRightHanded, const TArray<TAr
|
|||||||
|
|
||||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const FBasicHandModelType& BasicHandModel)
|
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const FBasicHandModelType& BasicHandModel)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->BasicHandModel = BasicHandModel;
|
Pimpl->BasicHandModel = BasicHandModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const FSGBasicHandModelImpl& Rhs)
|
FSGBasicHandModelImpl::FSGBasicHandModelImpl(const FSGBasicHandModelImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBasicHandModelImpl::FSGBasicHandModelImpl(FSGBasicHandModelImpl&& Rhs)
|
FSGBasicHandModelImpl::FSGBasicHandModelImpl(FSGBasicHandModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGBasicHandModelImpl::~FSGBasicHandModelImpl() = default;
|
FSGBasicHandModelImpl::~FSGBasicHandModelImpl() = default;
|
||||||
@@ -212,9 +212,9 @@ FSGBasicHandModelImpl& FSGBasicHandModelImpl::operator=(const FSGBasicHandModelI
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGBasicHandModelImpl& FSGBasicHandModelImpl::operator=(FSGBasicHandModelImpl&& Rhs)
|
FSGBasicHandModelImpl& FSGBasicHandModelImpl::operator=(FSGBasicHandModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGBasicHandModelImpl::FBasicHandModelType& FSGBasicHandModelImpl::ToBasicHandModel() const
|
const FSGBasicHandModelImpl::FBasicHandModelType& FSGBasicHandModelImpl::ToBasicHandModel() const
|
||||||
|
|||||||
@@ -77,11 +77,11 @@ TSharedRef<FSGBetaDeviceImpl> FSGBetaDeviceImpl::Parse(const FString& String)
|
|||||||
|
|
||||||
FSGBetaDeviceImpl::FSGBetaDeviceImpl()
|
FSGBetaDeviceImpl::FSGBetaDeviceImpl()
|
||||||
: FSGDeviceImpl(),
|
: FSGDeviceImpl(),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -93,49 +93,49 @@ FSGBetaDeviceImpl::FSGBetaDeviceImpl(const FString& ConstantsString, const FStri
|
|||||||
TCHAR_TO_UTF8(*HardwareVersion),
|
TCHAR_TO_UTF8(*HardwareVersion),
|
||||||
FirmwareVersion,
|
FirmwareVersion,
|
||||||
SubFirmwareVersion)),
|
SubFirmwareVersion)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBetaDeviceImpl::FSGBetaDeviceImpl(const FBetaDeviceType BetaDevice)
|
FSGBetaDeviceImpl::FSGBetaDeviceImpl(const FBetaDeviceType BetaDevice)
|
||||||
: FSGDeviceImpl(std::make_shared<FBetaDeviceType>(BetaDevice)),
|
: FSGDeviceImpl(std::make_shared<FBetaDeviceType>(BetaDevice)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBetaDeviceImpl::FSGBetaDeviceImpl(const FBetaDevicePtrType BetaDevice)
|
FSGBetaDeviceImpl::FSGBetaDeviceImpl(const FBetaDevicePtrType BetaDevice)
|
||||||
: FSGDeviceImpl(BetaDevice),
|
: FSGDeviceImpl(BetaDevice),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBetaDeviceImpl::FSGBetaDeviceImpl(const FSGBetaDeviceImpl& Rhs)
|
FSGBetaDeviceImpl::FSGBetaDeviceImpl(const FSGBetaDeviceImpl& Rhs)
|
||||||
: FSGDeviceImpl(Rhs),
|
: FSGDeviceImpl(Rhs),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBetaDeviceImpl::FSGBetaDeviceImpl(FSGBetaDeviceImpl&& Rhs)
|
FSGBetaDeviceImpl::FSGBetaDeviceImpl(FSGBetaDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGBetaDeviceImpl::~FSGBetaDeviceImpl() = default;
|
FSGBetaDeviceImpl::~FSGBetaDeviceImpl() = default;
|
||||||
@@ -149,9 +149,9 @@ FSGBetaDeviceImpl& FSGBetaDeviceImpl::operator=(const FSGBetaDeviceImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGBetaDeviceImpl& FSGBetaDeviceImpl::operator=(FSGBetaDeviceImpl&& Rhs)
|
FSGBetaDeviceImpl& FSGBetaDeviceImpl::operator=(FSGBetaDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGBetaDeviceImpl::FBetaDeviceType FSGBetaDeviceImpl::ToBetaDevice() const
|
FSGBetaDeviceImpl::FBetaDeviceType FSGBetaDeviceImpl::ToBetaDevice() const
|
||||||
|
|||||||
@@ -75,80 +75,80 @@ const FSGBuzzCommandImpl& FSGBuzzCommandImpl::Off()
|
|||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl()
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl()
|
||||||
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>()),
|
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>()),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const TArray<int32>& BuzzLevels)
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const TArray<int32>& BuzzLevels)
|
||||||
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(FSGArrayUtils::ToStdVector<int32>(BuzzLevels))),
|
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(FSGArrayUtils::ToStdVector<int32>(BuzzLevels))),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const int32 Thumb, const int32 Index, const int32 Middle, const int32 Ring,
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const int32 Thumb, const int32 Index, const int32 Middle, const int32 Ring,
|
||||||
const int32 Pinky)
|
const int32 Pinky)
|
||||||
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(Thumb, Index, Middle, Ring, Pinky)),
|
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(Thumb, Index, Middle, Ring, Pinky)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const ESGFinger Finger, const int32 BuzzLevel)
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const ESGFinger Finger, const int32 BuzzLevel)
|
||||||
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(FSGCoreEnumCast::ToEFinger(Finger), BuzzLevel)),
|
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(FSGCoreEnumCast::ToEFinger(Finger), BuzzLevel)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const FBuzzCommandType& BuzzCommand)
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const FBuzzCommandType& BuzzCommand)
|
||||||
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(BuzzCommand)),
|
: FSGFingerCommandImpl(MakeShared<FBuzzCommandType>(BuzzCommand)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const TSharedRef<FBuzzCommandType> BuzzCommand)
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const TSharedRef<FBuzzCommandType> BuzzCommand)
|
||||||
: FSGFingerCommandImpl(BuzzCommand),
|
: FSGFingerCommandImpl(BuzzCommand),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const FSGBuzzCommandImpl& Rhs)
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl(const FSGBuzzCommandImpl& Rhs)
|
||||||
: FSGFingerCommandImpl(Rhs),
|
: FSGFingerCommandImpl(Rhs),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl::FSGBuzzCommandImpl(FSGBuzzCommandImpl&& Rhs)
|
FSGBuzzCommandImpl::FSGBuzzCommandImpl(FSGBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGBuzzCommandImpl::~FSGBuzzCommandImpl() = default;
|
FSGBuzzCommandImpl::~FSGBuzzCommandImpl() = default;
|
||||||
@@ -162,9 +162,9 @@ FSGBuzzCommandImpl& FSGBuzzCommandImpl::operator=(const FSGBuzzCommandImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGBuzzCommandImpl& FSGBuzzCommandImpl::operator=(FSGBuzzCommandImpl&& Rhs)
|
FSGBuzzCommandImpl& FSGBuzzCommandImpl::operator=(FSGBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGBuzzCommandImpl::FBuzzCommandType& FSGBuzzCommandImpl::ToBuzzCommand() const
|
const FSGBuzzCommandImpl::FBuzzCommandType& FSGBuzzCommandImpl::ToBuzzCommand() const
|
||||||
|
|||||||
@@ -77,22 +77,22 @@ struct FSGCalibrationDataPointImpl::FImpl
|
|||||||
|
|
||||||
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl()
|
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(const int32 CurrentStage,
|
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(const int32 CurrentStage,
|
||||||
const TArray<FVector>& CalibrationValues)
|
const TArray<FVector>& CalibrationValues)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<FSGVect3DImpl::FVect3DType> Values(
|
std::vector<FSGVect3DImpl::FVect3DType> Values(
|
||||||
FSGArrayUtils::ToStdVector<FVector, FSGVect3DImpl::FVect3DType, FSGVect3DImpl, &FSGVect3DImpl::ToVect3D>(
|
FSGArrayUtils::ToStdVector<FVector, FSGVect3DImpl::FVect3DType, FSGVect3DImpl, &FSGVect3DImpl::ToVect3D>(
|
||||||
@@ -102,30 +102,30 @@ FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(const int32 CurrentStag
|
|||||||
|
|
||||||
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(const FCalibrationDataPointType& CalibrationDataPoint)
|
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(const FCalibrationDataPointType& CalibrationDataPoint)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->CalibrationDataPoint = CalibrationDataPoint;
|
Pimpl->CalibrationDataPoint = CalibrationDataPoint;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(const FSGCalibrationDataPointImpl& Rhs)
|
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(const FSGCalibrationDataPointImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(FSGCalibrationDataPointImpl&& Rhs)
|
FSGCalibrationDataPointImpl::FSGCalibrationDataPointImpl(FSGCalibrationDataPointImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGCalibrationDataPointImpl::~FSGCalibrationDataPointImpl() = default;
|
FSGCalibrationDataPointImpl::~FSGCalibrationDataPointImpl() = default;
|
||||||
@@ -138,9 +138,9 @@ FSGCalibrationDataPointImpl& FSGCalibrationDataPointImpl::operator=(const FSGCal
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGCalibrationDataPointImpl& FSGCalibrationDataPointImpl::operator=(FSGCalibrationDataPointImpl&& Rhs)
|
FSGCalibrationDataPointImpl& FSGCalibrationDataPointImpl::operator=(FSGCalibrationDataPointImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGCalibrationDataPointImpl::FCalibrationDataPointType&
|
const FSGCalibrationDataPointImpl::FCalibrationDataPointType&
|
||||||
|
|||||||
@@ -90,21 +90,21 @@ FString FSGDeviceImpl::ToString(ESGDeviceType DeviceType)
|
|||||||
|
|
||||||
FSGDeviceImpl::FSGDeviceImpl()
|
FSGDeviceImpl::FSGDeviceImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGDeviceImpl::FSGDeviceImpl(const FSGDevicePtrType SGDevice)
|
FSGDeviceImpl::FSGDeviceImpl(const FSGDevicePtrType SGDevice)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
ensureAlwaysMsgf(SGDevice.get(), TEXT("Invalid SGDevice!"));
|
ensureAlwaysMsgf(SGDevice.get(), TEXT("Invalid SGDevice!"));
|
||||||
Pimpl->SGDevice = SGDevice;
|
Pimpl->SGDevice = SGDevice;
|
||||||
@@ -112,19 +112,19 @@ FSGDeviceImpl::FSGDeviceImpl(const FSGDevicePtrType SGDevice)
|
|||||||
|
|
||||||
FSGDeviceImpl::FSGDeviceImpl(const FSGDeviceImpl& Rhs)
|
FSGDeviceImpl::FSGDeviceImpl(const FSGDeviceImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGDeviceImpl::FSGDeviceImpl(FSGDeviceImpl&& Rhs)
|
FSGDeviceImpl::FSGDeviceImpl(FSGDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGDeviceImpl::~FSGDeviceImpl() = default;
|
FSGDeviceImpl::~FSGDeviceImpl() = default;
|
||||||
@@ -137,9 +137,9 @@ FSGDeviceImpl& FSGDeviceImpl::operator=(const FSGDeviceImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGDeviceImpl& FSGDeviceImpl::operator=(FSGDeviceImpl&& Rhs)
|
FSGDeviceImpl& FSGDeviceImpl::operator=(FSGDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGDeviceImpl::FSGDevicePtrType FSGDeviceImpl::ToSGDevicePtr() const
|
FSGDeviceImpl::FSGDevicePtrType FSGDeviceImpl::ToSGDevicePtr() const
|
||||||
|
|||||||
@@ -97,22 +97,22 @@ void FSGDeviceModelImpl::ParseFirmware(const FString& RawFirmware, int32& OutMai
|
|||||||
|
|
||||||
FSGDeviceModelImpl::FSGDeviceModelImpl()
|
FSGDeviceModelImpl::FSGDeviceModelImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGDeviceModelImpl::FSGDeviceModelImpl(
|
FSGDeviceModelImpl::FSGDeviceModelImpl(
|
||||||
const FString& Id, const FString& HardwareVersion, const int32 FirmwareVersion, const int32 SubFirmwareVersion)
|
const FString& Id, const FString& HardwareVersion, const int32 FirmwareVersion, const int32 SubFirmwareVersion)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::string IdString(TCHAR_TO_UTF8(*Id));
|
std::string IdString(TCHAR_TO_UTF8(*Id));
|
||||||
std::string HardwareVersionString(TCHAR_TO_UTF8(*HardwareVersion));
|
std::string HardwareVersionString(TCHAR_TO_UTF8(*HardwareVersion));
|
||||||
@@ -122,30 +122,30 @@ FSGDeviceModelImpl::FSGDeviceModelImpl(
|
|||||||
|
|
||||||
FSGDeviceModelImpl::FSGDeviceModelImpl(const FDeviceModelType& DeviceModel)
|
FSGDeviceModelImpl::FSGDeviceModelImpl(const FDeviceModelType& DeviceModel)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->DeviceModel = DeviceModel;
|
Pimpl->DeviceModel = DeviceModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGDeviceModelImpl::FSGDeviceModelImpl(const FSGDeviceModelImpl& Rhs)
|
FSGDeviceModelImpl::FSGDeviceModelImpl(const FSGDeviceModelImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGDeviceModelImpl::FSGDeviceModelImpl(FSGDeviceModelImpl&& Rhs)
|
FSGDeviceModelImpl::FSGDeviceModelImpl(FSGDeviceModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGDeviceModelImpl::~FSGDeviceModelImpl() = default;
|
FSGDeviceModelImpl::~FSGDeviceModelImpl() = default;
|
||||||
@@ -158,9 +158,9 @@ FSGDeviceModelImpl& FSGDeviceModelImpl::operator=(const FSGDeviceModelImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGDeviceModelImpl& FSGDeviceModelImpl::operator=(FSGDeviceModelImpl&& Rhs)
|
FSGDeviceModelImpl& FSGDeviceModelImpl::operator=(FSGDeviceModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGDeviceModelImpl::FDeviceModelType& FSGDeviceModelImpl::ToDeviceModel() const
|
const FSGDeviceModelImpl::FDeviceModelType& FSGDeviceModelImpl::ToDeviceModel() const
|
||||||
|
|||||||
@@ -84,21 +84,21 @@ struct FSGFingerCommandImpl::FImpl
|
|||||||
|
|
||||||
FSGFingerCommandImpl::FSGFingerCommandImpl()
|
FSGFingerCommandImpl::FSGFingerCommandImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGFingerCommandImpl::FSGFingerCommandImpl(const TArray<int32>& Levels)
|
FSGFingerCommandImpl::FSGFingerCommandImpl(const TArray<int32>& Levels)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<int32> LevelsVector{
|
std::vector<int32> LevelsVector{
|
||||||
FSGArrayUtils::ToStdVector<int32>(Levels)
|
FSGArrayUtils::ToStdVector<int32>(Levels)
|
||||||
@@ -108,42 +108,42 @@ FSGFingerCommandImpl::FSGFingerCommandImpl(const TArray<int32>& Levels)
|
|||||||
|
|
||||||
FSGFingerCommandImpl::FSGFingerCommandImpl(const FFingerCommandType& FingerCommand)
|
FSGFingerCommandImpl::FSGFingerCommandImpl(const FFingerCommandType& FingerCommand)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->FingerCommand = MakeShared<FFingerCommandType>(FingerCommand);
|
Pimpl->FingerCommand = MakeShared<FFingerCommandType>(FingerCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGFingerCommandImpl::FSGFingerCommandImpl(const TSharedRef<FFingerCommandType> FingerCommand)
|
FSGFingerCommandImpl::FSGFingerCommandImpl(const TSharedRef<FFingerCommandType> FingerCommand)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->FingerCommand = FImpl::MakeNewFingerCommand(FingerCommand);
|
Pimpl->FingerCommand = FImpl::MakeNewFingerCommand(FingerCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGFingerCommandImpl::FSGFingerCommandImpl(const FSGFingerCommandImpl& Rhs)
|
FSGFingerCommandImpl::FSGFingerCommandImpl(const FSGFingerCommandImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
Pimpl->FingerCommand = FImpl::MakeNewFingerCommand(Rhs.Pimpl->FingerCommand);
|
Pimpl->FingerCommand = FImpl::MakeNewFingerCommand(Rhs.Pimpl->FingerCommand);
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGFingerCommandImpl::FSGFingerCommandImpl(FSGFingerCommandImpl&& Rhs)
|
FSGFingerCommandImpl::FSGFingerCommandImpl(FSGFingerCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGFingerCommandImpl::~FSGFingerCommandImpl() = default;
|
FSGFingerCommandImpl::~FSGFingerCommandImpl() = default;
|
||||||
@@ -156,9 +156,9 @@ FSGFingerCommandImpl& FSGFingerCommandImpl::operator=(const FSGFingerCommandImpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGFingerCommandImpl& FSGFingerCommandImpl::operator=(FSGFingerCommandImpl&& Rhs)
|
FSGFingerCommandImpl& FSGFingerCommandImpl::operator=(FSGFingerCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGFingerCommandImpl::FFingerCommandType& FSGFingerCommandImpl::ToFingerCommand() const
|
const FSGFingerCommandImpl::FFingerCommandType& FSGFingerCommandImpl::ToFingerCommand() const
|
||||||
|
|||||||
@@ -75,81 +75,81 @@ const FSGForceFeedbackCommandImpl& FSGForceFeedbackCommandImpl::Off()
|
|||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl()
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl()
|
||||||
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>()),
|
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>()),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const TArray<int32>& ForceFeedbackLevels)
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const TArray<int32>& ForceFeedbackLevels)
|
||||||
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(
|
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(
|
||||||
FSGArrayUtils::ToStdVector<int32>(ForceFeedbackLevels))),
|
FSGArrayUtils::ToStdVector<int32>(ForceFeedbackLevels))),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const int32 Thumb, const int32 Index, const int32 Middle,
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const int32 Thumb, const int32 Index, const int32 Middle,
|
||||||
const int32 Ring, const int32 Pinky)
|
const int32 Ring, const int32 Pinky)
|
||||||
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(Thumb, Index, Middle, Ring, Pinky)),
|
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(Thumb, Index, Middle, Ring, Pinky)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const ESGFinger Finger, const int32 BuzzLevel)
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const ESGFinger Finger, const int32 BuzzLevel)
|
||||||
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(FSGCoreEnumCast::ToEFinger(Finger), BuzzLevel)),
|
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(FSGCoreEnumCast::ToEFinger(Finger), BuzzLevel)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const FForceFeedbackCommandType& ForceFeedbackCommand)
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const FForceFeedbackCommandType& ForceFeedbackCommand)
|
||||||
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(ForceFeedbackCommand)),
|
: FSGFingerCommandImpl(MakeShared<FForceFeedbackCommandType>(ForceFeedbackCommand)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const TSharedRef<FForceFeedbackCommandType> ForceFeedbackCommand)
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const TSharedRef<FForceFeedbackCommandType> ForceFeedbackCommand)
|
||||||
: FSGFingerCommandImpl(ForceFeedbackCommand),
|
: FSGFingerCommandImpl(ForceFeedbackCommand),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const FSGForceFeedbackCommandImpl& Rhs)
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(const FSGForceFeedbackCommandImpl& Rhs)
|
||||||
: FSGFingerCommandImpl(Rhs),
|
: FSGFingerCommandImpl(Rhs),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(FSGForceFeedbackCommandImpl&& Rhs)
|
FSGForceFeedbackCommandImpl::FSGForceFeedbackCommandImpl(FSGForceFeedbackCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl::~FSGForceFeedbackCommandImpl() = default;
|
FSGForceFeedbackCommandImpl::~FSGForceFeedbackCommandImpl() = default;
|
||||||
@@ -163,9 +163,9 @@ FSGForceFeedbackCommandImpl& FSGForceFeedbackCommandImpl::operator=(const FSGFor
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGForceFeedbackCommandImpl& FSGForceFeedbackCommandImpl::operator=(FSGForceFeedbackCommandImpl&& Rhs)
|
FSGForceFeedbackCommandImpl& FSGForceFeedbackCommandImpl::operator=(FSGForceFeedbackCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGForceFeedbackCommandImpl::FForceFeedbackCommandType& FSGForceFeedbackCommandImpl::ToForceFeedbackCommand() const
|
const FSGForceFeedbackCommandImpl::FForceFeedbackCommandType& FSGForceFeedbackCommandImpl::ToForceFeedbackCommand() const
|
||||||
|
|||||||
@@ -133,21 +133,21 @@ TArray<TArray<FVector>> FSGHandInterpolatorImpl::InterpolateHandAngles(const FSG
|
|||||||
|
|
||||||
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl()
|
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const TArray<TArray<FSGInterpolationSetImpl>>& JointInterpolations)
|
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const TArray<TArray<FSGInterpolationSetImpl>>& JointInterpolations)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<std::vector<FSGInterpolationSetImpl::FInterpolationSetType>> JointInterpolationsVector{
|
std::vector<std::vector<FSGInterpolationSetImpl::FInterpolationSetType>> JointInterpolationsVector{
|
||||||
FSGArrayUtils::ToStdVector<FSGInterpolationSetImpl, FSGInterpolationSetImpl::FInterpolationSetType,
|
FSGArrayUtils::ToStdVector<FSGInterpolationSetImpl, FSGInterpolationSetImpl::FInterpolationSetType,
|
||||||
@@ -159,11 +159,11 @@ FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const TArray<TArray<FSGInterpol
|
|||||||
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const TArray<TArray<FSGInterpolationSetImpl>>& JointInterpolations,
|
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const TArray<TArray<FSGInterpolationSetImpl>>& JointInterpolations,
|
||||||
const FQuat& CmcStartRotation)
|
const FQuat& CmcStartRotation)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<std::vector<FSGInterpolationSetImpl::FInterpolationSetType>> JointInterpolationsVector{
|
std::vector<std::vector<FSGInterpolationSetImpl::FInterpolationSetType>> JointInterpolationsVector{
|
||||||
FSGArrayUtils::ToStdVector<FSGInterpolationSetImpl, FSGInterpolationSetImpl::FInterpolationSetType,
|
FSGArrayUtils::ToStdVector<FSGInterpolationSetImpl, FSGInterpolationSetImpl::FInterpolationSetType,
|
||||||
@@ -175,30 +175,30 @@ FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const TArray<TArray<FSGInterpol
|
|||||||
|
|
||||||
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const FHandInterpolatorType& HandInterpolator)
|
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const FHandInterpolatorType& HandInterpolator)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HandInterpolator = HandInterpolator;
|
Pimpl->HandInterpolator = HandInterpolator;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const FSGHandInterpolatorImpl& Rhs)
|
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(const FSGHandInterpolatorImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(FSGHandInterpolatorImpl&& Rhs)
|
FSGHandInterpolatorImpl::FSGHandInterpolatorImpl(FSGHandInterpolatorImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHandInterpolatorImpl::~FSGHandInterpolatorImpl() = default;
|
FSGHandInterpolatorImpl::~FSGHandInterpolatorImpl() = default;
|
||||||
@@ -211,9 +211,9 @@ FSGHandInterpolatorImpl& FSGHandInterpolatorImpl::operator=(const FSGHandInterpo
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGHandInterpolatorImpl& FSGHandInterpolatorImpl::operator=(FSGHandInterpolatorImpl&& Rhs)
|
FSGHandInterpolatorImpl& FSGHandInterpolatorImpl::operator=(FSGHandInterpolatorImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGHandInterpolatorImpl::FHandInterpolatorType& FSGHandInterpolatorImpl::ToHandInterpolator(
|
const FSGHandInterpolatorImpl::FHandInterpolatorType& FSGHandInterpolatorImpl::ToHandInterpolator(
|
||||||
|
|||||||
@@ -146,22 +146,22 @@ FSGHandPoseImpl FSGHandPoseImpl::Fist(const bool bRightHanded)
|
|||||||
|
|
||||||
FSGHandPoseImpl::FSGHandPoseImpl()
|
FSGHandPoseImpl::FSGHandPoseImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandPoseImpl::FSGHandPoseImpl(const bool bRightHanded, const TArray<TArray<FVector>>& JointPositions,
|
FSGHandPoseImpl::FSGHandPoseImpl(const bool bRightHanded, const TArray<TArray<FVector>>& JointPositions,
|
||||||
const TArray<TArray<FQuat>>& JointRotations, const TArray<TArray<FVector>>& HandAngles)
|
const TArray<TArray<FQuat>>& JointRotations, const TArray<TArray<FVector>>& HandAngles)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<std::vector<FSGVect3DImpl::FVect3DType>> JointPositionsVector{
|
std::vector<std::vector<FSGVect3DImpl::FVect3DType>> JointPositionsVector{
|
||||||
FSGArrayUtils::ToMillimeters<FSGVect3DImpl::FVect3DType, FSGVect3DImpl>(JointPositions)
|
FSGArrayUtils::ToMillimeters<FSGVect3DImpl::FVect3DType, FSGVect3DImpl>(JointPositions)
|
||||||
@@ -181,30 +181,30 @@ FSGHandPoseImpl::FSGHandPoseImpl(const bool bRightHanded, const TArray<TArray<FV
|
|||||||
|
|
||||||
FSGHandPoseImpl::FSGHandPoseImpl(const FHandPoseType& SenseGloveHandPose)
|
FSGHandPoseImpl::FSGHandPoseImpl(const FHandPoseType& SenseGloveHandPose)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HandPose = SenseGloveHandPose;
|
Pimpl->HandPose = SenseGloveHandPose;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandPoseImpl::FSGHandPoseImpl(const FSGHandPoseImpl& Rhs)
|
FSGHandPoseImpl::FSGHandPoseImpl(const FSGHandPoseImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandPoseImpl::FSGHandPoseImpl(FSGHandPoseImpl&& Rhs)
|
FSGHandPoseImpl::FSGHandPoseImpl(FSGHandPoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHandPoseImpl::~FSGHandPoseImpl() = default;
|
FSGHandPoseImpl::~FSGHandPoseImpl() = default;
|
||||||
@@ -217,9 +217,9 @@ FSGHandPoseImpl& FSGHandPoseImpl::operator=(const FSGHandPoseImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGHandPoseImpl& FSGHandPoseImpl::operator=(FSGHandPoseImpl&& Rhs)
|
FSGHandPoseImpl& FSGHandPoseImpl::operator=(FSGHandPoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGHandPoseImpl::FHandPoseType& FSGHandPoseImpl::ToHandPose() const
|
const FSGHandPoseImpl::FHandPoseType& FSGHandPoseImpl::ToHandPose() const
|
||||||
|
|||||||
@@ -142,11 +142,11 @@ void FSGHandProfileImpl::ResetCalibration(const bool bOnDisk)
|
|||||||
|
|
||||||
FSGHandProfileImpl::FSGHandProfileImpl()
|
FSGHandProfileImpl::FSGHandProfileImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -154,11 +154,11 @@ FSGHandProfileImpl::FSGHandProfileImpl(const bool bRightHanded,
|
|||||||
const FSGSenseGloveHandProfileImpl& SenseGloveHandProfile,
|
const FSGSenseGloveHandProfileImpl& SenseGloveHandProfile,
|
||||||
const FSGNovaGloveHandProfileImpl& NovaGloveHandProfile)
|
const FSGNovaGloveHandProfileImpl& NovaGloveHandProfile)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HandProfile = FHandProfileType(
|
Pimpl->HandProfile = FHandProfileType(
|
||||||
bRightHanded, SenseGloveHandProfile.ToSenseGloveHandProfile(), NovaGloveHandProfile.ToNovaGloveHandProfile());
|
bRightHanded, SenseGloveHandProfile.ToSenseGloveHandProfile(), NovaGloveHandProfile.ToNovaGloveHandProfile());
|
||||||
@@ -166,30 +166,30 @@ FSGHandProfileImpl::FSGHandProfileImpl(const bool bRightHanded,
|
|||||||
|
|
||||||
FSGHandProfileImpl::FSGHandProfileImpl(const FHandProfileType& SenseGloveHandProfile)
|
FSGHandProfileImpl::FSGHandProfileImpl(const FHandProfileType& SenseGloveHandProfile)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HandProfile = SenseGloveHandProfile;
|
Pimpl->HandProfile = SenseGloveHandProfile;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandProfileImpl::FSGHandProfileImpl(const FSGHandProfileImpl& Rhs)
|
FSGHandProfileImpl::FSGHandProfileImpl(const FSGHandProfileImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHandProfileImpl::FSGHandProfileImpl(FSGHandProfileImpl&& Rhs)
|
FSGHandProfileImpl::FSGHandProfileImpl(FSGHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHandProfileImpl::~FSGHandProfileImpl() = default;
|
FSGHandProfileImpl::~FSGHandProfileImpl() = default;
|
||||||
@@ -202,9 +202,9 @@ FSGHandProfileImpl& FSGHandProfileImpl::operator=(const FSGHandProfileImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGHandProfileImpl& FSGHandProfileImpl::operator=(FSGHandProfileImpl&& Rhs)
|
FSGHandProfileImpl& FSGHandProfileImpl::operator=(FSGHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGHandProfileImpl::FHandProfileType& FSGHandProfileImpl::ToHandProfile(
|
const FSGHandProfileImpl::FHandProfileType& FSGHandProfileImpl::ToHandProfile(
|
||||||
|
|||||||
+12
-12
@@ -158,21 +158,21 @@ bool FSGHapticGloveCalibrationCheckImpl::MatchesLast(const TArray<FVector>& Curr
|
|||||||
|
|
||||||
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl()
|
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(const FSGSensorRangeImpl& LastCalibrationRange)
|
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(const FSGSensorRangeImpl& LastCalibrationRange)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HapticGloveCalibrationCheck = FHapticGloveCalibrationCheckType(LastCalibrationRange.ToSensorRange());
|
Pimpl->HapticGloveCalibrationCheck = FHapticGloveCalibrationCheckType(LastCalibrationRange.ToSensorRange());
|
||||||
}
|
}
|
||||||
@@ -180,11 +180,11 @@ FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(const FSG
|
|||||||
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(
|
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(
|
||||||
const FHapticGloveCalibrationCheckType& HapticGloveCalibrationCheck)
|
const FHapticGloveCalibrationCheckType& HapticGloveCalibrationCheck)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HapticGloveCalibrationCheck = HapticGloveCalibrationCheck;
|
Pimpl->HapticGloveCalibrationCheck = HapticGloveCalibrationCheck;
|
||||||
}
|
}
|
||||||
@@ -192,20 +192,20 @@ FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(
|
|||||||
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(
|
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(
|
||||||
const FSGHapticGloveCalibrationCheckImpl& Rhs)
|
const FSGHapticGloveCalibrationCheckImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(
|
FSGHapticGloveCalibrationCheckImpl::FSGHapticGloveCalibrationCheckImpl(
|
||||||
FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHapticGloveCalibrationCheckImpl::~FSGHapticGloveCalibrationCheckImpl() = default;
|
FSGHapticGloveCalibrationCheckImpl::~FSGHapticGloveCalibrationCheckImpl() = default;
|
||||||
@@ -220,9 +220,9 @@ FSGHapticGloveCalibrationCheckImpl& FSGHapticGloveCalibrationCheckImpl::operator
|
|||||||
|
|
||||||
FSGHapticGloveCalibrationCheckImpl& FSGHapticGloveCalibrationCheckImpl::operator=(
|
FSGHapticGloveCalibrationCheckImpl& FSGHapticGloveCalibrationCheckImpl::operator=(
|
||||||
FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGHapticGloveCalibrationCheckImpl::FHapticGloveCalibrationCheckType&
|
const FSGHapticGloveCalibrationCheckImpl::FHapticGloveCalibrationCheckType&
|
||||||
|
|||||||
+14
-14
@@ -114,22 +114,22 @@ bool FSGHapticGloveCalibrationSequenceImpl::CompileProfile(const FSGSensorRangeI
|
|||||||
|
|
||||||
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl()
|
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
||||||
const TSharedRef<FSGHapticGloveImpl> LinkedGlove)
|
const TSharedRef<FSGHapticGloveImpl> LinkedGlove)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HapticGloveCalibrationSequence = MakeShared<FHapticGloveCalibrationSequenceType>(
|
Pimpl->HapticGloveCalibrationSequence = MakeShared<FHapticGloveCalibrationSequenceType>(
|
||||||
LinkedGlove->ToHapticGlovePtrChecked());
|
LinkedGlove->ToHapticGlovePtrChecked());
|
||||||
@@ -138,11 +138,11 @@ FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
|||||||
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
||||||
const FHapticGloveCalibrationSequenceType& HapticGloveCalibrationSequence)
|
const FHapticGloveCalibrationSequenceType& HapticGloveCalibrationSequence)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HapticGloveCalibrationSequence = MakeShared<FHapticGloveCalibrationSequenceType>(
|
Pimpl->HapticGloveCalibrationSequence = MakeShared<FHapticGloveCalibrationSequenceType>(
|
||||||
HapticGloveCalibrationSequence);
|
HapticGloveCalibrationSequence);
|
||||||
@@ -151,11 +151,11 @@ FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
|||||||
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
||||||
TSharedRef<FHapticGloveCalibrationSequenceType> HapticGloveCalibrationSequence)
|
TSharedRef<FHapticGloveCalibrationSequenceType> HapticGloveCalibrationSequence)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HapticGloveCalibrationSequence =
|
Pimpl->HapticGloveCalibrationSequence =
|
||||||
Pimpl->MakeNewHapticGloveCalibrationSequence(HapticGloveCalibrationSequence);
|
Pimpl->MakeNewHapticGloveCalibrationSequence(HapticGloveCalibrationSequence);
|
||||||
@@ -164,20 +164,20 @@ FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
|||||||
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
||||||
const FSGHapticGloveCalibrationSequenceImpl& Rhs)
|
const FSGHapticGloveCalibrationSequenceImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
FSGHapticGloveCalibrationSequenceImpl::FSGHapticGloveCalibrationSequenceImpl(
|
||||||
FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHapticGloveCalibrationSequenceImpl::~FSGHapticGloveCalibrationSequenceImpl() = default;
|
FSGHapticGloveCalibrationSequenceImpl::~FSGHapticGloveCalibrationSequenceImpl() = default;
|
||||||
@@ -192,9 +192,9 @@ FSGHapticGloveCalibrationSequenceImpl& FSGHapticGloveCalibrationSequenceImpl::op
|
|||||||
|
|
||||||
FSGHapticGloveCalibrationSequenceImpl& FSGHapticGloveCalibrationSequenceImpl::operator=(
|
FSGHapticGloveCalibrationSequenceImpl& FSGHapticGloveCalibrationSequenceImpl::operator=(
|
||||||
FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGHapticGloveCalibrationSequenceImpl::FHapticGloveCalibrationSequenceType&
|
const FSGHapticGloveCalibrationSequenceImpl::FHapticGloveCalibrationSequenceType&
|
||||||
|
|||||||
@@ -98,22 +98,22 @@ int32 FSGHapticGloveCommandBufferImpl::GetMaxThumpCommands()
|
|||||||
|
|
||||||
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl()
|
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl(
|
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl(
|
||||||
const FHapticGloveCommandBufferType& HapticGloveCommandBuffer)
|
const FHapticGloveCommandBufferType& HapticGloveCommandBuffer)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->HapticGloveCommandBuffer = HapticGloveCommandBuffer;
|
Pimpl->HapticGloveCommandBuffer = HapticGloveCommandBuffer;
|
||||||
}
|
}
|
||||||
@@ -121,20 +121,20 @@ FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl(
|
|||||||
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl(
|
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl(
|
||||||
const FSGHapticGloveCommandBufferImpl& Rhs)
|
const FSGHapticGloveCommandBufferImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl(
|
FSGHapticGloveCommandBufferImpl::FSGHapticGloveCommandBufferImpl(
|
||||||
FSGHapticGloveCommandBufferImpl&& Rhs)
|
FSGHapticGloveCommandBufferImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHapticGloveCommandBufferImpl::~FSGHapticGloveCommandBufferImpl() = default;
|
FSGHapticGloveCommandBufferImpl::~FSGHapticGloveCommandBufferImpl() = default;
|
||||||
@@ -149,9 +149,9 @@ FSGHapticGloveCommandBufferImpl& FSGHapticGloveCommandBufferImpl::operator=(
|
|||||||
|
|
||||||
FSGHapticGloveCommandBufferImpl& FSGHapticGloveCommandBufferImpl::operator=(
|
FSGHapticGloveCommandBufferImpl& FSGHapticGloveCommandBufferImpl::operator=(
|
||||||
FSGHapticGloveCommandBufferImpl&& Rhs)
|
FSGHapticGloveCommandBufferImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGHapticGloveCommandBufferImpl::FHapticGloveCommandBufferType&
|
const FSGHapticGloveCommandBufferImpl::FHapticGloveCommandBufferType&
|
||||||
|
|||||||
@@ -126,39 +126,39 @@ bool FSGHapticGloveImpl::GetGlove(const bool bRightHanded, TSharedPtr<FSGHapticG
|
|||||||
|
|
||||||
FSGHapticGloveImpl::FSGHapticGloveImpl()
|
FSGHapticGloveImpl::FSGHapticGloveImpl()
|
||||||
: FSGDeviceImpl(),
|
: FSGDeviceImpl(),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveImpl::FSGHapticGloveImpl(const FHapticGlovePtrType HapticGlove)
|
FSGHapticGloveImpl::FSGHapticGloveImpl(const FHapticGlovePtrType HapticGlove)
|
||||||
: FSGDeviceImpl(std::dynamic_pointer_cast<FSGDeviceType>(HapticGlove)),
|
: FSGDeviceImpl(std::dynamic_pointer_cast<FSGDeviceType>(HapticGlove)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveImpl::FSGHapticGloveImpl(const FSGHapticGloveImpl& Rhs)
|
FSGHapticGloveImpl::FSGHapticGloveImpl(const FSGHapticGloveImpl& Rhs)
|
||||||
: FSGDeviceImpl(Rhs),
|
: FSGDeviceImpl(Rhs),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveImpl::FSGHapticGloveImpl(FSGHapticGloveImpl&& Rhs)
|
FSGHapticGloveImpl::FSGHapticGloveImpl(FSGHapticGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHapticGloveImpl::~FSGHapticGloveImpl() = default;
|
FSGHapticGloveImpl::~FSGHapticGloveImpl() = default;
|
||||||
@@ -172,9 +172,9 @@ FSGHapticGloveImpl& FSGHapticGloveImpl::operator=(const FSGHapticGloveImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveImpl& FSGHapticGloveImpl::operator=(FSGHapticGloveImpl&& Rhs)
|
FSGHapticGloveImpl& FSGHapticGloveImpl::operator=(FSGHapticGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHapticGloveImpl::FHapticGlovePtrType FSGHapticGloveImpl::ToHapticGlovePtr() const
|
FSGHapticGloveImpl::FHapticGlovePtrType FSGHapticGloveImpl::ToHapticGlovePtr() const
|
||||||
|
|||||||
+12
-12
@@ -88,11 +88,11 @@ float FSGHapticGloveQuickCalibrationImpl::GetDefaultAutoEndTimeout()
|
|||||||
|
|
||||||
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl()
|
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl()
|
||||||
: FSGHapticGloveCalibrationSequenceImpl(),
|
: FSGHapticGloveCalibrationSequenceImpl(),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,41 +100,41 @@ FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl(
|
|||||||
const TSharedRef<FSGHapticGloveImpl> GloveToCalibrate, const float AutoEndTimeout)
|
const TSharedRef<FSGHapticGloveImpl> GloveToCalibrate, const float AutoEndTimeout)
|
||||||
: FSGHapticGloveCalibrationSequenceImpl(
|
: FSGHapticGloveCalibrationSequenceImpl(
|
||||||
MakeShared<FHapticGloveQuickCalibrationType>(GloveToCalibrate->ToHapticGlovePtr(), AutoEndTimeout)),
|
MakeShared<FHapticGloveQuickCalibrationType>(GloveToCalibrate->ToHapticGlovePtr(), AutoEndTimeout)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl(
|
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl(
|
||||||
const FHapticGloveQuickCalibrationType& HapticGloveQuickCalibration)
|
const FHapticGloveQuickCalibrationType& HapticGloveQuickCalibration)
|
||||||
: FSGHapticGloveCalibrationSequenceImpl(MakeShared<FHapticGloveQuickCalibrationType>(HapticGloveQuickCalibration)),
|
: FSGHapticGloveCalibrationSequenceImpl(MakeShared<FHapticGloveQuickCalibrationType>(HapticGloveQuickCalibration)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl(const FSGHapticGloveQuickCalibrationImpl& Rhs)
|
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl(const FSGHapticGloveQuickCalibrationImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl(
|
FSGHapticGloveQuickCalibrationImpl::FSGHapticGloveQuickCalibrationImpl(
|
||||||
FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGHapticGloveQuickCalibrationImpl::~FSGHapticGloveQuickCalibrationImpl() = default;
|
FSGHapticGloveQuickCalibrationImpl::~FSGHapticGloveQuickCalibrationImpl() = default;
|
||||||
@@ -149,9 +149,9 @@ FSGHapticGloveQuickCalibrationImpl& FSGHapticGloveQuickCalibrationImpl::operator
|
|||||||
|
|
||||||
FSGHapticGloveQuickCalibrationImpl& FSGHapticGloveQuickCalibrationImpl::operator=(
|
FSGHapticGloveQuickCalibrationImpl& FSGHapticGloveQuickCalibrationImpl::operator=(
|
||||||
FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGHapticGloveQuickCalibrationImpl::FHapticGloveQuickCalibrationType&
|
const FSGHapticGloveQuickCalibrationImpl::FHapticGloveQuickCalibrationType&
|
||||||
|
|||||||
@@ -82,21 +82,21 @@ FSGInterpolationSetImpl FSGInterpolationSetImpl::Deserialize(const FString& Seri
|
|||||||
|
|
||||||
FSGInterpolationSetImpl::FSGInterpolationSetImpl()
|
FSGInterpolationSetImpl::FSGInterpolationSetImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const float From1, const float From2, const float To1, const float To2)
|
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const float From1, const float From2, const float To1, const float To2)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->InterpolationSet = FInterpolationSetType(From1, From2, To1, To2);
|
Pimpl->InterpolationSet = FInterpolationSetType(From1, From2, To1, To2);
|
||||||
}
|
}
|
||||||
@@ -104,41 +104,41 @@ FSGInterpolationSetImpl::FSGInterpolationSetImpl(const float From1, const float
|
|||||||
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const float From1, const float From2, const float To1, const float To2,
|
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const float From1, const float From2, const float To1, const float To2,
|
||||||
const float Min, const float Max)
|
const float Min, const float Max)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->InterpolationSet = FInterpolationSetType(From1, From2, To1, To2, Min, Max);
|
Pimpl->InterpolationSet = FInterpolationSetType(From1, From2, To1, To2, Min, Max);
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const FInterpolationSetType& InterpolationSet)
|
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const FInterpolationSetType& InterpolationSet)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->InterpolationSet = InterpolationSet;
|
Pimpl->InterpolationSet = InterpolationSet;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const FSGInterpolationSetImpl& Rhs)
|
FSGInterpolationSetImpl::FSGInterpolationSetImpl(const FSGInterpolationSetImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGInterpolationSetImpl::FSGInterpolationSetImpl(FSGInterpolationSetImpl&& Rhs)
|
FSGInterpolationSetImpl::FSGInterpolationSetImpl(FSGInterpolationSetImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGInterpolationSetImpl::~FSGInterpolationSetImpl() = default;
|
FSGInterpolationSetImpl::~FSGInterpolationSetImpl() = default;
|
||||||
@@ -151,9 +151,9 @@ FSGInterpolationSetImpl& FSGInterpolationSetImpl::operator=(const FSGInterpolati
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGInterpolationSetImpl& FSGInterpolationSetImpl::operator=(FSGInterpolationSetImpl&& Rhs)
|
FSGInterpolationSetImpl& FSGInterpolationSetImpl::operator=(FSGInterpolationSetImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGInterpolationSetImpl::FInterpolationSetType& FSGInterpolationSetImpl::ToInterpolationSet() const
|
const FSGInterpolationSetImpl::FInterpolationSetType& FSGInterpolationSetImpl::ToInterpolationSet() const
|
||||||
|
|||||||
@@ -90,51 +90,51 @@ FSGNovaGloveHandProfileImpl FSGNovaGloveHandProfileImpl::Deserialize(const FStri
|
|||||||
|
|
||||||
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl()
|
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(bool bRightHanded, const FSGHandInterpolatorImpl& Interpolator)
|
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(bool bRightHanded, const FSGHandInterpolatorImpl& Interpolator)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->NovaGloveHandProfile = FNovaGloveHandProfileType(bRightHanded, Interpolator.ToHandInterpolator());
|
Pimpl->NovaGloveHandProfile = FNovaGloveHandProfileType(bRightHanded, Interpolator.ToHandInterpolator());
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(const FNovaGloveHandProfileType& NovaGloveHandProfile)
|
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(const FNovaGloveHandProfileType& NovaGloveHandProfile)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->NovaGloveHandProfile = NovaGloveHandProfile;
|
Pimpl->NovaGloveHandProfile = NovaGloveHandProfile;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(const FSGNovaGloveHandProfileImpl& Rhs)
|
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(const FSGNovaGloveHandProfileImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(FSGNovaGloveHandProfileImpl&& Rhs)
|
FSGNovaGloveHandProfileImpl::FSGNovaGloveHandProfileImpl(FSGNovaGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGNovaGloveHandProfileImpl::~FSGNovaGloveHandProfileImpl() = default;
|
FSGNovaGloveHandProfileImpl::~FSGNovaGloveHandProfileImpl() = default;
|
||||||
@@ -147,9 +147,9 @@ FSGNovaGloveHandProfileImpl& FSGNovaGloveHandProfileImpl::operator=(const FSGNov
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveHandProfileImpl& FSGNovaGloveHandProfileImpl::operator=(FSGNovaGloveHandProfileImpl&& Rhs)
|
FSGNovaGloveHandProfileImpl& FSGNovaGloveHandProfileImpl::operator=(FSGNovaGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGNovaGloveHandProfileImpl::FNovaGloveHandProfileType& FSGNovaGloveHandProfileImpl::ToNovaGloveHandProfile(
|
const FSGNovaGloveHandProfileImpl::FNovaGloveHandProfileType& FSGNovaGloveHandProfileImpl::ToNovaGloveHandProfile(
|
||||||
|
|||||||
@@ -238,59 +238,59 @@ FString FSGNovaGloveImpl::ToBytes(const FSGBuzzCommandImpl& BuzzCommand)
|
|||||||
|
|
||||||
FSGNovaGloveImpl::FSGNovaGloveImpl()
|
FSGNovaGloveImpl::FSGNovaGloveImpl()
|
||||||
: FSGHapticGloveImpl(),
|
: FSGHapticGloveImpl(),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveImpl::FSGNovaGloveImpl(const FSGNovaGloveInfoImpl& DeviceInfo)
|
FSGNovaGloveImpl::FSGNovaGloveImpl(const FSGNovaGloveInfoImpl& DeviceInfo)
|
||||||
: FSGHapticGloveImpl(FSGNovaGloveImpl(std::make_shared<FNovaGloveType>((DeviceInfo.ToNovaGloveInfo())))),
|
: FSGHapticGloveImpl(FSGNovaGloveImpl(std::make_shared<FNovaGloveType>((DeviceInfo.ToNovaGloveInfo())))),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveImpl::FSGNovaGloveImpl(const FNovaGloveType NovaGlove)
|
FSGNovaGloveImpl::FSGNovaGloveImpl(const FNovaGloveType NovaGlove)
|
||||||
: FSGHapticGloveImpl(std::make_shared<FNovaGloveType>(NovaGlove)),
|
: FSGHapticGloveImpl(std::make_shared<FNovaGloveType>(NovaGlove)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveImpl::FSGNovaGloveImpl(const FNovaGlovePtrType NovaGlove)
|
FSGNovaGloveImpl::FSGNovaGloveImpl(const FNovaGlovePtrType NovaGlove)
|
||||||
: FSGHapticGloveImpl(NovaGlove),
|
: FSGHapticGloveImpl(NovaGlove),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveImpl::FSGNovaGloveImpl(const FSGNovaGloveImpl& Rhs)
|
FSGNovaGloveImpl::FSGNovaGloveImpl(const FSGNovaGloveImpl& Rhs)
|
||||||
: FSGHapticGloveImpl(Rhs),
|
: FSGHapticGloveImpl(Rhs),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveImpl::FSGNovaGloveImpl(FSGNovaGloveImpl&& Rhs)
|
FSGNovaGloveImpl::FSGNovaGloveImpl(FSGNovaGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGNovaGloveImpl::~FSGNovaGloveImpl() = default;
|
FSGNovaGloveImpl::~FSGNovaGloveImpl() = default;
|
||||||
@@ -304,9 +304,9 @@ FSGNovaGloveImpl& FSGNovaGloveImpl::operator=(const FSGNovaGloveImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveImpl& FSGNovaGloveImpl::operator=(FSGNovaGloveImpl&& Rhs)
|
FSGNovaGloveImpl& FSGNovaGloveImpl::operator=(FSGNovaGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGNovaGloveImpl::FNovaGloveType& FSGNovaGloveImpl::ToNovaGlove() const
|
const FSGNovaGloveImpl::FNovaGloveType& FSGNovaGloveImpl::ToNovaGlove() const
|
||||||
|
|||||||
@@ -95,11 +95,11 @@ FSGNovaGloveInfoImpl FSGNovaGloveInfoImpl::Deserialize(const FString& Serialized
|
|||||||
|
|
||||||
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl()
|
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -108,11 +108,11 @@ FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(
|
|||||||
const FString& HardwareVersion, const int32 FirmwareVersion, const int32 SubFirmwareVersion,
|
const FString& HardwareVersion, const int32 FirmwareVersion, const int32 SubFirmwareVersion,
|
||||||
const bool bRightHanded, const FQuat& ImuCorrection, const int32 NumberOfSensors)
|
const bool bRightHanded, const FQuat& ImuCorrection, const int32 NumberOfSensors)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::string DeviceIdString(TCHAR_TO_UTF8(*DeviceId));
|
std::string DeviceIdString(TCHAR_TO_UTF8(*DeviceId));
|
||||||
std::string HardwareVersionString(TCHAR_TO_UTF8(*HardwareVersion));
|
std::string HardwareVersionString(TCHAR_TO_UTF8(*HardwareVersion));
|
||||||
@@ -125,30 +125,30 @@ FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(
|
|||||||
|
|
||||||
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(const FNovaGloveInfoType& GloveInfo)
|
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(const FNovaGloveInfoType& GloveInfo)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->NovaGloveInfo = GloveInfo;
|
Pimpl->NovaGloveInfo = GloveInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(const FSGNovaGloveInfoImpl& Rhs)
|
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(const FSGNovaGloveInfoImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(FSGNovaGloveInfoImpl&& Rhs)
|
FSGNovaGloveInfoImpl::FSGNovaGloveInfoImpl(FSGNovaGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGNovaGloveInfoImpl::~FSGNovaGloveInfoImpl() = default;
|
FSGNovaGloveInfoImpl::~FSGNovaGloveInfoImpl() = default;
|
||||||
@@ -161,9 +161,9 @@ FSGNovaGloveInfoImpl& FSGNovaGloveInfoImpl::operator=(const FSGNovaGloveInfoImpl
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveInfoImpl& FSGNovaGloveInfoImpl::operator=(FSGNovaGloveInfoImpl&& Rhs)
|
FSGNovaGloveInfoImpl& FSGNovaGloveInfoImpl::operator=(FSGNovaGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGNovaGloveInfoImpl::FNovaGloveInfoType& FSGNovaGloveInfoImpl::ToNovaGloveInfo() const
|
const FSGNovaGloveInfoImpl::FNovaGloveInfoType& FSGNovaGloveInfoImpl::ToNovaGloveInfo() const
|
||||||
|
|||||||
@@ -102,11 +102,11 @@ FSGNovaGloveSensorDataImpl FSGNovaGloveSensorDataImpl::Deserialize(const FString
|
|||||||
|
|
||||||
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl()
|
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -114,11 +114,11 @@ FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(const TArray<FVector>& Va
|
|||||||
const FQuat& ImuRotation, const bool bImuParsed,
|
const FQuat& ImuRotation, const bool bImuParsed,
|
||||||
const float BatteryLevel, const bool bCharging)
|
const float BatteryLevel, const bool bCharging)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<FSGVect3DImpl::FVect3DType> ValuesVector{
|
std::vector<FSGVect3DImpl::FVect3DType> ValuesVector{
|
||||||
FSGArrayUtils::ToStdVector<FVector, FSGVect3DImpl::FVect3DType, FSGVect3DImpl, &FSGVect3DImpl::ToVect3D>(
|
FSGArrayUtils::ToStdVector<FVector, FSGVect3DImpl::FVect3DType, FSGVect3DImpl, &FSGVect3DImpl::ToVect3D>(
|
||||||
@@ -131,30 +131,30 @@ FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(const TArray<FVector>& Va
|
|||||||
|
|
||||||
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(const FNovaGloveSensorDataType& NovaGloveSensorData)
|
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(const FNovaGloveSensorDataType& NovaGloveSensorData)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->NovaGloveSensorData = NovaGloveSensorData;
|
Pimpl->NovaGloveSensorData = NovaGloveSensorData;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(const FSGNovaGloveSensorDataImpl& Rhs)
|
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(const FSGNovaGloveSensorDataImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(FSGNovaGloveSensorDataImpl&& Rhs)
|
FSGNovaGloveSensorDataImpl::FSGNovaGloveSensorDataImpl(FSGNovaGloveSensorDataImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGNovaGloveSensorDataImpl::~FSGNovaGloveSensorDataImpl() = default;
|
FSGNovaGloveSensorDataImpl::~FSGNovaGloveSensorDataImpl() = default;
|
||||||
@@ -168,9 +168,9 @@ FSGNovaGloveSensorDataImpl& FSGNovaGloveSensorDataImpl::operator=(const FSGNovaG
|
|||||||
|
|
||||||
FSGNovaGloveSensorDataImpl& FSGNovaGloveSensorDataImpl::operator=(FSGNovaGloveSensorDataImpl&& Rhs
|
FSGNovaGloveSensorDataImpl& FSGNovaGloveSensorDataImpl::operator=(FSGNovaGloveSensorDataImpl&& Rhs
|
||||||
)
|
)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGNovaGloveSensorDataImpl::FNovaGloveSensorDataType& FSGNovaGloveSensorDataImpl::ToNovaGloveSensorData(
|
const FSGNovaGloveSensorDataImpl::FNovaGloveSensorDataType& FSGNovaGloveSensorDataImpl::ToNovaGloveSensorData(
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2022 SenseGlove
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
@@ -127,43 +127,43 @@ bool FSGQuatImpl::Deserialize(const FString& String, FSGQuatImpl& OutResult, con
|
|||||||
|
|
||||||
FSGQuatImpl::FSGQuatImpl()
|
FSGQuatImpl::FSGQuatImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGQuatImpl::FSGQuatImpl(const float X, const float Y, const float Z, const float W)
|
FSGQuatImpl::FSGQuatImpl(const float X, const float Y, const float Z, const float W)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Quat = FQuatType(X, Y, Z, W);
|
Pimpl->Quat = FQuatType(X, Y, Z, W);
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGQuatImpl::FSGQuatImpl(const FQuatType& Quat)
|
FSGQuatImpl::FSGQuatImpl(const FQuatType& Quat)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Quat = Quat;
|
Pimpl->Quat = Quat;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGQuatImpl::FSGQuatImpl(const FQuat& Quat)
|
FSGQuatImpl::FSGQuatImpl(const FQuat& Quat)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
/// NOTE
|
/// NOTE
|
||||||
/// Unreal Engine uses a left-handed, z-up world coordinate system, which yealds clockwise rotations:
|
/// Unreal Engine uses a left-handed, z-up world coordinate system, which yealds clockwise rotations:
|
||||||
@@ -179,19 +179,19 @@ FSGQuatImpl::FSGQuatImpl(const FQuat& Quat)
|
|||||||
|
|
||||||
FSGQuatImpl::FSGQuatImpl(const FSGQuatImpl& Rhs)
|
FSGQuatImpl::FSGQuatImpl(const FSGQuatImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGQuatImpl::FSGQuatImpl(FSGQuatImpl&& Rhs)
|
FSGQuatImpl::FSGQuatImpl(FSGQuatImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGQuatImpl::~FSGQuatImpl() = default;
|
FSGQuatImpl::~FSGQuatImpl() = default;
|
||||||
@@ -204,9 +204,9 @@ FSGQuatImpl& FSGQuatImpl::operator=(const FSGQuatImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGQuatImpl& FSGQuatImpl::operator=(FSGQuatImpl&& Rhs)
|
FSGQuatImpl& FSGQuatImpl::operator=(FSGQuatImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGQuatImpl::FQuatType& FSGQuatImpl::ToQuat() const
|
const FSGQuatImpl::FQuatType& FSGQuatImpl::ToQuat() const
|
||||||
|
|||||||
@@ -41,6 +41,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
class FSGVect3DImpl;
|
class FSGVect3DImpl;
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -107,9 +109,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGQuatImpl(FSGQuatImpl&& Rhs)
|
FSGQuatImpl(FSGQuatImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -128,9 +130,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGQuatImpl& operator=(FSGQuatImpl&& Rhs)
|
FSGQuatImpl& operator=(FSGQuatImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -100,11 +100,11 @@ const FVector& FSGSenseGloveHandProfileImpl::GetDefaultThimbleOffset()
|
|||||||
|
|
||||||
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl()
|
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -114,11 +114,11 @@ FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(const bool bRightHand
|
|||||||
const ESGFingerSolver FingerSolver,
|
const ESGFingerSolver FingerSolver,
|
||||||
const TArray<FVector>& FingerThimbleOffset)
|
const TArray<FVector>& FingerThimbleOffset)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<FSGVect3DImpl::FVect3DType> FingerThimbleOffsetVector{
|
std::vector<FSGVect3DImpl::FVect3DType> FingerThimbleOffsetVector{
|
||||||
FSGArrayUtils::ToMillimeters<FSGVect3DImpl::FVect3DType, FSGVect3DImpl>(FingerThimbleOffset)
|
FSGArrayUtils::ToMillimeters<FSGVect3DImpl::FVect3DType, FSGVect3DImpl>(FingerThimbleOffset)
|
||||||
@@ -132,30 +132,30 @@ FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(const bool bRightHand
|
|||||||
|
|
||||||
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(const FSenseGloveHandProfileType& SenseGloveHandProfile)
|
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(const FSenseGloveHandProfileType& SenseGloveHandProfile)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->SenseGloveHandProfile = SenseGloveHandProfile;
|
Pimpl->SenseGloveHandProfile = SenseGloveHandProfile;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(const FSGSenseGloveHandProfileImpl& Rhs)
|
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(const FSGSenseGloveHandProfileImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(FSGSenseGloveHandProfileImpl&& Rhs)
|
FSGSenseGloveHandProfileImpl::FSGSenseGloveHandProfileImpl(FSGSenseGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGSenseGloveHandProfileImpl::~FSGSenseGloveHandProfileImpl() = default;
|
FSGSenseGloveHandProfileImpl::~FSGSenseGloveHandProfileImpl() = default;
|
||||||
@@ -168,9 +168,9 @@ FSGSenseGloveHandProfileImpl& FSGSenseGloveHandProfileImpl::operator=(const FSGS
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveHandProfileImpl& FSGSenseGloveHandProfileImpl::operator=(FSGSenseGloveHandProfileImpl&& Rhs)
|
FSGSenseGloveHandProfileImpl& FSGSenseGloveHandProfileImpl::operator=(FSGSenseGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGSenseGloveHandProfileImpl::FSenseGloveHandProfileType& FSGSenseGloveHandProfileImpl::ToSenseGloveHandProfile(
|
const FSGSenseGloveHandProfileImpl::FSenseGloveHandProfileType& FSGSenseGloveHandProfileImpl::ToSenseGloveHandProfile(
|
||||||
|
|||||||
@@ -248,59 +248,59 @@ void FSGSenseGloveImpl::CalculateWristLocation(const FVector& ReferencePosition,
|
|||||||
|
|
||||||
FSGSenseGloveImpl::FSGSenseGloveImpl()
|
FSGSenseGloveImpl::FSGSenseGloveImpl()
|
||||||
: FSGHapticGloveImpl(),
|
: FSGHapticGloveImpl(),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSGSenseGloveInfoImpl& Model)
|
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSGSenseGloveInfoImpl& Model)
|
||||||
: FSGHapticGloveImpl(std::make_shared<FSenseGloveType>(Model.ToSenseGloveInfo())),
|
: FSGHapticGloveImpl(std::make_shared<FSenseGloveType>(Model.ToSenseGloveInfo())),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSenseGloveType SenseGlove)
|
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSenseGloveType SenseGlove)
|
||||||
: FSGHapticGloveImpl(std::make_shared<FSenseGloveType>(SenseGlove)),
|
: FSGHapticGloveImpl(std::make_shared<FSenseGloveType>(SenseGlove)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSenseGlovePtrType SenseGlove)
|
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSenseGlovePtrType SenseGlove)
|
||||||
: FSGHapticGloveImpl(std::dynamic_pointer_cast<FHapticGloveType>(SenseGlove)),
|
: FSGHapticGloveImpl(std::dynamic_pointer_cast<FHapticGloveType>(SenseGlove)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSGSenseGloveImpl& Rhs)
|
FSGSenseGloveImpl::FSGSenseGloveImpl(const FSGSenseGloveImpl& Rhs)
|
||||||
: FSGHapticGloveImpl(Rhs),
|
: FSGHapticGloveImpl(Rhs),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveImpl::FSGSenseGloveImpl(FSGSenseGloveImpl&& Rhs)
|
FSGSenseGloveImpl::FSGSenseGloveImpl(FSGSenseGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGSenseGloveImpl::~FSGSenseGloveImpl() = default;
|
FSGSenseGloveImpl::~FSGSenseGloveImpl() = default;
|
||||||
@@ -314,9 +314,9 @@ FSGSenseGloveImpl& FSGSenseGloveImpl::operator=(const FSGSenseGloveImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveImpl& FSGSenseGloveImpl::operator=(FSGSenseGloveImpl&& Rhs)
|
FSGSenseGloveImpl& FSGSenseGloveImpl::operator=(FSGSenseGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGSenseGloveImpl::FSenseGloveType& FSGSenseGloveImpl::ToSenseGlove() const
|
const FSGSenseGloveImpl::FSenseGloveType& FSGSenseGloveImpl::ToSenseGlove() const
|
||||||
|
|||||||
@@ -99,11 +99,11 @@ FSGSenseGloveInfoImpl FSGSenseGloveInfoImpl::Deserialize(const FString& Serializ
|
|||||||
|
|
||||||
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl()
|
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -117,11 +117,11 @@ FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(const FString& DeviceId,
|
|||||||
const TArray<TArray<FVector>>& GloveLengths,
|
const TArray<TArray<FVector>>& GloveLengths,
|
||||||
const TArray<bool>& Functions)
|
const TArray<bool>& Functions)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::string DeviceIdString(TCHAR_TO_UTF8(*DeviceId));
|
std::string DeviceIdString(TCHAR_TO_UTF8(*DeviceId));
|
||||||
std::string HardwareVersionString(TCHAR_TO_UTF8(*HardwareVersion));
|
std::string HardwareVersionString(TCHAR_TO_UTF8(*HardwareVersion));
|
||||||
@@ -151,30 +151,30 @@ FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(const FString& DeviceId,
|
|||||||
|
|
||||||
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(const FSenseGloveInfoType& GloveInfo)
|
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(const FSenseGloveInfoType& GloveInfo)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->SenseGloveInfo = GloveInfo;
|
Pimpl->SenseGloveInfo = GloveInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(const FSGSenseGloveInfoImpl& Rhs)
|
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(const FSGSenseGloveInfoImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(FSGSenseGloveInfoImpl&& Rhs)
|
FSGSenseGloveInfoImpl::FSGSenseGloveInfoImpl(FSGSenseGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGSenseGloveInfoImpl::~FSGSenseGloveInfoImpl() = default;
|
FSGSenseGloveInfoImpl::~FSGSenseGloveInfoImpl() = default;
|
||||||
@@ -187,9 +187,9 @@ FSGSenseGloveInfoImpl& FSGSenseGloveInfoImpl::operator=(const FSGSenseGloveInfoI
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveInfoImpl& FSGSenseGloveInfoImpl::operator=(FSGSenseGloveInfoImpl&& Rhs)
|
FSGSenseGloveInfoImpl& FSGSenseGloveInfoImpl::operator=(FSGSenseGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGSenseGloveInfoImpl::FSenseGloveInfoType& FSGSenseGloveInfoImpl::ToSenseGloveInfo() const
|
const FSGSenseGloveInfoImpl::FSenseGloveInfoType& FSGSenseGloveInfoImpl::ToSenseGloveInfo() const
|
||||||
|
|||||||
@@ -94,11 +94,11 @@ FSGSenseGlovePoseImpl FSGSenseGlovePoseImpl::Deserialize(const FString& Serializ
|
|||||||
|
|
||||||
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl()
|
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -106,11 +106,11 @@ FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(const bool bRightHanded, const TArr
|
|||||||
const TArray<TArray<FQuat>>& JointRotations,
|
const TArray<TArray<FQuat>>& JointRotations,
|
||||||
const TArray<TArray<FVector>>& GloveAngles)
|
const TArray<TArray<FVector>>& GloveAngles)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<std::vector<FSGVect3DImpl::FVect3DType>> JointPositionsVector{
|
std::vector<std::vector<FSGVect3DImpl::FVect3DType>> JointPositionsVector{
|
||||||
FSGArrayUtils::ToMillimeters<FSGVect3DImpl::FVect3DType, FSGVect3DImpl>(JointPositions)
|
FSGArrayUtils::ToMillimeters<FSGVect3DImpl::FVect3DType, FSGVect3DImpl>(JointPositions)
|
||||||
@@ -130,30 +130,30 @@ FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(const bool bRightHanded, const TArr
|
|||||||
|
|
||||||
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(const FSenseGlovePoseType& SenseGlovePose)
|
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(const FSenseGlovePoseType& SenseGlovePose)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->SenseGlovePose = SenseGlovePose;
|
Pimpl->SenseGlovePose = SenseGlovePose;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(const FSGSenseGlovePoseImpl& Rhs)
|
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(const FSGSenseGlovePoseImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(FSGSenseGlovePoseImpl&& Rhs)
|
FSGSenseGlovePoseImpl::FSGSenseGlovePoseImpl(FSGSenseGlovePoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGSenseGlovePoseImpl::~FSGSenseGlovePoseImpl() = default;
|
FSGSenseGlovePoseImpl::~FSGSenseGlovePoseImpl() = default;
|
||||||
@@ -166,9 +166,9 @@ FSGSenseGlovePoseImpl& FSGSenseGlovePoseImpl::operator=(const FSGSenseGlovePoseI
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGlovePoseImpl& FSGSenseGlovePoseImpl::operator=(FSGSenseGlovePoseImpl&& Rhs)
|
FSGSenseGlovePoseImpl& FSGSenseGlovePoseImpl::operator=(FSGSenseGlovePoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGSenseGlovePoseImpl::FSenseGlovePoseType& FSGSenseGlovePoseImpl::ToSenseGlovePose() const
|
const FSGSenseGlovePoseImpl::FSenseGlovePoseType& FSGSenseGlovePoseImpl::ToSenseGlovePose() const
|
||||||
|
|||||||
@@ -101,11 +101,11 @@ FSGSenseGloveSensorDataImpl FSGSenseGloveSensorDataImpl::Deserialize(const FStri
|
|||||||
|
|
||||||
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl()
|
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,11 +113,11 @@ FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(const TArray<TArray<flo
|
|||||||
const FQuat& ImuRotation,
|
const FQuat& ImuRotation,
|
||||||
const int32 ParsedValues, const bool bImuParsed)
|
const int32 ParsedValues, const bool bImuParsed)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<std::vector<float>> SensorAnglesVector{FSGArrayUtils::ToStdVector<float>(SensorAngles)};
|
std::vector<std::vector<float>> SensorAnglesVector{FSGArrayUtils::ToStdVector<float>(SensorAngles)};
|
||||||
Pimpl->SenseGloveSensorData = FSenseGloveSensorDataType(
|
Pimpl->SenseGloveSensorData = FSenseGloveSensorDataType(
|
||||||
@@ -126,30 +126,30 @@ FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(const TArray<TArray<flo
|
|||||||
|
|
||||||
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(const FSenseGloveSensorDataType& SenseGloveSensorData)
|
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(const FSenseGloveSensorDataType& SenseGloveSensorData)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->SenseGloveSensorData = SenseGloveSensorData;
|
Pimpl->SenseGloveSensorData = SenseGloveSensorData;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(const FSGSenseGloveSensorDataImpl& Rhs)
|
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(const FSGSenseGloveSensorDataImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(FSGSenseGloveSensorDataImpl&& Rhs)
|
FSGSenseGloveSensorDataImpl::FSGSenseGloveSensorDataImpl(FSGSenseGloveSensorDataImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGSenseGloveSensorDataImpl::~FSGSenseGloveSensorDataImpl() = default;
|
FSGSenseGloveSensorDataImpl::~FSGSenseGloveSensorDataImpl() = default;
|
||||||
@@ -163,9 +163,9 @@ FSGSenseGloveSensorDataImpl& FSGSenseGloveSensorDataImpl::operator=(const FSGSen
|
|||||||
|
|
||||||
FSGSenseGloveSensorDataImpl& FSGSenseGloveSensorDataImpl::operator=(FSGSenseGloveSensorDataImpl&& Rhs
|
FSGSenseGloveSensorDataImpl& FSGSenseGloveSensorDataImpl::operator=(FSGSenseGloveSensorDataImpl&& Rhs
|
||||||
)
|
)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGSenseGloveSensorDataImpl::FSenseGloveSensorDataType& FSGSenseGloveSensorDataImpl::ToSenseGloveSensorData(
|
const FSGSenseGloveSensorDataImpl::FSenseGloveSensorDataType& FSGSenseGloveSensorDataImpl::ToSenseGloveSensorData(
|
||||||
|
|||||||
@@ -106,21 +106,21 @@ void FSGSensorRangeImpl::CheckMin(const FVector& CurrentValues, FVector& OutMinV
|
|||||||
|
|
||||||
FSGSensorRangeImpl::FSGSensorRangeImpl()
|
FSGSensorRangeImpl::FSGSensorRangeImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSensorRangeImpl::FSGSensorRangeImpl(const TArray<FVector>& MinValues, const TArray<FVector>& MaxValues)
|
FSGSensorRangeImpl::FSGSensorRangeImpl(const TArray<FVector>& MinValues, const TArray<FVector>& MaxValues)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
std::vector<FSGVect3DImpl::FVect3DType> MinValuesVector(
|
std::vector<FSGVect3DImpl::FVect3DType> MinValuesVector(
|
||||||
FSGArrayUtils::ToStdVector<FVector, FSGVect3DImpl::FVect3DType, FSGVect3DImpl, &FSGVect3DImpl::ToVect3D>(
|
FSGArrayUtils::ToStdVector<FVector, FSGVect3DImpl::FVect3DType, FSGVect3DImpl, &FSGVect3DImpl::ToVect3D>(
|
||||||
@@ -133,30 +133,30 @@ FSGSensorRangeImpl::FSGSensorRangeImpl(const TArray<FVector>& MinValues, const T
|
|||||||
|
|
||||||
FSGSensorRangeImpl::FSGSensorRangeImpl(const FSensorRangeType& SensorRange)
|
FSGSensorRangeImpl::FSGSensorRangeImpl(const FSensorRangeType& SensorRange)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->SensorRange = SensorRange;
|
Pimpl->SensorRange = SensorRange;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSensorRangeImpl::FSGSensorRangeImpl(const FSGSensorRangeImpl& Rhs)
|
FSGSensorRangeImpl::FSGSensorRangeImpl(const FSGSensorRangeImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGSensorRangeImpl::FSGSensorRangeImpl(FSGSensorRangeImpl&& Rhs)
|
FSGSensorRangeImpl::FSGSensorRangeImpl(FSGSensorRangeImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGSensorRangeImpl::~FSGSensorRangeImpl() = default;
|
FSGSensorRangeImpl::~FSGSensorRangeImpl() = default;
|
||||||
@@ -169,9 +169,9 @@ FSGSensorRangeImpl& FSGSensorRangeImpl::operator=(const FSGSensorRangeImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGSensorRangeImpl& FSGSensorRangeImpl::operator=(FSGSensorRangeImpl&& Rhs)
|
FSGSensorRangeImpl& FSGSensorRangeImpl::operator=(FSGSensorRangeImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGSensorRangeImpl::FSensorRangeType& FSGSensorRangeImpl::ToSensorRange() const
|
const FSGSensorRangeImpl::FSensorRangeType& FSGSensorRangeImpl::ToSensorRange() const
|
||||||
|
|||||||
@@ -76,51 +76,51 @@ const FSGThumperCommandImpl& FSGThumperCommandImpl::Off()
|
|||||||
|
|
||||||
FSGThumperCommandImpl::FSGThumperCommandImpl()
|
FSGThumperCommandImpl::FSGThumperCommandImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGThumperCommandImpl::FSGThumperCommandImpl(const int32 Magnitude)
|
FSGThumperCommandImpl::FSGThumperCommandImpl(const int32 Magnitude)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->ThumperCommand = FThumperCommandType(Magnitude);
|
Pimpl->ThumperCommand = FThumperCommandType(Magnitude);
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGThumperCommandImpl::FSGThumperCommandImpl(const FThumperCommandType& ThumperCommand)
|
FSGThumperCommandImpl::FSGThumperCommandImpl(const FThumperCommandType& ThumperCommand)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->ThumperCommand = ThumperCommand;
|
Pimpl->ThumperCommand = ThumperCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGThumperCommandImpl::FSGThumperCommandImpl(const FSGThumperCommandImpl& Rhs)
|
FSGThumperCommandImpl::FSGThumperCommandImpl(const FSGThumperCommandImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGThumperCommandImpl::FSGThumperCommandImpl(FSGThumperCommandImpl&& Rhs)
|
FSGThumperCommandImpl::FSGThumperCommandImpl(FSGThumperCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGThumperCommandImpl::~FSGThumperCommandImpl() = default;
|
FSGThumperCommandImpl::~FSGThumperCommandImpl() = default;
|
||||||
@@ -133,9 +133,9 @@ FSGThumperCommandImpl& FSGThumperCommandImpl::operator=(const FSGThumperCommandI
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGThumperCommandImpl& FSGThumperCommandImpl::operator=(FSGThumperCommandImpl&& Rhs)
|
FSGThumperCommandImpl& FSGThumperCommandImpl::operator=(FSGThumperCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGThumperCommandImpl::FThumperCommandType& FSGThumperCommandImpl::ToThumperCommand() const
|
const FSGThumperCommandImpl::FThumperCommandType& FSGThumperCommandImpl::ToThumperCommand() const
|
||||||
|
|||||||
@@ -69,11 +69,11 @@ struct FSGTimedBuzzCommandImpl::FImpl
|
|||||||
|
|
||||||
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl()
|
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl()
|
||||||
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>()),
|
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>()),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -81,11 +81,11 @@ FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const ESGFinger Finger, const i
|
|||||||
const float DurationSeconds, const float StartTimeSeconds)
|
const float DurationSeconds, const float StartTimeSeconds)
|
||||||
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>(FSGCoreEnumCast::ToEFinger(Finger), Magnitude,
|
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>(FSGCoreEnumCast::ToEFinger(Finger), Magnitude,
|
||||||
DurationSeconds, StartTimeSeconds)),
|
DurationSeconds, StartTimeSeconds)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -93,49 +93,49 @@ FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const FSGBuzzCommandImpl& BaseC
|
|||||||
const float DurationSeconds, const float StartTimeSeconds)
|
const float DurationSeconds, const float StartTimeSeconds)
|
||||||
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>(
|
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>(
|
||||||
BaseCommand.ToBuzzCommand(), DurationSeconds, StartTimeSeconds)),
|
BaseCommand.ToBuzzCommand(), DurationSeconds, StartTimeSeconds)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const FTimedBuzzCommandType& TimedBuzzCommand)
|
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const FTimedBuzzCommandType& TimedBuzzCommand)
|
||||||
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>(TimedBuzzCommand)),
|
: FSGBuzzCommandImpl(MakeShared<FTimedBuzzCommandType>(TimedBuzzCommand)),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const TSharedRef<FTimedBuzzCommandType> TimedBuzzCommand)
|
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const TSharedRef<FTimedBuzzCommandType> TimedBuzzCommand)
|
||||||
: FSGBuzzCommandImpl(TimedBuzzCommand),
|
: FSGBuzzCommandImpl(TimedBuzzCommand),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const FSGTimedBuzzCommandImpl& Rhs)
|
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(const FSGTimedBuzzCommandImpl& Rhs)
|
||||||
: FSGBuzzCommandImpl(Rhs),
|
: FSGBuzzCommandImpl(Rhs),
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(FSGTimedBuzzCommandImpl&& Rhs)
|
FSGTimedBuzzCommandImpl::FSGTimedBuzzCommandImpl(FSGTimedBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGTimedBuzzCommandImpl::~FSGTimedBuzzCommandImpl() = default;
|
FSGTimedBuzzCommandImpl::~FSGTimedBuzzCommandImpl() = default;
|
||||||
@@ -149,9 +149,9 @@ FSGTimedBuzzCommandImpl& FSGTimedBuzzCommandImpl::operator=(const FSGTimedBuzzCo
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedBuzzCommandImpl& FSGTimedBuzzCommandImpl::operator=(FSGTimedBuzzCommandImpl&& Rhs)
|
FSGTimedBuzzCommandImpl& FSGTimedBuzzCommandImpl::operator=(FSGTimedBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGTimedBuzzCommandImpl::FTimedBuzzCommandType& FSGTimedBuzzCommandImpl::ToTimedBuzzCommand() const
|
const FSGTimedBuzzCommandImpl::FTimedBuzzCommandType& FSGTimedBuzzCommandImpl::ToTimedBuzzCommand() const
|
||||||
|
|||||||
@@ -72,22 +72,22 @@ struct FSGTimedThumpCommandImpl::FImpl
|
|||||||
|
|
||||||
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl()
|
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const int32 Magnitude,
|
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const int32 Magnitude,
|
||||||
const float DurationSeconds, const float StartTimeSeconds)
|
const float DurationSeconds, const float StartTimeSeconds)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->TimedThumpCommand = FTimedThumpCommandType(Magnitude, DurationSeconds, StartTimeSeconds);
|
Pimpl->TimedThumpCommand = FTimedThumpCommandType(Magnitude, DurationSeconds, StartTimeSeconds);
|
||||||
}
|
}
|
||||||
@@ -95,11 +95,11 @@ FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const int32 Magnitude,
|
|||||||
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const FSGThumperCommandImpl& BaseCommand,
|
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const FSGThumperCommandImpl& BaseCommand,
|
||||||
const float DurationSeconds, const float StartTimeSeconds)
|
const float DurationSeconds, const float StartTimeSeconds)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->TimedThumpCommand = FTimedThumpCommandType(BaseCommand.ToThumperCommand(), DurationSeconds,
|
Pimpl->TimedThumpCommand = FTimedThumpCommandType(BaseCommand.ToThumperCommand(), DurationSeconds,
|
||||||
StartTimeSeconds);
|
StartTimeSeconds);
|
||||||
@@ -107,30 +107,30 @@ FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const FSGThumperCommandImpl&
|
|||||||
|
|
||||||
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const FTimedThumpCommandType& SGTimedThumpCommand)
|
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const FTimedThumpCommandType& SGTimedThumpCommand)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->TimedThumpCommand = SGTimedThumpCommand;
|
Pimpl->TimedThumpCommand = SGTimedThumpCommand;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const FSGTimedThumpCommandImpl& Rhs)
|
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(const FSGTimedThumpCommandImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(FSGTimedThumpCommandImpl&& Rhs)
|
FSGTimedThumpCommandImpl::FSGTimedThumpCommandImpl(FSGTimedThumpCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGTimedThumpCommandImpl::~FSGTimedThumpCommandImpl() = default;
|
FSGTimedThumpCommandImpl::~FSGTimedThumpCommandImpl() = default;
|
||||||
@@ -143,9 +143,9 @@ FSGTimedThumpCommandImpl& FSGTimedThumpCommandImpl::operator=(const FSGTimedThum
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGTimedThumpCommandImpl& FSGTimedThumpCommandImpl::operator=(FSGTimedThumpCommandImpl&& Rhs)
|
FSGTimedThumpCommandImpl& FSGTimedThumpCommandImpl::operator=(FSGTimedThumpCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGTimedThumpCommandImpl::FTimedThumpCommandType& FSGTimedThumpCommandImpl::ToTimedThumpCommand() const
|
const FSGTimedThumpCommandImpl::FTimedThumpCommandType& FSGTimedThumpCommandImpl::ToTimedThumpCommand() const
|
||||||
|
|||||||
@@ -85,43 +85,43 @@ bool FSGVect3DImpl::Deserialize(const FString& String, FSGVect3DImpl& OutResult,
|
|||||||
|
|
||||||
FSGVect3DImpl::FSGVect3DImpl()
|
FSGVect3DImpl::FSGVect3DImpl()
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGVect3DImpl::FSGVect3DImpl(const float X, const float Y, const float Z)
|
FSGVect3DImpl::FSGVect3DImpl(const float X, const float Y, const float Z)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Vect3D = FVect3DType(X, Y, Z);
|
Pimpl->Vect3D = FVect3DType(X, Y, Z);
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGVect3DImpl::FSGVect3DImpl(const FVect3DType& Vect3D)
|
FSGVect3DImpl::FSGVect3DImpl(const FVect3DType& Vect3D)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Vect3D = Vect3D;
|
Pimpl->Vect3D = Vect3D;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGVect3DImpl::FSGVect3DImpl(const FVector& Vector)
|
FSGVect3DImpl::FSGVect3DImpl(const FVector& Vector)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
/// NOTE
|
/// NOTE
|
||||||
/// Unreal Engine uses a left-handed, z-up world coordinate system, which yealds clockwise rotations:
|
/// Unreal Engine uses a left-handed, z-up world coordinate system, which yealds clockwise rotations:
|
||||||
@@ -139,19 +139,19 @@ FSGVect3DImpl::FSGVect3DImpl(const FVector& Vector)
|
|||||||
|
|
||||||
FSGVect3DImpl::FSGVect3DImpl(const FSGVect3DImpl& Rhs)
|
FSGVect3DImpl::FSGVect3DImpl(const FSGVect3DImpl& Rhs)
|
||||||
:
|
:
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}, PimplDeleter))
|
||||||
#else
|
#else
|
||||||
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{*Rhs.Pimpl}))
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
{
|
{
|
||||||
Pimpl->Owner = this;
|
Pimpl->Owner = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
FSGVect3DImpl::FSGVect3DImpl(FSGVect3DImpl&& Rhs)
|
FSGVect3DImpl::FSGVect3DImpl(FSGVect3DImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
FSGVect3DImpl::~FSGVect3DImpl() = default;
|
FSGVect3DImpl::~FSGVect3DImpl() = default;
|
||||||
@@ -164,9 +164,9 @@ FSGVect3DImpl& FSGVect3DImpl::operator=(const FSGVect3DImpl& Rhs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FSGVect3DImpl& FSGVect3DImpl::operator=(FSGVect3DImpl&& Rhs)
|
FSGVect3DImpl& FSGVect3DImpl::operator=(FSGVect3DImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
= default;
|
= default;
|
||||||
|
|
||||||
const FSGVect3DImpl::FVect3DType& FSGVect3DImpl::ToVect3D() const
|
const FSGVect3DImpl::FVect3DType& FSGVect3DImpl::ToVect3D() const
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Kinematics
|
namespace Kinematics
|
||||||
@@ -107,9 +109,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGVect3DImpl(FSGVect3DImpl&& Rhs)
|
FSGVect3DImpl(FSGVect3DImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -128,9 +130,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGVect3DImpl& operator=(FSGVect3DImpl&& Rhs)
|
FSGVect3DImpl& operator=(FSGVect3DImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -104,9 +105,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGBasicHandModelImpl(FSGBasicHandModelImpl&& Rhs)
|
FSGBasicHandModelImpl(FSGBasicHandModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -125,9 +126,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGBasicHandModelImpl& operator=(FSGBasicHandModelImpl&& Rhs)
|
FSGBasicHandModelImpl& operator=(FSGBasicHandModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGDeviceImpl.h"
|
#include "SGCoreImpl/SGDeviceImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -106,9 +107,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGBetaDeviceImpl(FSGBetaDeviceImpl&& Rhs)
|
FSGBetaDeviceImpl(FSGBetaDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -127,9 +128,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGBetaDeviceImpl& operator=(FSGBetaDeviceImpl&& Rhs)
|
FSGBetaDeviceImpl& operator=(FSGBetaDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGFingerCommandImpl.h"
|
#include "SGCoreImpl/SGFingerCommandImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -101,9 +102,9 @@ public:
|
|||||||
* The move constructor
|
* The move constructor
|
||||||
*/
|
*/
|
||||||
FSGBuzzCommandImpl(FSGBuzzCommandImpl&& Rhs)
|
FSGBuzzCommandImpl(FSGBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -122,9 +123,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGBuzzCommandImpl& operator=(FSGBuzzCommandImpl&& Rhs)
|
FSGBuzzCommandImpl& operator=(FSGBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Calibration
|
namespace Calibration
|
||||||
@@ -84,9 +86,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGCalibrationDataPointImpl(FSGCalibrationDataPointImpl&& Rhs)
|
FSGCalibrationDataPointImpl(FSGCalibrationDataPointImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -105,9 +107,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGCalibrationDataPointImpl& operator=(FSGCalibrationDataPointImpl&& Rhs)
|
FSGCalibrationDataPointImpl& operator=(FSGCalibrationDataPointImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
#include "Templates/SharedPointer.h"
|
#include "Templates/SharedPointer.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -97,9 +98,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGDeviceImpl(FSGDeviceImpl&& Rhs)
|
FSGDeviceImpl(FSGDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -118,9 +119,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGDeviceImpl& operator=(FSGDeviceImpl&& Rhs)
|
FSGDeviceImpl& operator=(FSGDeviceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
class DeviceModel;
|
class DeviceModel;
|
||||||
@@ -87,9 +89,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGDeviceModelImpl(FSGDeviceModelImpl&& Rhs)
|
FSGDeviceModelImpl(FSGDeviceModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -108,9 +110,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGDeviceModelImpl& operator=(FSGDeviceModelImpl&& Rhs)
|
FSGDeviceModelImpl& operator=(FSGDeviceModelImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -41,6 +41,8 @@
|
|||||||
#include "Templates/SharedPointer.h"
|
#include "Templates/SharedPointer.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Haptics
|
namespace Haptics
|
||||||
@@ -95,9 +97,9 @@ public:
|
|||||||
* The move constructor
|
* The move constructor
|
||||||
*/
|
*/
|
||||||
FSGFingerCommandImpl(FSGFingerCommandImpl&& Rhs)
|
FSGFingerCommandImpl(FSGFingerCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -116,9 +118,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGFingerCommandImpl& operator=(FSGFingerCommandImpl&& Rhs)
|
FSGFingerCommandImpl& operator=(FSGFingerCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGFingerCommandImpl.h"
|
#include "SGCoreImpl/SGFingerCommandImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -101,9 +102,9 @@ public:
|
|||||||
* The move constructor
|
* The move constructor
|
||||||
*/
|
*/
|
||||||
FSGForceFeedbackCommandImpl(FSGForceFeedbackCommandImpl&& Rhs)
|
FSGForceFeedbackCommandImpl(FSGForceFeedbackCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -122,9 +123,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGForceFeedbackCommandImpl& operator=(FSGForceFeedbackCommandImpl&& Rhs)
|
FSGForceFeedbackCommandImpl& operator=(FSGForceFeedbackCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
class FSGInterpolationSetImpl;
|
class FSGInterpolationSetImpl;
|
||||||
@@ -108,9 +109,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHandInterpolatorImpl(FSGHandInterpolatorImpl&& Rhs)
|
FSGHandInterpolatorImpl(FSGHandInterpolatorImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -129,9 +130,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHandInterpolatorImpl& operator=(FSGHandInterpolatorImpl&& Rhs)
|
FSGHandInterpolatorImpl& operator=(FSGHandInterpolatorImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
class FSGHandInterpolatorImpl;
|
class FSGHandInterpolatorImpl;
|
||||||
@@ -113,9 +114,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHandPoseImpl(FSGHandPoseImpl&& Rhs)
|
FSGHandPoseImpl(FSGHandPoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -134,9 +135,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHandPoseImpl& operator=(FSGHandPoseImpl&& Rhs)
|
FSGHandPoseImpl& operator=(FSGHandPoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
class FSGHandInterpolatorImpl;
|
class FSGHandInterpolatorImpl;
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -110,9 +112,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHandProfileImpl(FSGHandProfileImpl&& Rhs)
|
FSGHandProfileImpl(FSGHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -131,9 +133,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHandProfileImpl& operator=(FSGHandProfileImpl&& Rhs)
|
FSGHandProfileImpl& operator=(FSGHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -114,9 +115,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveCalibrationCheckImpl(FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
FSGHapticGloveCalibrationCheckImpl(FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -135,9 +136,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveCalibrationCheckImpl& operator=(FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
FSGHapticGloveCalibrationCheckImpl& operator=(FSGHapticGloveCalibrationCheckImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGHapticGloveCalibrationSequenceImpl.h"
|
#include "SGCoreImpl/SGHapticGloveCalibrationSequenceImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -112,9 +112,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveCalibrationSequenceImpl(FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
FSGHapticGloveCalibrationSequenceImpl(FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -133,9 +133,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveCalibrationSequenceImpl& operator=(FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
FSGHapticGloveCalibrationSequenceImpl& operator=(FSGHapticGloveCalibrationSequenceImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -98,9 +99,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveCommandBufferImpl(FSGHapticGloveCommandBufferImpl&& Rhs)
|
FSGHapticGloveCommandBufferImpl(FSGHapticGloveCommandBufferImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -119,9 +120,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveCommandBufferImpl& operator=(FSGHapticGloveCommandBufferImpl&& Rhs)
|
FSGHapticGloveCommandBufferImpl& operator=(FSGHapticGloveCommandBufferImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGDeviceImpl.h"
|
#include "SGCoreImpl/SGDeviceImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -112,9 +113,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveImpl(FSGHapticGloveImpl&& Rhs)
|
FSGHapticGloveImpl(FSGHapticGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -133,9 +134,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveImpl& operator=(FSGHapticGloveImpl&& Rhs)
|
FSGHapticGloveImpl& operator=(FSGHapticGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGHapticGloveCalibrationSequenceImpl.h"
|
#include "SGCoreImpl/SGHapticGloveCalibrationSequenceImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
@@ -96,9 +97,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveQuickCalibrationImpl(FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
FSGHapticGloveQuickCalibrationImpl(FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -117,9 +118,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGHapticGloveQuickCalibrationImpl& operator=(FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
FSGHapticGloveQuickCalibrationImpl& operator=(FSGHapticGloveQuickCalibrationImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Kinematics
|
namespace Kinematics
|
||||||
@@ -89,9 +91,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGInterpolationSetImpl(FSGInterpolationSetImpl&& Rhs)
|
FSGInterpolationSetImpl(FSGInterpolationSetImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -110,9 +112,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGInterpolationSetImpl& operator=(FSGInterpolationSetImpl&& Rhs)
|
FSGInterpolationSetImpl& operator=(FSGInterpolationSetImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
class FSGHandInterpolatorImpl;
|
class FSGHandInterpolatorImpl;
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -91,9 +93,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveHandProfileImpl(FSGNovaGloveHandProfileImpl&& Rhs)
|
FSGNovaGloveHandProfileImpl(FSGNovaGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -112,9 +114,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveHandProfileImpl& operator=(FSGNovaGloveHandProfileImpl&& Rhs)
|
FSGNovaGloveHandProfileImpl& operator=(FSGNovaGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGHapticGloveImpl.h"
|
#include "SGCoreImpl/SGHapticGloveImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
@@ -158,9 +159,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveImpl(FSGNovaGloveImpl&& Rhs)
|
FSGNovaGloveImpl(FSGNovaGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -179,9 +180,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveImpl& operator=(FSGNovaGloveImpl&& Rhs)
|
FSGNovaGloveImpl& operator=(FSGNovaGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -93,9 +94,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveInfoImpl(FSGNovaGloveInfoImpl&& Rhs)
|
FSGNovaGloveInfoImpl(FSGNovaGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -114,9 +115,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveInfoImpl& operator=(FSGNovaGloveInfoImpl&& Rhs)
|
FSGNovaGloveInfoImpl& operator=(FSGNovaGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Nova
|
namespace Nova
|
||||||
@@ -95,9 +97,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveSensorDataImpl(FSGNovaGloveSensorDataImpl&& Rhs)
|
FSGNovaGloveSensorDataImpl(FSGNovaGloveSensorDataImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -116,9 +118,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGNovaGloveSensorDataImpl& operator=(FSGNovaGloveSensorDataImpl&& Rhs)
|
FSGNovaGloveSensorDataImpl& operator=(FSGNovaGloveSensorDataImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2022 SenseGlove
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#if ( ( defined( _MSVC_LANG ) && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L )
|
||||||
|
#define SG_CPP17 1
|
||||||
|
#else /* ( ( defined( _MSVC_LANG ) && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L ) */
|
||||||
|
#define SG_CPP17 0
|
||||||
|
#endif /* ( ( defined( _MSVC_LANG ) && _MSVC_LANG >= 201703L ) || __cplusplus >= 201703L ) */
|
||||||
@@ -40,6 +40,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
class FSGHandInterpolatorImpl;
|
class FSGHandInterpolatorImpl;
|
||||||
@@ -99,9 +100,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveHandProfileImpl(FSGSenseGloveHandProfileImpl&& Rhs)
|
FSGSenseGloveHandProfileImpl(FSGSenseGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -120,9 +121,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveHandProfileImpl& operator=(FSGSenseGloveHandProfileImpl&& Rhs)
|
FSGSenseGloveHandProfileImpl& operator=(FSGSenseGloveHandProfileImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGHapticGloveImpl.h"
|
#include "SGCoreImpl/SGHapticGloveImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -163,9 +164,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveImpl(FSGSenseGloveImpl&& Rhs)
|
FSGSenseGloveImpl(FSGSenseGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -184,9 +185,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveImpl& operator=(FSGSenseGloveImpl&& Rhs)
|
FSGSenseGloveImpl& operator=(FSGSenseGloveImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -40,6 +40,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -100,9 +101,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveInfoImpl(FSGSenseGloveInfoImpl&& Rhs)
|
FSGSenseGloveInfoImpl(FSGSenseGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -121,9 +122,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveInfoImpl& operator=(FSGSenseGloveInfoImpl&& Rhs)
|
FSGSenseGloveInfoImpl& operator=(FSGSenseGloveInfoImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace SG
|
namespace SG
|
||||||
@@ -96,9 +98,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGSenseGlovePoseImpl(FSGSenseGlovePoseImpl&& Rhs)
|
FSGSenseGlovePoseImpl(FSGSenseGlovePoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -117,9 +119,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGSenseGlovePoseImpl& operator=(FSGSenseGlovePoseImpl&& Rhs)
|
FSGSenseGlovePoseImpl& operator=(FSGSenseGlovePoseImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,7 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -96,9 +97,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveSensorDataImpl(FSGSenseGloveSensorDataImpl&& Rhs)
|
FSGSenseGloveSensorDataImpl(FSGSenseGloveSensorDataImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -117,9 +118,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGSenseGloveSensorDataImpl& operator=(FSGSenseGloveSensorDataImpl&& Rhs)
|
FSGSenseGloveSensorDataImpl& operator=(FSGSenseGloveSensorDataImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Calibration
|
namespace Calibration
|
||||||
@@ -94,9 +96,9 @@ public:
|
|||||||
* The move constructor.
|
* The move constructor.
|
||||||
*/
|
*/
|
||||||
FSGSensorRangeImpl(FSGSensorRangeImpl&& Rhs)
|
FSGSensorRangeImpl(FSGSensorRangeImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -115,9 +117,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGSensorRangeImpl& operator=(FSGSensorRangeImpl&& Rhs)
|
FSGSensorRangeImpl& operator=(FSGSensorRangeImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -39,6 +39,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Haptics
|
namespace Haptics
|
||||||
@@ -86,9 +88,9 @@ public:
|
|||||||
* The move constructor
|
* The move constructor
|
||||||
*/
|
*/
|
||||||
FSGThumperCommandImpl(FSGThumperCommandImpl&& Rhs)
|
FSGThumperCommandImpl(FSGThumperCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -107,9 +109,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGThumperCommandImpl& operator=(FSGThumperCommandImpl&& Rhs)
|
FSGThumperCommandImpl& operator=(FSGThumperCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
#include "SGCoreImpl/SGBuzzCommandImpl.h"
|
#include "SGCoreImpl/SGBuzzCommandImpl.h"
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
#include "SGTypes/SGCoreTypes.h"
|
#include "SGTypes/SGCoreTypes.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
@@ -98,9 +99,9 @@ public:
|
|||||||
* The move constructor
|
* The move constructor
|
||||||
*/
|
*/
|
||||||
FSGTimedBuzzCommandImpl(FSGTimedBuzzCommandImpl&& Rhs)
|
FSGTimedBuzzCommandImpl(FSGTimedBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -119,9 +120,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGTimedBuzzCommandImpl& operator=(FSGTimedBuzzCommandImpl&& Rhs)
|
FSGTimedBuzzCommandImpl& operator=(FSGTimedBuzzCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
#include "Runtime/Launch/Resources/Version.h"
|
#include "Runtime/Launch/Resources/Version.h"
|
||||||
#include "Templates/UniquePtr.h"
|
#include "Templates/UniquePtr.h"
|
||||||
|
|
||||||
|
#include "SGCoreImpl/SGPlatform.h"
|
||||||
|
|
||||||
namespace SGCore
|
namespace SGCore
|
||||||
{
|
{
|
||||||
namespace Haptics
|
namespace Haptics
|
||||||
@@ -91,9 +93,9 @@ public:
|
|||||||
* The move constructor
|
* The move constructor
|
||||||
*/
|
*/
|
||||||
FSGTimedThumpCommandImpl(FSGTimedThumpCommandImpl&& Rhs)
|
FSGTimedThumpCommandImpl(FSGTimedThumpCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@@ -112,9 +114,9 @@ public:
|
|||||||
* The move assignment operator.
|
* The move assignment operator.
|
||||||
*/
|
*/
|
||||||
FSGTimedThumpCommandImpl& operator=(FSGTimedThumpCommandImpl&& Rhs)
|
FSGTimedThumpCommandImpl& operator=(FSGTimedThumpCommandImpl&& Rhs)
|
||||||
#if ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 )
|
#if SG_CPP17
|
||||||
noexcept
|
noexcept
|
||||||
#endif /* ENGINE_MAJOR_VERSION == 5 || ( ENGINE_MAJOR_VERSION == 4 && ENGINE_MINOR_VERSION > 24 ) */
|
#endif /* SG_CPP17 */
|
||||||
;
|
;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -132,6 +132,11 @@ public class SenseGloveCoreImpl : ModuleRules
|
|||||||
case WindowsCompiler.VisualStudio2019:
|
case WindowsCompiler.VisualStudio2019:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||||
|
case WindowsCompiler.VisualStudio2017:
|
||||||
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
Debug.Assert(false, "Unsupported compiler!");
|
Debug.Assert(false, "Unsupported compiler!");
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @author Mamadou Babaei <mamadou@senseglove.com>
|
||||||
|
*
|
||||||
|
* @section LICENSE
|
||||||
|
*
|
||||||
|
* (The MIT License)
|
||||||
|
*
|
||||||
|
* Copyright (c) 2020 - 2022 SenseGlove
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*
|
||||||
|
* @section DESCRIPTION
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include "SGUtils/SGCoordinates.h"
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user