WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
interaction.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 DtTENA
13 
14 #include <vlTena/dllExport.h>
15 #include <vl/globalObjectDesignator.h>
16 #include <vlpi/simulationAddress.h>
17 #include <vlpi/entityIdentifier.h>
18 #include <vlpi/entityType.h>
19 #include <vlutil/vlString.h>
20 #include <vl/eventId.h>
21 
22 namespace MAKVrExchange
23 {
24 
25  namespace DtTenaBroker
26  {
27 
28  class DtExerciseConn;
29 
33  class DT_DLL_VLTENA DtInteraction
34  {
35  public:
36 
38  DtInteraction();
39 
41  DtInteraction( const DtInteraction& orig );
42 
44  virtual ~DtInteraction();
45 
47  DtInteraction& operator = ( const DtInteraction& orig );
48 
50  virtual const char* name() const = 0;
51 
53  virtual void printData() const;
54 
56  virtual void printDataToString( DtString& buff ) const;
57 
59  virtual void printDataToStream( std::ostream& stream ) const = 0;
60 
62  virtual void setMessageId( const DtGlobalObjectDesignator& id );
63 
66  virtual const DtString& interfaceToUse( DtExerciseConn* conn ) const;
67 
69  virtual const DtGlobalObjectDesignator& messageId() const;
70 
71  protected:
72 
73  DtGlobalObjectDesignator myMessageIdentifier;
74 
75  };
76 
77 
78  inline void DtInteraction::printData() const
79  {
80  }
81 
82  inline void DtInteraction::printDataToString( DtString& buff ) const
83  {
84  }
85 
86  inline void DtInteraction::printDataToStream( std::ostream& stream ) const
87  {
88  }
89 
90 
91  DT_DLL_VLTENA std::ostream& operator << ( std::ostream& str, const DtInteraction& inter );
92 
93  }
94 }
95 
96 #endif
#define DT_DLL_VLTENA
Definition: brokers/tenaBroker/vlTena/dllExport.h:26
DT_DLL_LIBPORTAL std::ostream & operator<<(std::ostream &stream, const DtActiveSonarBeamData &data)

Document ID: Generated on Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)