WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pBeDmpiObject.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 namespace MAKVrExchange
15 {
16 
23  {
24  public:
25 
28 
31 
33  virtual ~DtPortalBeDmpi();
34 
36  DtPortalBeDmpi& operator = ( const DtPortalBeDmpi& original );
37 
40 
41  int operator == ( const DtPortalBeDmpi& rightOperand ) const;
42  int operator != ( const DtPortalBeDmpi& rightOperand ) const;
43 
45 
48 
50  DtDEC_ATTRIBUTE( std::vector<DtString>, BeFacility, beFacility );
51 
53  DtDEC_ATTRIBUTE( DtString, DmpiId, dmpiId );
54 
56  DtDEC_ATTRIBUTE( DtU32, Status, status );
57 
59 
61  public:
62 
64 
65  static DtPortalMessage* create();
66 
67  virtual unsigned int netSize() const;
68  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const ;
69  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
70 
71  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
72 
73  };
74 
75 
77  {
78  return new DtPortalBeDmpi();
79  }
80 
81 }
#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:65
Represents Basic Encyclopedia (BE) DMPI Objects in a simulation.
Definition: pBeDmpiObject.h:22
static const DtPortalMessageKind theKind
NOTE: DtDEC_ATTRIBUTE resets the access specifier to protected.
Definition: pBeDmpiObject.h:63
static DtPortalMessage * create()
Definition: pBeDmpiObject.h:76
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 Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)