#include "ccpp_dds_dcps.h"
#include <iostream>
Go to the source code of this file.
Functions | |
bool | checkHandle (void *handle, string info) |
bool | checkStatus (DDS::ReturnCode_t status, const char *info) |
string | getErrorName (DDS::ReturnCode_t status) |
bool checkHandle | ( | void * | handle, |
string | info | ||
) |
Check whether a valid handle has been returned. If not, then terminate.
Definition at line 62 of file checkStatus.cpp.
bool checkStatus | ( | DDS::ReturnCode_t | status, |
const char * | info | ||
) |
Check the return status for errors. If there is an error, then terminate.
Definition at line 49 of file checkStatus.cpp.
string getErrorName | ( | DDS::ReturnCode_t | status | ) |
Returns the name of an error code.
Definition at line 41 of file checkStatus.cpp.