KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DEAreaAimpoint.h
Go to the documentation of this file.
1 /*********************************************************************
2 Copyright 2013 Karl Jones
3 All rights reserved.
4 
5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are met:
7 
8 1. Redistributions of source code must retain the above copyright notice, this
9  list of conditions and the following disclaimer.
10 2. Redistributions in binary form must reproduce the above copyright notice,
11  this list of conditions and the following disclaimer in the documentation
12  and/or other materials provided with the distribution.
13 
14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
17 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
18 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
19 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
20 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
21 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
23 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 
25 For Further Information Please Contact me at
26 Karljj1@yahoo.com
27 http://p.sf.net/kdis/UserGuide
28 *********************************************************************/
29 
30 /********************************************************************
31  class: DEAreaAimpoint
32  created: 22/04/2013
33  author: Karl Jones
34 
35  purpose:
36 
37  size: xx bits / x octets - xx
38 *********************************************************************/
39 
40 #pragma once
41 
42 #include "./StandardVariable.h"
43 
44 namespace KDIS {
45 namespace DATA_TYPE {
46 
48 {
49 protected:
50 
52 
54 
56 
57  // TODO: Beam Ant Pattern
58 
59  // TODO: DE Target Energy Dep Rec
60 
61 public:
62 
63  static const KUINT16 DE_AREA_AIMPOINT_SIZE = 00000000000;
64 
66 
67  DEAreaAimpoint( KDataStream & stream ) throw( KException );
68 
69  virtual ~DEAreaAimpoint();
70 
71  //************************************
72  // FullName: KDIS::DATA_TYPE::DEAreaAimpoint::GetBeamAntennaPatternCount
73  //!Description: The count of Beam Antenna Pattern records that are included as part of this record.
74  //************************************
75  KUINT16 GetBeamAntennaPatternCount() const;
76 
77  //************************************
78  // FullName: KDIS::DATA_TYPE::DEAreaAimpoint::GetTargetEnergyDepositionCount
79  //!Description: The count of DE Target Energy Deposition records that are included as part of this record.
80  //************************************
81  KUINT16 GetTargetEnergyDepositionCount() const;
82 
83  //************************************
84  // FullName: KDIS::DATA_TYPE::DEAreaAimpoint::GetAsString
85  //!Description: Returns a string representation.
86  //************************************
87  virtual KString GetAsString() const;
88 
89  //************************************
90  // FullName: KDIS::DATA_TYPE::DEAreaAimpoint::Decode
91  //!Description: Convert From Network Data.
92  // Parameter: KDataStream & stream
93  //************************************
94  virtual void Decode( KDataStream & stream ) throw( KException );
95 
96  //************************************
97  // FullName: KDIS::DATA_TYPE::DEAreaAimpoint::Encode
98  //!Description: Convert To Network Data.
99  // Parameter: KDataStream & stream
100  //************************************
101  virtual KDataStream Encode() const;
102  virtual void Encode( KDataStream & stream ) const;
103 
104  KBOOL operator == ( const DEAreaAimpoint & Value ) const;
105  KBOOL operator != ( const DEAreaAimpoint & Value ) const;
106 };
107 
108 } // END namespace DATA_TYPES
109 } // END namespace KDIS
KUINT16 m_ui16DETEDRC
Definition: DEAreaAimpoint.h:55
unsigned short int KUINT16
Definition: KDefines.h:101
Definition: StandardVariable.h:62
Definition: KDefines.h:182
Definition: KDataStream.h:48
bool KBOOL
Definition: KDefines.h:119
std::string KString
Definition: KDefines.h:116
Definition: DEAreaAimpoint.h:47
#define KDIS_EXPORT
Definition: KDefines.h:82
KUINT16 m_ui16BAPRC
Definition: DEAreaAimpoint.h:53
KUINT16 m_ui16Padding
Definition: DEAreaAimpoint.h:51