Functions | Variables
check_status.cpp File Reference
#include "opensplice_dds_broker/check_status.h"
Include dependency graph for check_status.cpp:

Go to the source code of this file.

Functions

void checkHandle (void *handle, const char *info)
 
void checkStatus (DDS::ReturnCode_t status, const char *info)
 
const char * getErrorName (DDS::ReturnCode_t status)
 

Variables

const char * RetCodeName [13]
 

Function Documentation

void checkHandle ( void *  handle,
const char *  info 
)

Check whether a valid handle has been returned. If not, then terminate.

Definition at line 66 of file check_status.cpp.

void checkStatus ( DDS::ReturnCode_t  status,
const char *  info 
)

Check the return status for errors. If there is an error, then terminate.

Definition at line 53 of file check_status.cpp.

const char* getErrorName ( DDS::ReturnCode_t  status)

Returns the name of an error code.

Definition at line 45 of file check_status.cpp.

Variable Documentation

const char* RetCodeName[13]
Initial value:
= {
"DDS_RETCODE_OK",
"DDS_RETCODE_ERROR",
"DDS_RETCODE_UNSUPPORTED",
"DDS_RETCODE_BAD_PARAMETER",
"DDS_RETCODE_PRECONDITION_NOT_MET",
"DDS_RETCODE_OUT_OF_RESOURCES",
"DDS_RETCODE_NOT_ENABLED",
"DDS_RETCODE_IMMUTABLE_POLICY",
"DDS_RETCODE_INCONSISTENT_POLICY",
"DDS_RETCODE_ALREADY_DELETED",
"DDS_RETCODE_TIMEOUT",
"DDS_RETCODE_NO_DATA",
"DDS_RETCODE_ILLEGAL_OPERATION" }

Definition at line 27 of file check_status.cpp.



opensplice_dds_broker
Author(s):
autogenerated on Mon Jun 10 2019 14:02:23