VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
additionalPassiveActivitiesEncoderDIS.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtDIS
13 
14 #include <vl/stateEncoder.h>
16 
18 
24 {
25 public:
26 
29 
32 
35 
38 
43  virtual DtUnderwaterAcousticPdu* stateMsg(
45  const DtAdditionalPassiveActivitiesRepository& asSeenByRemote );
46 
49 
50 protected:
51 
52  // Let the parent encoder call sendNeeded and fillOut.
54 
56  virtual bool sendNeeded( const DtAdditionalPassiveActivitiesRepository& stateRep,
57  const DtAdditionalPassiveActivitiesRepository& asSeenByRemote );
58 
60  virtual void fillOut( const DtAdditionalPassiveActivitiesRepository& stateRep,
61  const DtAdditionalPassiveActivitiesRepository& asSeenByRemote,
63 
64 protected:
65 
67 
68 };
69 
70 #endif // DtDIS
virtual bool sendNeeded(const DtUnderwaterAcousticsStateRepository &stateRep, const DtUnderwaterAcousticsStateRepository &asSeenByRemote)
Determine if a state message needs to be sent.
Contains the DtUnderwaterAcousticPdu class declaration.
Instances of DtAdditionalPassiveActivitiesEncoder are used to take state information from a DtAdditio...
Definition: additionalPassiveActivitiesEncoderDIS.h:23
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
virtual void fillOut(const DtUnderwaterAcousticsStateRepository &stateRep, const DtUnderwaterAcousticsStateRepository &asSeenByRemote, DtUnderwaterAcousticPdu *pdu)
Fill out a state message which reflects a state repository.
Instances of DtUnderwaterAcousticPdu are used to send information about simulated underwater acoustic...
Definition: underwaterAcousticPdu.h:39
Instances of DtUnderwaterAcousticsEncoder are used to take state information from a DtUnderwaterAcous...
Definition: underwaterAcousticsEncoderDIS.h:26
class DtAdditionalPassiveActivitiesRepository
Definition: additionalPassiveActivitiesRepository.h:20
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
This file declares the DIS version of DtStateEncoder.
DtUnderwaterAcousticPdu myAsPdu
Definition: additionalPassiveActivitiesEncoderDIS.h:66

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)