VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGenericFlagData01Element.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 VT-MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvLocalMS/vrvLocalMS.h>
14 
15 #include <vlutil/vlNetTypes.h>
16 
17 namespace makVrv
18 {
20  : public DtMetadataElement
21  {
22  public:
23  enum Polarity {WHITE, BLACK};
24  enum SlantRangeMethod {CALCULATED, MEASURED};
25 
27  virtual ~DtGenericFlagData01Element();
28 
29  virtual unsigned int encodedLength();
30  virtual unsigned char* encode(unsigned char* buffer);
31 
32  virtual void decode(unsigned char* buffer, unsigned int length);
33 
34  bool laserRangeFinderOn();
35  void setLaserRangerFinderOn(bool val);
36 
37  bool autoTrackOn();
38  void setAutoTrackOn(bool val);
39 
40  Polarity polarity();
41  void setPolarity(Polarity val);
42 
43  bool icingDetected();
44  void setIcingDetected(bool val);
45 
46  SlantRangeMethod slantRangeMethod();
47  void setSlantRangeMethod(SlantRangeMethod val);
48 
49  protected:
50  virtual void update();
51 
52  DtNetU8 myFlags;
53  };
54 }
Definition: DtGenericFlagData01Element.h:19
#define DT_DLL_VRVLOCALMS
Definition: vrvLocalMS.h:21
Definition: DtGenericFlagData01Element.h:23
Contains DLL export macros.
DtMetadataElement is an abstract class that defines the interface common to all metadata elements...
Definition: DtMetadataElement.h:22
DT_DLL_readerWriter char * encode(const DtFilename &val, char *buffer)
Serializes the provided value val into buffer. buffer must have at least the number of bytes returned...
DT_DLL_readerWriter const char * decode(DtString &val, const char *buffer)
Decodes a value from buffer and places the result in val of the type specified by val...
DtNetU8 myFlags
Definition: DtGenericFlagData01Element.h:52
SlantRangeMethod
Definition: DtGenericFlagData01Element.h:24
Polarity
Definition: DtGenericFlagData01Element.h:23
Contains the DtMetadataElement class declaration.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)