YARP
Yet Another Robot Platform
NetType.cpp File Reference
#include <yarp/os/NetType.h>
#include <yarp/os/ManagedBytes.h>
#include <yarp/os/impl/LogComponent.h>
#include <clocale>
#include <cstdlib>
#include <cstring>
#include <limits>
+ Include dependency graph for NetType.cpp:

Go to the source code of this file.

Macros

#define YARP_DOUBLE_TO_STRING_MAX_LENGTH   (16 + DECIMAL_DIG + YARP_DBL_EXP_DIG)
 

Functions

static void make_crc_table ()
 
static unsigned long update_crc (unsigned long crc, unsigned char *buf, size_t len)
 

Variables

static unsigned long crc_table [256]
 
static int crc_table_computed = 0
 

Macro Definition Documentation

◆ YARP_DOUBLE_TO_STRING_MAX_LENGTH

#define YARP_DOUBLE_TO_STRING_MAX_LENGTH   (16 + DECIMAL_DIG + YARP_DBL_EXP_DIG)

Definition at line 34 of file NetType.cpp.

Function Documentation

◆ make_crc_table()

static void make_crc_table ( )
static

Definition at line 209 of file NetType.cpp.

◆ update_crc()

static unsigned long update_crc ( unsigned long  crc,
unsigned char *  buf,
size_t  len 
)
static

Definition at line 234 of file NetType.cpp.

Variable Documentation

◆ crc_table

unsigned long crc_table[256]
static

Definition at line 203 of file NetType.cpp.

◆ crc_table_computed

int crc_table_computed = 0
static

Definition at line 206 of file NetType.cpp.