Main MRPT website > C++ reference for MRPT 1.5.6
Macros | Typedefs | Functions
rptypes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __small_endian
 
#define __attribute__(x)
 
#define RESULT_OK   0
 
#define RESULT_FAIL_BIT   0x80000000
 
#define RESULT_ALREADY_DONE   0x20
 
#define RESULT_INVALID_DATA   (0x8000 | RESULT_FAIL_BIT)
 
#define RESULT_OPERATION_FAIL   (0x8001 | RESULT_FAIL_BIT)
 
#define RESULT_OPERATION_TIMEOUT   (0x8002 | RESULT_FAIL_BIT)
 
#define RESULT_OPERATION_STOP   (0x8003 | RESULT_FAIL_BIT)
 
#define RESULT_OPERATION_NOT_SUPPORT   (0x8004 | RESULT_FAIL_BIT)
 
#define RESULT_FORMAT_NOT_SUPPORT   (0x8005 | RESULT_FAIL_BIT)
 
#define RESULT_INSUFFICIENT_MEMORY   (0x8006 | RESULT_FAIL_BIT)
 
#define IS_OK(x)   ( ((x) & RESULT_FAIL_BIT) == 0 )
 
#define IS_FAIL(x)   ( ((x) & RESULT_FAIL_BIT) )
 

Typedefs

typedef signed char int8_t
 
typedef unsigned char uint8_t
 
typedef __int16 int16_t
 
typedef unsigned __int16 uint16_t
 
typedef __int32 int32_t
 
typedef unsigned __int32 uint32_t
 
typedef __int64 int64_t
 
typedef unsigned __int64 uint64_t
 
typedef int8_t _s8
 
typedef uint8_t _u8
 
typedef int16_t _s16
 
typedef uint16_t _u16
 
typedef int32_t _s32
 
typedef uint32_t _u32
 
typedef int64_t _s64
 
typedef uint64_t _u64
 
typedef uint32_t u_result
 

Functions

typedef _word_size_t (THREAD_PROC *thread_proc_t)(void *)
 

Macro Definition Documentation

#define __attribute__ (   x)

Definition at line 77 of file rptypes.h.

#define __small_endian

Definition at line 74 of file rptypes.h.

#define IS_FAIL (   x)    ( ((x) & RESULT_FAIL_BIT) )
#define IS_OK (   x)    ( ((x) & RESULT_FAIL_BIT) == 0 )

Definition at line 113 of file rptypes.h.

Referenced by mrpt::hwdrivers::CRoboPeakLidar::getDeviceHealth().

#define RESULT_ALREADY_DONE   0x20
#define RESULT_FAIL_BIT   0x80000000

Definition at line 103 of file rptypes.h.

#define RESULT_FORMAT_NOT_SUPPORT   (0x8005 | RESULT_FAIL_BIT)

Definition at line 110 of file rptypes.h.

#define RESULT_INSUFFICIENT_MEMORY   (0x8006 | RESULT_FAIL_BIT)
#define RESULT_INVALID_DATA   (0x8000 | RESULT_FAIL_BIT)
#define RESULT_OK   0

Definition at line 102 of file rptypes.h.

Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::_cacheCapsuledScanData(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_cacheScanData(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_sendCommand(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_waitCapsuledNode(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_waitNode(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_waitResponseHeader(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_waitScanData(), rp::standalone::rplidar::RPlidarDriverSerialImpl::ascendScanData(), rp::standalone::rplidar::RPlidarDriverSerialImpl::checkExpressScanSupported(), rp::standalone::rplidar::RPlidarDriverSerialImpl::checkMotorCtrlSupport(), rp::standalone::rplidar::RPlidarDriverSerialImpl::connect(), mrpt::hwdrivers::CRoboPeakLidar::doProcessSimple(), rp::standalone::rplidar::RPlidarDriverSerialImpl::getDeviceInfo(), rp::standalone::rplidar::RPlidarDriverSerialImpl::getFrequency(), rp::standalone::rplidar::RPlidarDriverSerialImpl::getHealth(), rp::standalone::rplidar::RPlidarDriverSerialImpl::getSampleDuration_uS(), rp::standalone::rplidar::RPlidarDriverSerialImpl::grabScanData(), rp::hal::Thread::join(), rp::standalone::rplidar::RPlidarDriverSerialImpl::reset(), rp::standalone::rplidar::RPlidarDriverSerialImpl::setMotorPWM(), rp::hal::Thread::setPriority(), rp::standalone::rplidar::RPlidarDriverSerialImpl::startMotor(), rp::standalone::rplidar::RPlidarDriverSerialImpl::startScanExpress(), rp::standalone::rplidar::RPlidarDriverSerialImpl::startScanNormal(), rp::standalone::rplidar::RPlidarDriverSerialImpl::stop(), rp::standalone::rplidar::RPlidarDriverSerialImpl::stopMotor(), and rp::hal::Thread::terminate().

#define RESULT_OPERATION_FAIL   (0x8001 | RESULT_FAIL_BIT)
#define RESULT_OPERATION_NOT_SUPPORT   (0x8004 | RESULT_FAIL_BIT)

Definition at line 109 of file rptypes.h.

#define RESULT_OPERATION_STOP   (0x8003 | RESULT_FAIL_BIT)

Definition at line 108 of file rptypes.h.

#define RESULT_OPERATION_TIMEOUT   (0x8002 | RESULT_FAIL_BIT)

Typedef Documentation

typedef int16_t _s16

Definition at line 65 of file rptypes.h.

typedef int32_t _s32

Definition at line 68 of file rptypes.h.

typedef int64_t _s64

Definition at line 71 of file rptypes.h.

typedef int8_t _s8

Definition at line 62 of file rptypes.h.

typedef uint16_t _u16

Definition at line 66 of file rptypes.h.

typedef uint32_t _u32

Definition at line 69 of file rptypes.h.

typedef uint64_t _u64

Definition at line 72 of file rptypes.h.

typedef uint8_t _u8

Definition at line 63 of file rptypes.h.

typedef __int16 int16_t

Definition at line 45 of file rptypes.h.

typedef __int32 int32_t

Definition at line 48 of file rptypes.h.

typedef __int64 int64_t

Definition at line 51 of file rptypes.h.

typedef signed char int8_t

Definition at line 42 of file rptypes.h.

typedef uint32_t u_result

Definition at line 100 of file rptypes.h.

typedef unsigned __int16 uint16_t

Definition at line 46 of file rptypes.h.

typedef unsigned __int32 uint32_t

Definition at line 49 of file rptypes.h.

typedef unsigned __int64 uint64_t

Definition at line 52 of file rptypes.h.

typedef unsigned char uint8_t

Definition at line 43 of file rptypes.h.

Function Documentation

typedef _word_size_t ( THREAD_PROC *  thread_proc_t)



Page generated by Doxygen 1.8.6 for MRPT 1.5.6 Git: 4c65e84 Tue Apr 24 08:18:17 2018 +0200 at mar abr 24 08:26:17 CEST 2018