VR-Exchange 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
indirectFirePowerRecord.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <portal/dllExport.h>
13 #include <portal/addAttribute.h>
14 #include <vlutil/vlMachineTypes.h>
15 #include <vlutil/vlString.h>
16 #include <ostream>
17 #include <list>
18 
19 namespace MAKVrExchange
20 {
21 
25  {
26  public:
27 
30 
33 
35  virtual ~DtIndirectFirePowerRecord();
36 
38  DtIndirectFirePowerRecord& operator = ( const DtIndirectFirePowerRecord& orig );
39 
42 
43  virtual bool operator == ( const DtIndirectFirePowerRecord& other ) const;
44  virtual bool operator != ( const DtIndirectFirePowerRecord& other ) const;
45 
47 
48  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
49 
52 
53  DtDEC_ATTRIBUTE( DtString, Type, type );
54  DtDEC_ATTRIBUTE( DtFloat64, Range, range );
55  DtDEC_ATTRIBUTE( DtFloat64, Radius, radius );
56  DtDEC_ATTRIBUTE( DtFloat64, Max_Sheaf_Radius, max_Sheaf_Radius );
57  DtDEC_ATTRIBUTE( DtFloat64, Hit_Factor, hit_Factor );
58  DtDEC_ATTRIBUTE( DtFloat64, Seconds_Per_Attack, seconds_Per_Attack );
59  DtDEC_ATTRIBUTE( DtInt32, Strength_Per_Attack, strength_Per_Attack );
60  DtDEC_ATTRIBUTE( DtInt32, Ammunition_Per_Attack, ammunition_Per_Attack );
61  DtDEC_ATTRIBUTE( DtString, Damage_Type, damage_Type );
62  DtDEC_ATTRIBUTE( bool, Can_Be_Radar_Jammed, can_Be_Radar_Jammed );
63  DtDEC_ATTRIBUTE( DtFloat64, Jamming_Defense_Factor, jamming_Defense_Factor );
64  DtDEC_ATTRIBUTE( DtFloat64, Max_Altitude, max_Altitude );
65  DtDEC_ATTRIBUTE( DtString, Allowed_Postures, allowed_Postures );
66 
68 
69  };
70 
71  typedef std::list<DtIndirectFirePowerRecord> DtIndirectFirePowerRecordList;
72 
73  DT_DLL_LIBPORTAL std::ostream& operator << ( std::ostream& stream, const DtIndirectFirePowerRecord& rec );
74  DT_DLL_LIBPORTAL std::ostream& operator << ( std::ostream& stream, const DtIndirectFirePowerRecordList& container );
75 
76 }
Definition: indirectFirePowerRecord.h:24
#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
std::list< DtIndirectFirePowerRecord > DtIndirectFirePowerRecordList
Definition: indirectFirePowerRecord.h:71
DT_DLL_LIBPORTAL std::ostream & operator<<(std::ostream &stream, const DtActiveSonarBeamData &data)
Contains the DtDEC_ATTRIBUTE macros.

Document ID: Generated on Mon Apr 19 15:55:22 EDT 2021 from SVN revision 227909
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)