VR-Link API Documentation for DIS
dEntityEnc.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00009 
00010 #ifndef dEntityEnc_H_
00011 #define dEntityEnc_H_
00012 
00013 #if DtDIS
00014 
00015 #include "dStateEncoder.h"
00016 #include "esPdu.h"
00017 #include "entitySR.h"
00018 
00023 class DT_DLL_VL DtEntityStateEncoder : public DtStateEncoder
00024 {
00025  public:
00027    DtEntityStateEncoder();
00028 
00030    virtual ~DtEntityStateEncoder();
00031 
00033    DtEntityStateEncoder(const DtEntityStateEncoder& orig);
00034 
00036    DtEntityStateEncoder& operator=(const DtEntityStateEncoder& orig);
00037 
00042    virtual DtEntityStatePdu* stateMsg(
00043       const DtEntityStateRepository& stateRep,
00044       const DtEntityStateRepository& asSeenByRemote);
00045 
00046  protected:
00049     virtual bool sendNeeded(const DtEntityStateRepository& stateRep,
00050        const DtEntityStateRepository& asSeenByRemote);
00051     
00053    virtual void fillOut(const DtEntityStateRepository& stateRep,
00054          const DtEntityStateRepository& asSeenByRemote,
00055          DtEntityStatePdu* pdu);
00056 
00058    virtual bool artPartsNeedUpdating(
00059       const DtEntityStateRepository& stateRep,
00060       const DtEntityStateRepository& asSeenByRemote);
00061 
00063    virtual bool attPartsNeedUpdating(
00064       const DtEntityStateRepository& stateRep,
00065       const DtEntityStateRepository& asSeenByRemote);
00066 
00069    virtual void fillOutArtAndAttParts(
00070       const DtEntityStateRepository& stateRep,
00071       const DtEntityStateRepository& asSeenByRemote,
00072       DtEntityStatePdu* pdu);
00073 
00074 protected:
00075    DtEntityStatePdu myEsPdu;
00076 };
00077 
00078 
00079 #endif
00080 #endif
00081 

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)