TactileSensor.h File Reference
+ Include dependency graph for TactileSensor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FrameData
 
struct  PeriodicFrameData
 
struct  tac_matrix_info_t
 
struct  tac_system_information_t
 
class  TactileSensor
 

Macros

#define extract_short(array, index)   ( (unsigned short)array[index] | ( (unsigned short)array[index + 1] << 8 ) )
 
#define TAC_CHECK_RES(res, expected, resp)
 

Functions

std::ostream & operator<< (std::ostream &strm, const TactileSensor &a)
 

Macro Definition Documentation

◆ extract_short

#define extract_short (   array,
  index 
)    ( (unsigned short)array[index] | ( (unsigned short)array[index + 1] << 8 ) )

Definition at line 28 of file TactileSensor.h.

◆ TAC_CHECK_RES

#define TAC_CHECK_RES (   res,
  expected,
  resp 
)
Value:
{ \
if ( res < expected ) { \
dbgPrint( "Response length is too short, should be = %d (is %d)\n", expected, res ); \
if ( res > 0 ) free( resp ); \
return -1; \
} \
status_t status = cmd_get_response_status( resp ); \
if ( status != E_SUCCESS ) \
{ \
dbgPrint( "Command not successful: %s\n", status_to_str( status ) ); \
free( resp ); \
return -1; \
} \
}

Definition at line 29 of file TactileSensor.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  strm,
const TactileSensor a 
)

Definition at line 330 of file TactileSensor.cpp.

+ Here is the call graph for this function:
status_t
status_t
Definition: Types.h:36
status_to_str
const char * status_to_str(status_t status)
armarx::status
status
Definition: FiniteStateMachine.h:259
if
if(!yyvaluep)
Definition: Grammar.cpp:724
E_SUCCESS
@ E_SUCCESS
Definition: Types.h:38