VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
simObjectReference.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2024 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
17 
18 template <>
19 struct std::hash<DtSimObjectReference>
20 {
21  std::size_t operator()(const DtSimObjectReference& s) const
22  {
23  return s.uuid().hashValue();
24  }
25 };
makVrf::DtSimObjectReferenceTemplate< DtSimObject > DtSimObjectReference
Definition: simObjectReference.h:14
const DtUUID & uuid() const
size_t hashValue() const
If the hashValue is 0 and this is a valid UUID, this will throw a std::runtime_exception.
Represents a single simulation object in the exercise. Object may be VRF simulation, or non-VRF simulated, and may be simulated by the local sim engine, or by a remote sim engine. Only public (external) state of the object is available. All data is read-only. All access to data of the object is thread safe within the simulation frame.
Definition: simObject.h:80
std::size_t operator()(const DtSimObjectReference &s) const
Definition: simObjectReference.h:21

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)