VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aggregateStateEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
10 
11 #ifndef DtAggregateStateEncoder_H_
12 #define DtAggregateStateEncoder_H_
13 
14 #if DtDIS
15 
16 #include "stateEncoder.h"
17 #include "aggregateStatePdu.h"
19 
24 class DT_DLL_VL DtAggregateStateEncoder : public DtStateEncoder
25 {
26 public:
28  DtAggregateStateEncoder();
29 
31  virtual ~DtAggregateStateEncoder();
32 
34  DtAggregateStateEncoder(const DtAggregateStateEncoder& orig);
35 
37  DtAggregateStateEncoder& operator=(const DtAggregateStateEncoder& orig);
38 
43  virtual DtAggregateStatePdu* stateMsg(
44  const DtAggregateStateRepository& stateRep,
45  const DtAggregateStateRepository& asSeenByRemote);
46 
47  DtCLONE_ENCODER(DtAggregateStateEncoder);
48 
49 protected:
51  virtual bool sendNeeded(
52  const DtAggregateStateRepository& stateRep,
53  const DtAggregateStateRepository& asSeenByRemote);
54 
56  virtual void fillOut(
57  const DtAggregateStateRepository& stateRep,
58  const DtAggregateStateRepository& asSeenByRemote,
59  DtAggregateStatePdu* pdu);
60 
61 protected:
62  DtAggregateStatePdu myAsPdu;
63 };
64 
65 #endif
66 #endif
67 

Document ID: Generated on Wed Jan 7 13:31:29 EST 2015 from SVN revision 149162
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)