vrpn 07.35
Virtual Reality Peripheral Network
|
Internal header providing unbuffering facilities for a number of types. More...
Namespaces | |
namespace | vrpn_detail |
Functions | |
vrpn_uint8 | hton (vrpn_uint8 hostval) |
host to network byte order for 8-bit uints is a no-op | |
vrpn_uint8 | ntoh (vrpn_uint8 netval) |
network to host byte order for 8-bit uints is a no-op | |
vrpn_uint16 | hton (vrpn_uint16 hostval) |
host to network byte order for 16-bit uints | |
vrpn_uint16 | ntoh (vrpn_uint16 netval) |
network to host byte order for 16-bit uints | |
vrpn_uint32 | hton (vrpn_uint32 hostval) |
host to network byte order for 32-bit uints | |
vrpn_uint32 | ntoh (vrpn_uint32 netval) |
network to host byte order for 32-bit uints | |
vrpn_float64 | hton (vrpn_float64 hostval) |
host to network byte order for 64-bit floats, using vrpn_htond | |
vrpn_float64 | ntoh (vrpn_float64 netval) |
network to host byte order for 64-bit floats, using vrpn_ntohd | |
template<typename T > | |
T | hton (T input) |
Templated hton that type-puns to the same-sized uint type as a fallback for those types not explicitly defined above. | |
template<typename T > | |
T | ntoh (T input) |
Templated ntoh that type-puns to the same-sized uint type as a fallback for those types not explicitly defined above. | |
Internal header providing unbuffering facilities for a number of types.
Contains overloaded hton() and ntoh() functions that forward to their correctly-typed implementations.
|
inline |
Templated hton that type-puns to the same-sized uint type as a fallback for those types not explicitly defined above.
Definition at line 295 of file vrpn_Shared.h.
References hton().
|
inline |
host to network byte order for 64-bit floats, using vrpn_htond
Definition at line 288 of file vrpn_Shared.h.
References vrpn_htond().
|
inline |
host to network byte order for 16-bit uints
Definition at line 276 of file vrpn_Shared.h.
|
inline |
host to network byte order for 32-bit uints
Definition at line 282 of file vrpn_Shared.h.
|
inline |
host to network byte order for 8-bit uints is a no-op
Definition at line 270 of file vrpn_Shared.h.
Referenced by hton().
|
inline |
Templated ntoh that type-puns to the same-sized uint type as a fallback for those types not explicitly defined above.
Definition at line 308 of file vrpn_Shared.h.
References ntoh().
|
inline |
network to host byte order for 64-bit floats, using vrpn_ntohd
Definition at line 291 of file vrpn_Shared.h.
References vrpn_ntohd().
|
inline |
network to host byte order for 16-bit uints
Definition at line 279 of file vrpn_Shared.h.
|
inline |
network to host byte order for 32-bit uints
Definition at line 285 of file vrpn_Shared.h.
|
inline |
network to host byte order for 8-bit uints is a no-op
Definition at line 273 of file vrpn_Shared.h.
Referenced by ntoh().