VR-Exchange 2.10 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sensorContactInfo.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/dllExport.h>
13 #include <portal/addAttribute.h>
14 
15 #include <vlpi/entityIdentifier.h>
16 #include <vlpi/entityType.h>
17 
18 #include <vlutil/vlMachineTypes.h>
19 #include <vlutil/vlString.h>
20 
21 #include <vector>
22 
23 namespace MAKVrExchange
24 {
25 
29  {
30  public:
33 
36 
38  virtual ~DtSensorContactInfo();
39 
41  DtSensorContactInfo& operator = ( const DtSensorContactInfo& orig );
42 
45 
46  virtual bool operator == ( const DtSensorContactInfo& other ) const;
47  virtual bool operator != ( const DtSensorContactInfo& other ) const;
48 
50 
51  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
52 
55 
56  DtDEC_ATTRIBUTE( DtString, ContactName, contactName );
57  DtDEC_ATTRIBUTE( DtEntityIdentifier, Id, id );
58  DtDEC_ATTRIBUTE( DtFloat32, OriginalTimeOfDetection, originalTimeOfDetection );
59  DtDEC_ATTRIBUTE( DtFloat64, OriginalDateAndTimeOfDetection, originalDateAndTimeOfDetection );
60  DtDEC_ATTRIBUTE( DtFloat32, LastTimeOfDetection, lastTimeOfDetection );
61  DtDEC_ATTRIBUTE( DtFloat64, LastDateAndTimeOfDetection, lastDateAndTimeOfDetection );
62  DtDEC_ATTRIBUTE( DtInt32, CombatIdentificationLevel, combatIdentificationLevel );
63  DtDEC_ATTRIBUTE( DtFloat32, DetectionError, detectionError );
64  DtDEC_ATTRIBUTE( DtVector, ContactPosition, contactPosition );
65  DtDEC_ATTRIBUTE( DtTaitBryan, ContactOrientation, contactOrientation );
66  DtDEC_ATTRIBUTE( DtVector32, ContactVelocity, contactVelocity );
67  DtDEC_ATTRIBUTE( DtU32, ContactSuperType, contactSuperType );
68  DtDEC_ATTRIBUTE( DtEntityType, ContactEntityType, contactEntityType );
69  DtDEC_ATTRIBUTE( DtU32, ContactForce, contactForce );
70  DtDEC_ATTRIBUTE( std::vector<DtInt32>, ContactSourceTypes, contactSourceTypes );
71  DtDEC_ATTRIBUTE( DtU32, ContactFormation, contactFormation );
72  DtDEC_ATTRIBUTE( DtString, ContactActivity, contactActivity );
73  DtDEC_ATTRIBUTE( DtU64, ContactAppearance, contactAppearance );
74  DtDEC_ATTRIBUTE( DtFloat32, ContactRadius, contactRadius );
75  DtDEC_ATTRIBUTE( DtFloat32, HealthPercentage, healthPercentage );
76  DtDEC_ATTRIBUTE( bool, IsBreached, isBreached );
77 
79 
80  };
81 
82 
83  DT_DLL_LIBPORTAL std::ostream& operator << ( std::ostream& stream, const DtSensorContactInfo& data );
84 
85 }
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
Definition: sensorContactInfo.h:28
DT_DLL_LIBPORTAL std::ostream & operator<<(std::ostream &stream, const DtActiveSonarBeamData &data)
Contains the DtDEC_ATTRIBUTE macros.

Document ID: Generated on Mon May 25 18:45:12 EDT 2026 from SVN revision 289111
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)