VR-Link API Documentation for DIS
genericEnc.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 #if DtHLA
6 
9 
10 #ifndef DtGenericObjectEncoder_H_
11 #define DtGenericObjectEncoder_H_
12 
13 #include "hStateEncoder.h"
14 
17 class DT_DLL_VL DtGenericStateRepository;
18 
21 
22 class DT_DLL_VL DtGenericObjectEncoder : public DtHlaStateEncoder
23 {
24 public:
25 
27  DtGenericObjectEncoder(DtExerciseConn* exConn, DtObjClassDesc* classDesc);
28 
30  virtual ~DtGenericObjectEncoder();
31 
38  virtual void encode(const DtStateRepository& stateRep,
39  const DtStateRepository& asSeenByRemote,
40  const RTI::AttributeHandleSet& eligibleAttrs,
41  const RTI::AttributeHandleSet& requiredAttrs,
42  DtStateMsg* msg);
43 
44 protected:
45 
46  virtual bool valueDiffers(
47  const DtGenericStateRepository& stateRep,
48  const DtGenericStateRepository& asSeenByRemote,
49  RTI::AttributeHandle handle);
50 };
51 
52 #endif
53 #endif
54 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)