VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
diguyActionRecordP.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #pragma once
6 
10 
11 #include <vlpi/netStructs.h>
13 
14 // DIGuy Action Attribute Record
16 {
17  bool operator==(const DtNetDiGuyActionRecord& rhs) const
18  {
19  return (myRecordType == rhs.myRecordType)
20  && (myRecordLength == rhs.myRecordLength)
21  && (mySpeed == rhs.mySpeed)
22  && (myIsPaused == rhs.myIsPaused)
23  && strcmp((char*)myAction, (char*)rhs.myAction);
24  }
25  bool operator!=(const DtNetDiGuyActionRecord& rhs) const
26  {
27  return !operator==(rhs);
28  }
29 
36  // Action is a string value that will require padding to 8-byte boundary
37  // Action is variable size. Needs to be at the end of net struct.
39 

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)