VR-Exchange 2.1 API Documentation
pEmitterSystemObject.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
3 ******************************************************************************/
4 
5 
6 #ifndef pEmitterSystemObject_H_
7 #define pEmitterSystemObject_H_
8 
12 
13 #include <portal/pEmbeddedSystem.h> //DtPortalEmbeddedSystem
14 
15 namespace MAKVrExchange {
16 
28 {
29 public:
30 
32 
33  virtual ~DtPortalEmitterSystemObject();
34 
36 
37  DtPortalEmitterSystemObject& operator=( const DtPortalEmitterSystemObject& original );
38 
39  int operator==( const DtPortalEmitterSystemObject& rightOperand ) const;
40 
41  int operator!=( const DtPortalEmitterSystemObject& rightOperand ) const;
42 
43  //Doxygen comments inherited from parent class
44  virtual const char* objectKindName() const;
45 
46  //Doxygen comments inherited from parent class
47  virtual unsigned int netSize() const;
48 
49  // self reference
50  virtual DtPortalEmitterSystemObject* self() const;
51 
52  //Doxygen comments inherited from parent class
53  virtual void writeSelfToBuffer( void* buffer ) const ;
54 
55  //Doxygen comments inherited from parent class
56  virtual void readSelfFromBuffer(const void* buffer);
57 
58  //Doxygen comments inherited from parent class
59  virtual std::ostream& printDataToStream( std::ostream& stream ) const;
60 
61  //Doxygen comments inherited from parent class
62  static DtPortalMessage* create();
63 
68 
69  //Doxygen comments inherited from parent class
70  virtual DtPortalMessageKind kind() const;
71 
75 
77  DtDEC_ATTRIBUTE( DtU32, EmitterType, emitterType );
78 
80  DtDEC_ATTRIBUTE( DtU32, EmitterFunctionCode, emitterFunctionCode );
81 
83  DtDEC_ATTRIBUTE( DtU32, EmitterIndex, emitterIndex );
84 
87  DtDEC_ATTRIBUTE( DtString, EventIdentifier, eventIdentifier );
88 
90  DtDEC_ATTRIBUTE( DtEmitterBeamList, EmitterBeamList, emitterBeamList );
91 
93 
95 public:
96  bool isBeamWithinList( DtU8 beamId ) const;
97  DtEmitterBeamData* findBeam( DtU8 beamId );
98  const DtEmitterBeamData* findBeam( DtU8 beamId ) const;
99 
100 private:
101 
102 }; //end class DtPortalEmitterSystemObject
103 
105 {
106  return new DtPortalEmitterSystemObject();
107 }
108 
110 {
111  return "Emitter System";
112 }
113 
115 {
116  return theKind;
117 }
118 
119 }
120 
121 #endif //end #ifndef pEmitterSystemObject_H_

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)