Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

TNL::NetType Struct Reference

NetType serves as a base class for all bit-compressed versions of the base types that can be transmitted using TNL's RPC mechanism. More...

#include <tnlTypes.h>

Inheritance diagram for TNL::NetType:

TNL::Float< bitCount > TNL::Int< bitCount > TNL::RangedU32< rangeStart, rangeEnd > TNL::SignedFloat< bitCount > TNL::SignedInt< bitCount >

Detailed Description

NetType serves as a base class for all bit-compressed versions of the base types that can be transmitted using TNL's RPC mechanism.

In general, the type names are self-explanatory, providing simple wrappers on the original base types. The template argument for bit counts or numeric ranges is necessary because TNL parses the actual function prototype as a string in order to determine how many bits to use for each RPC parameter.

Template parameters to the NetType templates can be either integer constants or enumeration values. If enumeration values are used, the TNL_DECLARE_RPC_ENUM or TNL_DECLARE_RPC_MEM enum macros must be used to register the enumerations with the RPC system.

Definition at line 84 of file tnlTypes.h.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 18 16:03:37 2005 for Robin Hood: Thieves & Knights by doxygen1.2.18