VR-Link API Documentation for HLA Evolved
dGridDataEnc.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #if DtDIS
00008 
00012 
00013 
00014 #ifndef dGridDataEnc_H_
00015 #define dGridDataEnc_H_
00016 
00017 #include "dStateEncoder.h"
00018 #include "gridDataSR.h"
00019 #include "gridDataPdu.h"
00020 
00024 class DT_DLL_VL DtGriddedDataEncoder : public DtStateEncoder
00025 {
00026 public:
00028    DtGriddedDataEncoder();
00029 
00031    virtual ~DtGriddedDataEncoder();
00032 
00034    DtGriddedDataEncoder(const DtGriddedDataEncoder& orig);
00035 
00037    DtGriddedDataEncoder& operator=(const DtGriddedDataEncoder& orig);
00038 
00043    virtual DtGriddedDataPdu* stateMsg(
00044      const DtGriddedDataRepository& stateRep,
00045      const DtGriddedDataRepository& asSeenByRemote);
00046 
00047 protected:
00050    virtual bool sendNeeded(
00051      const DtGriddedDataRepository& stateRep,
00052      const DtGriddedDataRepository& asSeenByRemote);
00053 
00055    virtual bool needGridAxisInfo(
00056      const DtGriddedDataRepository& stateRep,
00057      const DtGriddedDataRepository& asSeenByRemote,
00058      int index);
00059 
00061    virtual bool needGridDataInfo(
00062      const DtGriddedDataRepository& stateRep,
00063      const DtGriddedDataRepository& asSeenByRemote,
00064      int index);
00065 
00066 protected:
00067    DtGriddedDataPdu myPdu;
00068 };
00069 
00070 #endif
00071 #endif
00072 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)