WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pBasicEncyclopediaObject.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 
23  {
24  public:
25 
28 
31 
33  virtual ~DtPortalBasicEncyclopedia();
34 
36  DtPortalBasicEncyclopedia& operator = ( const DtPortalBasicEncyclopedia& original );
37 
40 
41  int operator == ( const DtPortalBasicEncyclopedia& rightOperand ) const;
42  int operator != ( const DtPortalBasicEncyclopedia& rightOperand ) const;
43 
45 
48 
50  DtDEC_ATTRIBUTE( std::vector<DtString>, FederationUniqueIdentifier, federationUniqueIdentifier );
51 
53  DtDEC_ATTRIBUTE( DtVector, CenterLocation, centerLocation );
54 
56  DtDEC_ATTRIBUTE( DtString, CountryCode, countryCode );
57 
59  DtDEC_ATTRIBUTE( DtString, Description, description );
60 
62 
64  public:
65 
67 
68  virtual unsigned int netSize() const;
69  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const ;
70  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
71 
72  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
73 
74  };
75 
76 }
#define DT_DLL_LIBPORTAL
Definition: include/portal/dllExport.h:20
#define DtDEC_ATTRIBUTE(T, N, n)
A Macro to define an attribute; as well as make an accessor and mutator for that attribute.
Definition: addAttribute.h:49
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pBasicEncyclopediaObject.h:66
DtPortalObject are messages which also serve as state repositories for simulated objects.
Definition: pObject.h:23
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Contains the DtPortalObject class declaration.
Represents Basic Encyclopedia (BE) Installation Objects in a simulation.
Definition: pBasicEncyclopediaObject.h:22

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)