VR-Exchange 2.5 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pVrfBackEnd.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 
12 #include <portal/pObject.h>
13 
14 namespace MAKVrExchange
15 {
16 
25  {
26  public:
27 
30 
33 
35  virtual ~DtPortalVrfBackEndObject();
36 
38  DtPortalVrfBackEndObject& operator = ( const DtPortalVrfBackEndObject& original );
39 
42 
43  int operator == ( const DtPortalVrfBackEndObject& rightOperand ) const;
44  int operator != ( const DtPortalVrfBackEndObject& rightOperand ) const;
45 
47 
50 
51  DtDEC_ATTRIBUTE( DtFloat64, ExerciseStartTime, exerciseStartTime );
52  DtDEC_ATTRIBUTE( DtFloat64, SimTime, simTime );
53  DtDEC_ATTRIBUTE( DtFloat64, SimStartTime, simStartTime );
54  DtDEC_ATTRIBUTE( double, TimeMultiplier, timeMultiplier );
55  DtDEC_ATTRIBUTE( DtU32, ControlState, controlState );
56  DtDEC_ATTRIBUTE( DtU32, InetAddr, inetAddr );
57  DtDEC_ATTRIBUTE( DtU32, Port, port );
58  DtDEC_ATTRIBUTE( bool, IsCurrentParameterDb, isCurrentParameterDb );
59  DtDEC_ATTRIBUTE( bool, IsResourceMonitorEnabled, isResourceMonitorEnabled );
60  DtDEC_ATTRIBUTE( bool, IsLoaded, isLoaded );
61  DtDEC_ATTRIBUTE( bool, IsTimeManaged, isTimeManaged );
62  DtDEC_ATTRIBUTE( DtString, ScenarioName, scenarioName );
63  DtDEC_ATTRIBUTE( DtString, TerrainName, terrainName );
64  DtDEC_ATTRIBUTE( DtString, GuiTerrainName, guiTerrainName );
65  DtDEC_ATTRIBUTE( DtU32, SimEngineId, simEngineId );
66  DtDEC_ATTRIBUTE( bool, LoadedNewScenario, loadedNewScenario );
67 
69 
70  public:
71 
73 
74  static DtPortalMessage* create();
75 
76  virtual unsigned int netSize() const;
77  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
78  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
79 
80  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
81 
82  };
83 
84 
86  {
87  return new DtPortalVrfBackEndObject();
88  }
89 
90 }

Document ID: Generated on Wed Dec 21 15:05:11 EST 2016 from SVN revision 171891
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)