Macros | Functions | Variables
yocto_api.cpp File Reference
#include "yocto_api.h"
#include "yapi/yapi.h"
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <cfloat>
#include <cmath>
#include <time.h>
#include <stdarg.h>
#include <math.h>
#include "yapi/yproto.h"
Include dependency graph for yocto_api.cpp:

Go to the source code of this file.

Macros

#define __FILE_ID__   "yocto_api"
 
#define _CRT_SECURE_NO_DEPRECATE
 
#define yySleep(ms)   usleep(ms*1000)
 

Functions

vector< string > _strsplit (const string &str, char delimiter)
 
int _ystrpos (const string &haystack, const string &needle)
 
s64 yatoi (const char *p)
 

Variables

static std::vector< YFunction * > _FunctionCallbacks
 
static yCRITICAL_SECTION _handleEvent_CS
 
static std::vector< YFunction * > _TimedReportCallbackList
 
static yCRITICAL_SECTION _updateDeviceList_CS
 
static double decExp [16]
 
static const char * hexArray = "0123456789ABCDEF"
 

Macro Definition Documentation

#define __FILE_ID__   "yocto_api"

Definition at line 39 of file yocto_api.cpp.

#define _CRT_SECURE_NO_DEPRECATE

Definition at line 40 of file yocto_api.cpp.

#define yySleep (   ms)    usleep(ms*1000)

Definition at line 49 of file yocto_api.cpp.

Function Documentation

vector<string> _strsplit ( const string &  str,
char  delimiter 
)

Definition at line 85 of file yocto_api.cpp.

int _ystrpos ( const string &  haystack,
const string &  needle 
)

Definition at line 75 of file yocto_api.cpp.

s64 yatoi ( const char *  p)

Definition at line 4156 of file yocto_api.cpp.

Variable Documentation

std::vector<YFunction*> _FunctionCallbacks
static

Definition at line 65 of file yocto_api.cpp.

yCRITICAL_SECTION _handleEvent_CS
static

Definition at line 63 of file yocto_api.cpp.

std::vector<YFunction*> _TimedReportCallbackList
static

Definition at line 66 of file yocto_api.cpp.

yCRITICAL_SECTION _updateDeviceList_CS
static

Definition at line 62 of file yocto_api.cpp.

double decExp[16]
static
Initial value:
= {
1.0e-6, 1.0e-5, 1.0e-4, 1.0e-3, 1.0e-2, 1.0e-1, 1.0,
1.0e1, 1.0e2, 1.0e3, 1.0e4, 1.0e5, 1.0e6, 1.0e7, 1.0e8, 1.0e9 }

Definition at line 3971 of file yocto_api.cpp.

const char* hexArray = "0123456789ABCDEF"
static

Definition at line 4114 of file yocto_api.cpp.



yoctopuce_altimeter
Author(s): Anja Sheppard
autogenerated on Mon Jun 10 2019 15:49:13