VR-Forces 4.1 Class Documentation
DtWeaponLoadElement.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  {
21  public:
23  virtual ~DtWeaponLoadElement();
24 
25  virtual unsigned int encodedLength();
26  virtual unsigned char* encode(unsigned char* buffer);
27 
28  virtual void decode(unsigned char* buffer, unsigned int length);
29 
30  int stationNumber();
31  void setStationNumber(int val);
32 
33  int subStationNumber();
34  void setSubStationNumber(int val);
35 
36  int weaponType();
37  void setWeaponType(int val);
38 
39  int weaponVariant();
40  void setWeaponVariant(int val);
41 
42  protected:
43  virtual void update();
44 
45  DtNetU16 myBits;
46  };
47 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)