Objects3D.ServerCube Class Reference

Cube class enhanced with data needed by the server. More...

List of all members.

Public Member Functions

 ServerCube ()
byte[] GetBytes ()
 Method returning binary representation of ServerCube instance.
bool SetBytes (byte[] ABytes, int AOffset)
 Method setting binary representation of ServerCube instance.
bool Assign (ServerCube AServerCube)
 Assigns the fields of the current instance the values of the passed instance.

Protected Attributes

Cube FCube = null
Coordinate FRotSpeed = null

Properties

static int ByteSize [get]
 Property containing the length of the binary representation of ServerCube.
Cube Cube [get, set]
 Property containing the Cube instance.
Coordinate RotSpeed [get, set]
 Property containing the cube rotation speed.


Detailed Description

Cube class enhanced with data needed by the server.

Author:
Kevin Niehage

Definition at line 22 of file ServerCube.cs.


Constructor & Destructor Documentation

Objects3D.ServerCube.ServerCube (  ) 


Member Function Documentation

byte [] Objects3D.ServerCube.GetBytes (  ) 

Method returning binary representation of ServerCube instance.

GetBytes

Author:
Kevin Niehage
Returns:
binary representation of ServerCube instance

Definition at line 57 of file ServerCube.cs.

References Objects3D.ServerCube.ByteSize, Objects3D.ServerCube.FCube, Objects3D.ServerCube.FRotSpeed, Objects3D.Coordinate.GetBytes(), and Objects3D.Cube.GetBytes().

Referenced by Objects3D.Network.GetServerCubes().

bool Objects3D.ServerCube.SetBytes ( byte[]  ABytes,
int  AOffset 
)

Method setting binary representation of ServerCube instance.

SetBytes

Author:
Kevin Niehage
Parameters:
[in] ABytes array of byte containing the binary representation
[in] AOffset value defining from which position of the array the binary representation is to be read
Returns:
indicator if method worked correctly

Definition at line 82 of file ServerCube.cs.

References Objects3D.ServerCube.ByteSize, Objects3D.ServerCube.FCube, Objects3D.ServerCube.FRotSpeed, Objects3D.Coordinate.SetBytes(), and Objects3D.Cube.SetBytes().

bool Objects3D.ServerCube.Assign ( ServerCube  AServerCube  ) 

Assigns the fields of the current instance the values of the passed instance.

Assign

Author:
Kevin Niehage
Parameters:
[in] ServerCube instance
Returns:
indicator if method worked correctly

Definition at line 148 of file ServerCube.cs.

References Objects3D.Coordinate.Assign(), Objects3D.Cube.Assign(), Objects3D.ServerCube.Cube, Objects3D.ServerCube.FCube, Objects3D.ServerCube.FRotSpeed, and Objects3D.ServerCube.RotSpeed.


Member Data Documentation

Cube Objects3D.ServerCube.FCube = null [protected]


Property Documentation

Objects3D.ServerCube::ByteSize [static, get]

Property containing the length of the binary representation of ServerCube.

Author:
Kevin Niehage

Definition at line 41 of file ServerCube.cs.

Referenced by Objects3D.ServerCube.GetBytes(), and Objects3D.ServerCube.SetBytes().

Objects3D.ServerCube::Cube [get, set]

Objects3D.ServerCube::RotSpeed [get, set]

Property containing the cube rotation speed.

Author:
Kevin Niehage

Definition at line 125 of file ServerCube.cs.

Referenced by Objects3D.ServerCube.Assign().


The documentation for this class was generated from the following file:

Generated on Fri Nov 14 09:05:12 2008 for Cubesł by  doxygen 1.5.6