WebLVC 1.8 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pEmitterSystemObject.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 
12 #include <portal/pEmbeddedSystem.h>
13 
14 namespace MAKVrExchange
15 {
16 
28  {
29  public:
30 
33 
36 
38  virtual ~DtPortalEmitterSystemObject();
39 
41  DtPortalEmitterSystemObject& operator = ( const DtPortalEmitterSystemObject& original );
42 
45 
46  int operator == ( const DtPortalEmitterSystemObject& rightOperand ) const;
47  int operator != ( const DtPortalEmitterSystemObject& rightOperand ) const;
48 
50 
53 
55  DtDEC_ATTRIBUTE( DtU32, EmitterType, emitterType );
56 
58  DtDEC_ATTRIBUTE( DtU32, EmitterFunctionCode, emitterFunctionCode );
59 
61  DtDEC_ATTRIBUTE( DtU32, EmitterIndex, emitterIndex );
62 
65  DtDEC_ATTRIBUTE( DtString, EventIdentifier, eventIdentifier );
66 
68  DtDEC_ATTRIBUTE( DtEmitterBeamList, EmitterBeamList, emitterBeamList );
69 
71  public:
72 
73  bool isBeamWithinList( DtU8 beamId ) const;
74  DtEmitterBeamData* findBeam( DtU8 beamId );
75  const DtEmitterBeamData* findBeam( DtU8 beamId ) const;
78  DtEmitterBeamData* addBeam( DtU8 beamId );
80  void removeBeam( DtU8 beamId );
81 
83 
84  public:
85 
87 
88  static DtPortalMessage* create();
89 
90  virtual unsigned int netSize() const;
91  virtual void writeSelfToBuffer( void* buffer, int bufferSize ) const;
92  virtual void readSelfFromBuffer( const void* buffer, int bufferSize );
93 
94  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
95 
96  };
97 
98 
100  {
101  return new DtPortalEmitterSystemObject();
102  }
103 
104 }
static DtPortalMessage * create()
Definition: pEmitterSystemObject.h:99
#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:66
Contains the DtPortalEmbeddedSystem class declaration.
std::list< DtEmitterBeamData > DtEmitterBeamList
Definition: emitterBeamData.h:178
static const DtPortalMessageKind theKind
Definition: pEmitterSystemObject.h:86
DtPortalMessageKind
A List of message kinds distributed with the Portal.
Definition: pMessageKinds.h:23
Represents Embedded System Objects in a simulation.
Definition: pEmbeddedSystem.h:21
Represents Emitter Beam Objects.
Definition: emitterBeamData.h:36
Used in translation of Electromagnetic Emissions Objects, such as Emitter System Objects, and Emitter Beam Objects.
Definition: pEmitterSystemObject.h:27

Document ID: Generated on Wed Mar 12 15:05:17 EDT 2025 from SVN revision 274272
Copyright © 2005-2025 MAK Technologies. All Rights Reserved (www.mak.com)