Collaboration diagram for EmissionSystem:

Public Member Functions | |
| EmissionSystem () | |
| void | operator= (const EmissionSystem &_v) |
| bool | operator== (const EmissionSystem &s2) const |
| bool | operator!= (const EmissionSystem &a) const |
| void | swapBytes () |
| EmitterBeamData * | getEmitterBeamData (const int idx) |
| const EmitterBeamData * | getEmitterBeamData (const int idx) const |
Public Attributes | |
| unsigned char | systemDataLength |
| unsigned char | numberOfBeams |
| unsigned short | padding1 |
| EmitterSystem | emitterSystem |
| vectorDIS | location |
Friends | |
| std::ostream & | operator<< (std::ostream &s, const EmissionSystem &v) |
| std::ostream & | operator<< (std::ostream &s, const EmissionSystem *const v) |
| EmissionSystem::EmissionSystem | ( | ) | [inline] |
Constructor(s).
| void EmissionSystem::operator= | ( | const EmissionSystem & | _v | ) | [inline] |
Assignment operator (does NOT copy the beams which follow the EmissionSystem structure).
| bool EmissionSystem::operator== | ( | const EmissionSystem & | s2 | ) | const [inline] |
Compare to another EmissionSystem structure.
systemDataLength == s2.systemDataLength Don't compare the total length
| bool EmissionSystem::operator!= | ( | const EmissionSystem & | a | ) | const [inline] |
| void EmissionSystem::swapBytes | ( | ) | [inline] |
Swap bytes 'to' or 'from' the network.
Swap our stuff first
Then swap emission data
| EmitterBeamData* EmissionSystem::getEmitterBeamData | ( | const int | idx | ) | [inline] |
Returns a pointer to the idx'th EmitterBeamData structure; Note: This ONLY works after the emitter beam data structures have been created and initialized! (The beamDataLength's in the EmitterBeamData structures, as well as our 'numberOfBeams' member variable, need to be correct for this to work) Note: 'idx' is zero based, so a idx == 1 will return the second EmitterBeamData structure
First Emitter beam data is just after this structure
step down to the correct beam data using 'beamDataLength'
| const EmitterBeamData* EmissionSystem::getEmitterBeamData | ( | const int | idx | ) | const [inline] |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const EmissionSystem & | v | |||
| ) | [friend] |
Friendly print function.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const EmissionSystem *const | v | |||
| ) | [friend] |
Another friendly print functions.
| unsigned char EmissionSystem::systemDataLength |
Length of this system data, in 32bit words, including the Emitter Beam Data.
| unsigned char EmissionSystem::numberOfBeams |
Number of beams (EmitterBeamData's that follow).
| unsigned short EmissionSystem::padding1 |
Descrption of the Emitter System.
Location of emitter system; entities ref system (meters).
1.5.0