VR-Engage  2.3
Loading...
Searching...
No Matches
deployableObjectsTypes.h
Go to the documentation of this file.
1/*******************************************************************************
2** Copyright (c) 2024 MAK Technologies
3** All rights reserved.
4*******************************************************************************/
5
6#pragma once
7
9
10#include <map>
11#include <string>
12
13namespace makVre
14{
15
17{
19 bool myInUse;
21
22 bool operator==(const DeployableObject& other) const
23 {
24 return myState == other.myState && myInUse == other.myInUse && myDestroyed == other.myDestroyed;
25 }
26};
27
28// Map of deployable object label ("spark", "javelin", for example) to current state of the deployed object.
29using DeployableObjectStateMap = std::map<std::string, DeployableObject>;
30
32{
33 double left;
34 double right;
35 double bottom;
36 double top;
40};
41
42} // namespace makVre
!
Definition glsVreMessageUtil.h:50
std::map< std::string, DeployableObject > DeployableObjectStateMap
Definition deployableObjectsTypes.h:29
Definition deployableObjectsTypes.h:32
double top
Definition deployableObjectsTypes.h:36
bool showDroneHUDElements
Definition deployableObjectsTypes.h:38
bool showDroneFrame
Definition deployableObjectsTypes.h:37
double right
Definition deployableObjectsTypes.h:34
bool showHumanOverlay
Definition deployableObjectsTypes.h:39
double left
Definition deployableObjectsTypes.h:33
double bottom
Definition deployableObjectsTypes.h:35
Definition deployableObjectsTypes.h:17
SimulationStateMessage::EmbeddedEntity myState
Definition deployableObjectsTypes.h:18
bool myInUse
Definition deployableObjectsTypes.h:19
bool myDestroyed
Definition deployableObjectsTypes.h:20
bool operator==(const DeployableObject &other) const
Definition deployableObjectsTypes.h:22
Nested data structure.
Definition simulationState.h:181