CigiHoldEnvCtrl Class Reference

#include <CigiHoldEnvCtrl.h>

Inheritance diagram for CigiHoldEnvCtrl:

CigiBaseEnvCtrl CigiBasePacket List of all members.

Public Member Functions

 CigiHoldEnvCtrl ()
virtual ~CigiHoldEnvCtrl ()
virtual int Pack (CigiBasePacket *Base, Cigi_uint8 *Buff, void *Spec) const
virtual int Unpack (Cigi_uint8 *Buff, bool Swap, void *Spec)
virtual void FillHold (CigiBaseEnvCtrl *Hold) const

Detailed Description

Definition at line 66 of file CigiHoldEnvCtrl.h.


Constructor & Destructor Documentation

CigiHoldEnvCtrl::CigiHoldEnvCtrl (  )  [inline]

General Constructor

Definition at line 75 of file CigiHoldEnvCtrl.h.

References CIGI_HOLD_ENV_CTRL_PACKET_ID_V3, and CIGI_HOLD_ENV_CTRL_PACKET_SIZE_V3.

00076    {
00077       PacketID = CIGI_HOLD_ENV_CTRL_PACKET_ID_V3;
00078       PacketSize = CIGI_HOLD_ENV_CTRL_PACKET_SIZE_V3;
00079       Version = 3;
00080       MinorVersion = 0;
00081 
00082       Hour = 0;
00083       Minute = 0;
00084       Month = 1;
00085       Day = 1;
00086       Year = 2000;
00087       StarInt = 0.0;
00088       EphemerisEn = false;
00089       SunEn = false;
00090       MoonEn = false;
00091       StarEn = false;
00092       DateVld = false;
00093       AtmosEn = false;
00094       Aerosol = 0.0;
00095       Humidity = 30;
00096       AirTemp = 0.0;
00097       Visibility = 64373.76f;
00098       HorizWindSp = 0.0;
00099       VertWindSp = 0.0;
00100       WindDir = 0.0;
00101       BaroPress = 1013.25;
00102    }

virtual CigiHoldEnvCtrl::~CigiHoldEnvCtrl (  )  [inline, virtual]

General Destructor

Definition at line 107 of file CigiHoldEnvCtrl.h.

00107 { };


Member Function Documentation

virtual void CigiHoldEnvCtrl::FillHold ( CigiBaseEnvCtrl Hold  )  const [inline, virtual]

A virtual FillHold function. This function is not implemented in this class.

Implements CigiBaseEnvCtrl.

Definition at line 145 of file CigiHoldEnvCtrl.h.

00145 { };

virtual int CigiHoldEnvCtrl::Pack ( CigiBasePacket Base,
Cigi_uint8 Buff,
void *  Spec 
) const [inline, virtual]

The virtual Pack function for CIGI 3

Parameters:
Base - A pointer to the instance of the packet to be packed. (Downcast to CigiBasePacket)
Buff - A pointer to the current pack point.
Spec - A pointer to special data - This is used to point to the Environmental Control holding object when going between V2 and V3.
Returns:
This returns CIGI_SUCCESS or an error code defined in CigiErrorCodes.h

Implements CigiBaseEnvCtrl.

Definition at line 124 of file CigiHoldEnvCtrl.h.

00124 { return(0); }

virtual int CigiHoldEnvCtrl::Unpack ( Cigi_uint8 Buff,
bool  Swap,
void *  Spec 
) [inline, virtual]

The virtual Unpack function for CIGI 3

Parameters:
Buff - A pointer to the current pack point.
Swap - N/A for V1 & V2
Spec - A pointer to special data - This is used to point to the Environmental Control holding object when going between V2 and V3.
Returns:
This returns CIGI_SUCCESS or an error code defined in CigiErrorCodes.h

Implements CigiBaseEnvCtrl.

Definition at line 136 of file CigiHoldEnvCtrl.h.

00136 { return(0); }


The documentation for this class was generated from the following file:
Generated on Wed Apr 29 09:00:08 2009 for CCL by  doxygen 1.4.7