32#ifndef RCSC_RCG_UTIL_H
33#define RCSC_RCG_UTIL_H
342 const TeamT & team_l,
343 const TeamT & team_r,
358 const TeamT & team_l,
359 const TeamT & team_r,
384 const TeamT & team_l,
385 const TeamT & team_r,
std::int32_t Int32
type of the 32bits integer value
Definition: types.h:50
std::int16_t Int16
type of the 16bits integer value
Definition: types.h:46
generic ball data for display information
Definition: types.h:561
generic player data for display information
Definition: types.h:597
show information
Definition: types.h:1121
team information
Definition: types.h:1017
ball data
Definition: types.h:244
message data
Definition: types.h:165
heterogenious player trade-off parametors
Definition: types.h:484
player data
Definition: types.h:255
player type parameters
Definition: types.h:307
object data
Definition: types.h:132
server parametors
Definition: types.h:341
view data.
Definition: types.h:297
view data of rcssmonitor v2 protocol
Definition: types.h:283
view data of rcssmonitor v1 protocol
Definition: types.h:154
team data
Definition: types.h:145
SideID
side type definition
Definition: types.h:47
Int16 nltons(const Int32 &val)
convert network byte order long value to network byte order short value convert v2 protocol -> v1 pro...
Int32 nstonl(const Int16 val)
convert network byle order short value to network byte order long value v1 protocol -> v2 protocol.
double nstohd(const Int16 val)
convert network byte order short value to floating point number
float nltohf(const Int32 &val)
convert network byte order Int32 value to floating point number for rcsmonitor v2 protocol
Int32 hdtonl(const double &val)
convert a floating point number to the network byte order Int32 value for rcsmonitor v2 protocol
Int16 hftons(const float &val)
convert local floating point value to thnetwork byte order short value
double nltohd(const Int32 &val)
convert network byte order long value to floating point number for rcsmonitor v2 protocol
Int16 hbtons(const bool val)
convert local boolean value -> network byte order short value
int nstohi(const Int16 val)
convert network byte order Int15 value to integer
bool nstohb(const Int16 val)
convert network byte order Int16 value to bool
Int16 hitons(const int val)
convert local integer value to network byte order Int16 value
void convert(const pos_t &from, BallT &to)
convert pos_t to BallT
Int32 hftonl(const float &val)
convert a floating point number to the network byte order Int32 value for rcsmonitor v2 protocol
Int16 hdtons(const double &val)
convert local floating point value to thnetwork byte order short value
std::string to_string(const player_type_t &from)
build server message from old format data
float nstohf(const Int16 val)
convert network byte order short value to floating point number