VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
timeAndDateEncoderHLA.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2023 MAK Technologies, Inc
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #if DtHLA
12 
13 #include <vl/hlaStateEncoder.h>
14 
16 
22 {
23 public:
24 
27  DtExerciseConn* exConn,
28  DtObjClassDesc* classDesc);
29 
31  virtual ~DtTimeAndDateEncoder();
32 
35 
38 
39 public:
41  static DtHlaStateEncoder* create(
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
45 protected:
46 
49  static bool needDateAndTimeOfDay(
50  const DtTimeAndDateStateRepository& stateRep,
51  const DtTimeAndDateStateRepository& asSeenByRemote);
52 
54  static void encodeDateAndTimeOfDay(
57  RTI::AttributeHandle attrHandle);
58 
61  static bool needTimeOfDayAdvancementSpeed(
62  const DtTimeAndDateStateRepository& stateRep,
63  const DtTimeAndDateStateRepository& asSeenByRemote);
64 
66  static void encodeTimeOfDayAdvancementSpeed(
69  RTI::AttributeHandle attrHandle);
70 
73  static bool needSunPositionLockedToObserver(
74  const DtTimeAndDateStateRepository& stateRep,
75  const DtTimeAndDateStateRepository& asSeenByRemote);
76 
78  static void encodeSunPositionLockedToObserver(
81  RTI::AttributeHandle attrHandle);
82 
83 };
84 
85 
86 
87 #endif
Instances of DtTimeAndDateEncoder encode data from DtTimeAndDateStateRepository objects to the net st...
Definition: timeAndDateEncoderHLA.h:21
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a &quot;class descriptor&quot; for an HLA Object class.
Definition: objClassDesc1516.h:41
DtHlaStateEncoder & operator=(const DtHlaStateEncoder &orig)
assignment operator
Used to provide backwards compatibility for VR-Link Encoders and Decoders who use either AttributeHan...
Definition: rtiCompatibility.h:154
Instances of DtTimeAndDateStateRepository are used to store state data for MAK_TimeAndDate objects...
Definition: timeAndDateStateRepository.h:26

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)