VR-Exchange 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
disBroker/disBroker/underwaterAcousticTranslator.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 class DtUnderwaterAcousticsEmissionRepository;
15 
16 #define DIS_TEMPLATE_LIST \
17  template \
18  < class T_PortalObject \
19  , class T_PortalReflectedObject \
20  , class T_DisReflectedObject \
21  , class T_DisReflectedObjectList \
22  , class T_DisObjectStateRepository \
23  , class T_DisObjectPublisher>
24 
25 #define DIS_TEMPLATE_FUNCTION \
26  T_PortalObject, T_PortalReflectedObject, \
27  T_DisReflectedObject, T_DisReflectedObjectList, \
28  T_DisObjectStateRepository, T_DisObjectPublisher
29 
30 namespace MAKVrExchange
31 {
32 
33  class DtPortalUnderwaterAcousticObject;
34 
35  namespace DtDisBroker
36  {
37 
38  class DtDisBroker;
39 
45  : public DtEmbeddedSystemTranslator<DIS_TEMPLATE_FUNCTION>
46  {
47  public:
48 
51 
52  public:
53 
56  const DtString& name, DtPortalMessageKind kind );
57 
60 
63  const DtUnderwaterAcousticsEmissionRepository& source, const T_DisReflectedObject& refObj );
64 
66  virtual DtUnderwaterAcousticsEmissionRepository* translate(
67  DtUnderwaterAcousticsEmissionRepository* destination,
69  const T_PortalReflectedObject& refObj );
70 
71  };
72 
73  }
74 }
75 
76 
77 #define _underwaterAcousticTranslator_INL_
78 #include <disBroker/underwaterAcousticTranslator.inl>
79 #undef _underwaterAcousticTranslator_INL_
Messages which represent Active Sonars with state.
Definition: pUnderwaterAcousticsObject.h:24
#define DIS_TEMPLATE_LIST
Definition: disBroker/disBroker/underwaterAcousticTranslator.h:16
Base class for all embedded system translators.
Definition: disBroker/disBroker/embeddedSystemTranslator.h:44
Base class for all broker objects.
Definition: broker.h:53
virtual DtPortalUnderwaterAcousticObject * translate(DtPortalUnderwaterAcousticObject *destination, const DtUnderwaterAcousticsEmissionRepository &source, const T_DisReflectedObject &refObj)
Translates the given HLA object to a Portal object.
DtUnderwaterAcousticTranslator< DIS_TEMPLATE_FUNCTION > ParentClass
Typedef for the templated class type.
Definition: disBroker/disBroker/underwaterAcousticTranslator.h:50
DtUnderwaterAcousticTranslator(DtBroker *hlaBroker, const DtString &name, DtPortalMessageKind kind)
CTOR.
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Base class for all embedded system translators.
Definition: disBroker/disBroker/underwaterAcousticTranslator.h:44

Document ID: Generated on Mon Apr 19 15:55:22 EDT 2021 from SVN revision 227909
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)