VR-Link API Documentation for DIS
 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) 1992-2025 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 
27 {
28 public:
29 
32 
34  virtual ~DtTimeAndDateEncoder();
35 
38 
41 
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:
69 
70 };
71 
72 
73 
74 #endif
Instances of DtTimeAndDateEncoder encode data from DtTimeAndDateRepository objects to the net structu...
Definition: timeAndDateEncoderDIS.h:26
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtTimeAndDatePdu myPdu
Definition: timeAndDateEncoderDIS.h:68
Instances of DtTimeAndDatePdu are used for DIS network packets which encode the DtTimeAndDate reposit...
Definition: timeAndDatePdu.h:29
The DtStateEncoder class provides a base class for all DIS encoders.
Definition: stateEncoder.h:33
DtStateEncoder & operator=(const DtStateEncoder &orig)
Assignment operator.
#define DtCLONE_ENCODER(encoderClass)
Definition: stateEncoder.h:26
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 Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)