Electronics and Software
Engineering Innovation
Beam-lib  2.15.1
BTypes.h File Reference
#include <stdint.h>
#include <sys/types.h>
#include <vector>

Classes

class  BDataChunk
 
struct  BObjMember
 

Typedefs

typedef bool Bool
 
typedef int8_t BInt8
 
typedef uint8_t BUInt8
 
typedef int16_t BInt16
 
typedef uint16_t BUInt16
 
typedef int32_t BInt32
 
typedef uint32_t BUInt32
 
typedef int64_t BInt64
 
typedef uint64_t BUInt64
 
typedef float BFloat32
 
typedef double BFloat64
 
typedef char BChar
 
typedef BInt32 BInt
 
typedef BUInt32 BUInt
 
typedef BFloat32 BFloat
 
typedef BFloat64 BDouble
 
typedef size_t BSize
 
typedef std::vector< BFloat32BArrayFloat
 
typedef std::vector< BFloat64BArrayDouble
 
typedef BUInt32 BTimeout
 

Enumerations

enum  BEventType {
  BEventTypeNone, BEventTypeError, BEventTypeRead, BEventTypeWrite,
  BEventTypeDisconnect
}
 
enum  BEventWaitSet {
  BEventWaitNone = 0x00, BEventWaitError = 0x01, BEventWaitRead = 0x02, BEventWaitWrite = 0x04,
  BEventWaitDisconnect = 0x08, BEventWaitAny = 0xFFFFFFFF
}
 
enum  BType {
  BTypeNone, BTypeBool, BTypeInt8, BTypeUInt8,
  BTypeInt16, BTypeUInt16, BTypeInt32, BTypeUInt32,
  BTypeInt64, BTypeUInt64, BTypeFloat32, BTypeFloat64,
  BTypeChar, BTypeString, BTypeError, BTypeTime,
  BTypeTimeUs, BTypeObj = 100
}
 
enum  BTypeComp {
  BTypeCompSingle, BTypeCompArray, BTypeCompArrayFixed, BTypeCompList,
  BTypeCompDict
}
 

Functions

BTimeout timeoutTicks (BTimeout timeoutUs)
 
void byteSwap8 (void *d, void *s)
 
void byteSwap16 (void *d, void *s)
 
void byteSwap32 (void *d, void *s)
 
void byteSwap64 (void *d, void *s)
 

Variables

const BTimeout BTimeoutForever = 0xFFFFFFFF
 

Typedef Documentation

◆ BArrayDouble

typedef std::vector<BFloat64> BArrayDouble

◆ BArrayFloat

typedef std::vector<BFloat32> BArrayFloat

◆ BChar

typedef char BChar

◆ BDouble

typedef BFloat64 BDouble

◆ BFloat

typedef BFloat32 BFloat

◆ BFloat32

typedef float BFloat32

◆ BFloat64

typedef double BFloat64

◆ BInt

typedef BInt32 BInt

◆ BInt16

typedef int16_t BInt16

◆ BInt32

typedef int32_t BInt32

◆ BInt64

typedef int64_t BInt64

◆ BInt8

typedef int8_t BInt8

◆ Bool

typedef bool Bool

◆ BSize

typedef size_t BSize

◆ BTimeout

typedef BUInt32 BTimeout

◆ BUInt

typedef BUInt32 BUInt

◆ BUInt16

typedef uint16_t BUInt16

◆ BUInt32

typedef uint32_t BUInt32

◆ BUInt64

typedef uint64_t BUInt64

◆ BUInt8

typedef uint8_t BUInt8

Enumeration Type Documentation

◆ BEventType

enum BEventType
Enumerator
BEventTypeNone 
BEventTypeError 
BEventTypeRead 
BEventTypeWrite 
BEventTypeDisconnect 

◆ BEventWaitSet

Enumerator
BEventWaitNone 
BEventWaitError 
BEventWaitRead 
BEventWaitWrite 
BEventWaitDisconnect 
BEventWaitAny 

◆ BType

enum BType
Enumerator
BTypeNone 
BTypeBool 
BTypeInt8 
BTypeUInt8 
BTypeInt16 
BTypeUInt16 
BTypeInt32 
BTypeUInt32 
BTypeInt64 
BTypeUInt64 
BTypeFloat32 
BTypeFloat64 
BTypeChar 
BTypeString 
BTypeError 
BTypeTime 
BTypeTimeUs 
BTypeObj 

◆ BTypeComp

enum BTypeComp
Enumerator
BTypeCompSingle 
BTypeCompArray 
BTypeCompArrayFixed 
BTypeCompList 
BTypeCompDict 

Function Documentation

◆ byteSwap16()

void byteSwap16 ( void *  d,
void *  s 
)
inline

◆ byteSwap32()

void byteSwap32 ( void *  d,
void *  s 
)
inline

◆ byteSwap64()

void byteSwap64 ( void *  d,
void *  s 
)
inline

◆ byteSwap8()

void byteSwap8 ( void *  d,
void *  s 
)
inline

◆ timeoutTicks()

BTimeout timeoutTicks ( BTimeout  timeoutUs)
inline

Variable Documentation

◆ BTimeoutForever

const BTimeout BTimeoutForever = 0xFFFFFFFF