aboutsummaryrefslogtreecommitdiffstats
path: root/support/magicleap/Servo2D/code/inc.gen/SceneDescriptor.h
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2018-09-12 17:21:51 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2018-10-29 08:49:41 -0500
commitdab8f4a97fe8c122d24281ea7c62ccb3c7bba621 (patch)
treefec6a477145188b9dda3713c8ff8992a2f60b030 /support/magicleap/Servo2D/code/inc.gen/SceneDescriptor.h
parente580250d5d99060b0ee8d88e3ff66b6d9ec24050 (diff)
downloadservo-dab8f4a97fe8c122d24281ea7c62ccb3c7bba621.tar.gz
servo-dab8f4a97fe8c122d24281ea7c62ccb3c7bba621.zip
Support building for Magic Leap.
Diffstat (limited to 'support/magicleap/Servo2D/code/inc.gen/SceneDescriptor.h')
-rw-r--r--support/magicleap/Servo2D/code/inc.gen/SceneDescriptor.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/support/magicleap/Servo2D/code/inc.gen/SceneDescriptor.h b/support/magicleap/Servo2D/code/inc.gen/SceneDescriptor.h
new file mode 100644
index 00000000000..db950700a13
--- /dev/null
+++ b/support/magicleap/Servo2D/code/inc.gen/SceneDescriptor.h
@@ -0,0 +1,48 @@
+// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING --
+//
+// THE CONTENTS OF THIS FILE IS GENERATED BY CODE AND
+// ANY MODIFICATIONS WILL BE OVERWRITTEN
+//
+// -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING -- WARNING --
+
+// %BANNER_BEGIN%
+// ---------------------------------------------------------------------
+// %COPYRIGHT_BEGIN%
+//
+// Copyright (c) 2018 Magic Leap, Inc. All Rights Reserved.
+// Use of this file is governed by the Creator Agreement, located
+// here: https://id.magicleap.com/creator-terms
+//
+// %COPYRIGHT_END%
+// ---------------------------------------------------------------------
+// %BANNER_END%
+
+#pragma once
+
+#include <string>
+#include <map>
+
+// data class
+class SceneDescriptor {
+ public:
+
+ typedef std::map<std::string /* exportedNodeName */, const std::string& /* exportedNodeId */> ExportedNodeReferences;
+
+ SceneDescriptor(const char* exportedName, const char* id, const char* sceneGraphFilePath, const char* resourceModelFilePath, const ExportedNodeReferences& exportedNodeReferences, bool initiallyInstanced);
+ const std::string& getExportedName() const;
+ const std::string& getId() const;
+ const std::string& getSceneGraphPath() const;
+ const std::string& getResourceModelPath() const;
+ const ExportedNodeReferences & getExportedNodeReferences() const;
+ bool getInitiallyInstanced() const;
+
+ private:
+ std::string exportedName_;
+ std::string id_;
+ std::string sceneGraphPath_;
+ std::string resourceModelPath_;
+ const ExportedNodeReferences& exportedNodeReferences_;
+ bool initiallyInstanced_;
+};
+
+typedef std::map<std::string /* exportedName */, const SceneDescriptor&> SceneDescriptorReferences;