VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
timeAndDateEncoderDIS.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
14 #include <vl/timeAndDatePdu.h>
15 #include <vl/stateEncoder.h>
16 
17 
18 
20 
21 
25 
26 class DT_DLL_VL DtTimeAndDateEncoder : public DtStateEncoder
27 {
28 public:
29 
32 
34  virtual ~DtTimeAndDateEncoder();
35 
38 
40  DtTimeAndDateEncoder& operator=(const DtTimeAndDateEncoder& orig);
41 
42  DtCLONE_ENCODER(DtTimeAndDateEncoder)
43 
44 public:
45 
49  virtual DtTimeAndDatePdu* stateMsg(
50  const DtTimeAndDateStateRepository& stateRep,
51  const DtTimeAndDateStateRepository& asSeenByRemote);
52 
54  virtual void setFinalPdu();
55 
56 protected:
57 
58  virtual bool sendNeeded(
59  const DtTimeAndDateStateRepository& stateRep,
60  const DtTimeAndDateStateRepository& asSeenByRemote);
61 
62  virtual void fillOut(
63  const DtTimeAndDateStateRepository& stateRep,
64  const DtTimeAndDateStateRepository& asSeenByRemote,
65  DtTimeAndDatePdu* pdu);
66 
67 protected:
68  DtTimeAndDatePdu myPdu;
69 
70 };
71 
72 
73 
74 #endif
Instances of DtTimeAndDateEncoder encode data from DtTimeAndDateStateRepository objects to the net st...
Definition: timeAndDateEncoderHLA.h:21
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Contains the DtTimeAndDatePdu class declaration.
This file declares the DIS version of DtStateEncoder.
Instances of DtTimeAndDateStateRepository are used to store state data for MAK_TimeAndDate objects...
Definition: timeAndDateStateRepository.h:26

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)