VR-Exchange 2.10 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pBeFacilityObject.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2016 MAK Technologies, Inc.
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 namespace MAKVrExchange
15 {
16 
22  {
23  public:
24 
27 
29  virtual ~DtPortalBeFacility();
30 
33 
35  DtPortalBeFacility& operator = ( const DtPortalBeFacility& original );
36 
39 
40  int operator == ( const DtPortalBeFacility& rightOperand ) const;
41  int operator != ( const DtPortalBeFacility& rightOperand ) const;
42 
44 
47 
49  DtDEC_ATTRIBUTE( DtString, Number, number );
50 
53  DtDEC_ATTRIBUTE( DtString, Osuffix, oSuffix );
54 
58  DtDEC_ATTRIBUTE( DtString, CategoryCode, categoryCode );
59 
61  DtDEC_ATTRIBUTE( DtU32, StructuralStatus, structuralStatus );
62 
64 
66  public:
67 
69 
70  static DtPortalMessage* create();
71 
72  virtual unsigned int netSize() const;
73  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const ;
74  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
75 
76  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
77 
78  };
79 
80 
82  {
83  return new DtPortalBeFacility();
84  }
85 
86 }
#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
The base class for all messages passed through the portal.
Definition: pMessage.h:67
Represents Basic Encyclopedia (BE) Facility Objects in a simulation.
Definition: pBeFacilityObject.h:21
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pBeFacilityObject.h:68
static DtPortalMessage * create()
Definition: pBeFacilityObject.h:81
Contains the DtPortalBasicEncyclopedia class declaration.
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Represents Basic Encyclopedia (BE) Installation Objects in a simulation.
Definition: pBasicEncyclopediaObject.h:22

Document ID: Generated on Mon May 25 18:45:12 EDT 2026 from SVN revision 289111
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)