Public Types

deNetworkValue Class Reference

Network Value Class. More...

#include <deNetworkValue.h>

Inheritance diagram for deNetworkValue:
deNetworkValueData deNetworkValueFloat deNetworkValueInteger deNetworkValuePoint2 deNetworkValuePoint3 deNetworkValueQuaternion deNetworkValueString deNetworkValueVector2 deNetworkValueVector3

List of all members.

Public Types

enum  eValueFormats {
  evfSInt8, evfUInt8, evfSInt16, evfUInt16,
  evfSInt32, evfUInt32, evfFloat16, evfFloat32,
  evfFloat64
}
 

Value formats.

More...

Public Member Functions

Constructors and Destructors
 deNetworkValue ()
 Creates a new network value object.
virtual ~deNetworkValue ()
 Cleans up the network value object.
Visiting
virtual void Visit (deNetworkValueVisitor *visitor)
 Visits the collider.

Detailed Description

Network Value Class.

Defines a value in a network state. Network state properties are defined by a name that is unique inside the parent network state. The type indicates what kind of value is stored in the value. A set of typical types is provided which should be enough to represent states across the network. In addtion each network state value has also a predictor assigned. Predictors are used to cut down on the number of packets send over the network by predicting the upcoming value of a value according to rules.

Author:
Plüss Roland
Version:
1.0
Date:
2008

Member Enumeration Documentation

Value formats.

Enumerator:
evfSInt8 

8-Bit signed integer.

evfUInt8 

8-Bit unsigned integer.

evfSInt16 

16-Bit signed integer.

evfUInt16 

16-Bit unsigned integer.

evfSInt32 

32-Bit signed integer.

evfUInt32 

32-Bit unsigned integer.

evfFloat16 

16-Bit float.

evfFloat32 

32-Bit float.

evfFloat64 

64-Bit float.


Constructor & Destructor Documentation

deNetworkValue::deNetworkValue (  )

Creates a new network value object.

virtual deNetworkValue::~deNetworkValue (  ) [virtual]

Cleans up the network value object.


Member Function Documentation

virtual void deNetworkValue::Visit ( deNetworkValueVisitor visitor ) [virtual]

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