RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
vrpn_byte_order 命名空间参考

Internal header providing unbuffering facilities for a number of types. 更多...

函数

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 >
hton (T input)
 
template<typename T >
ntoh (T input)
 

详细描述

Internal header providing unbuffering facilities for a number of types.

日期
2011
作者
Ryan Pavlik rpavl.nosp@m.ik@i.nosp@m.astat.nosp@m.e.ed.nosp@m.u and abiry.nosp@m.an@r.nosp@m.yand..nosp@m.net http://academic.cleardefinition.com/ Iowa State University Virtual Reality Applications Center Human-Computer Interaction Graduate Program

Contains overloaded hton() and ntoh() functions that forward to their correctly-typed implementations.

函数说明

◆ hton() [1/5]

template<typename T >
T hton ( T input)
inline

Templated hton that type-puns to the same-sized uint type as a fallback for those types not explicitly defined above.

+ 函数调用图:

◆ hton() [2/5]

vrpn_float64 hton ( vrpn_float64 hostval)
inline

host to network byte order for 64-bit floats, using vrpn_htond

◆ hton() [3/5]

vrpn_uint16 hton ( vrpn_uint16 hostval)
inline

host to network byte order for 16-bit uints

◆ hton() [4/5]

vrpn_uint32 hton ( vrpn_uint32 hostval)
inline

host to network byte order for 32-bit uints

◆ hton() [5/5]

vrpn_uint8 hton ( vrpn_uint8 hostval)
inline

host to network byte order for 8-bit uints is a no-op

+ 这是这个函数的调用关系图:

◆ ntoh() [1/5]

template<typename T >
T ntoh ( T input)
inline

Templated ntoh that type-puns to the same-sized uint type as a fallback for those types not explicitly defined above.

+ 函数调用图:

◆ ntoh() [2/5]

vrpn_float64 ntoh ( vrpn_float64 netval)
inline

network to host byte order for 64-bit floats, using vrpn_ntohd

◆ ntoh() [3/5]

vrpn_uint16 ntoh ( vrpn_uint16 netval)
inline

network to host byte order for 16-bit uints

◆ ntoh() [4/5]

vrpn_uint32 ntoh ( vrpn_uint32 netval)
inline

network to host byte order for 32-bit uints

◆ ntoh() [5/5]

vrpn_uint8 ntoh ( vrpn_uint8 netval)
inline

network to host byte order for 8-bit uints is a no-op

+ 这是这个函数的调用关系图: