|
VR-Engage
2.3
|
Contains information about a single role on an entity and its assignment status, including both confirmed station assignments and any pending changes. This structure is returned by getRoleAssignments() to provide the UI with all information needed to display a role's state.
#include <vreAssignmentTracker.h>
Public Attributes | |
| std::string | myRoleName |
| std::vector< std::string > | myStationIds |
| std::vector< std::string > | myStationNames |
| std::vector< bool > | myStationSpectatorFlags |
| std::vector< bool > | myStationPendingFlags |
| bool | myHasConflict = false |
| std::string makVre::DtRoleAssignment::myRoleName |
The role name (e.g., "driver", "gunner", "commander")
| std::vector<std::string> makVre::DtRoleAssignment::myStationIds |
Station IDs currently assigned to this role (confirmed state)
May contain multiple IDs if multiple stations were assigned to the same role directly at VRE stations (bypassing the Manager Panel). Empty if the role is unassigned.
| std::vector<std::string> makVre::DtRoleAssignment::myStationNames |
Station names for display (parallel to myStationIds)
| std::vector<bool> makVre::DtRoleAssignment::myStationSpectatorFlags |
Whether each station is a spectator (parallel to myStationIds)
| std::vector<bool> makVre::DtRoleAssignment::myStationPendingFlags |
Whether each station is a pending assignment (parallel to myStationIds)
True for stations that have been assigned via the Manager Panel but not yet submitted. False for confirmed stations from VRE status updates.
| bool makVre::DtRoleAssignment::myHasConflict = false |
True if 2+ non-spectator stations are on this role (unresolved conflict)
A conflict exists when two or more stations assigned to the same role are not in spectator mode. This includes both confirmed and pending stations. The Submit button is disabled until all conflicts are resolved.