checkStatus.h
Go to the documentation of this file.
00001 
00002 /*
00003  *                         OpenSplice DDS
00004  *
00005  *   This software and documentation are Copyright 2006 to 2009 PrismTech 
00006  *   Limited and its licensees. All rights reserved. See file:
00007  *
00008  *                     $OSPL_HOME/LICENSE 
00009  *
00010  *   for full copyright notice and license terms. 
00011  *
00012  */
00013 
00014 /************************************************************************
00015  * LOGICAL_NAME:    CheckStatus.h
00016  * FUNCTION:        OpenSplice Tutorial example code.
00017  * MODULE:          Tutorial for the C++ programming language.
00018  * DATE             june 2007.
00019  ************************************************************************
00020  * 
00021  * This file contains the headers for the error handling operations.
00022  * 
00023  ***/
00024 
00025 #ifndef __CHECKSTATUS_H__
00026   #define __CHECKSTATUS_H__
00027 
00028   #include "ccpp_dds_dcps.h"
00029   #include <iostream>
00030 
00031   using namespace std;
00032 
00036   string getErrorName(DDS::ReturnCode_t status);
00037 
00041   bool checkStatus(DDS::ReturnCode_t status, const char *info);
00042 
00046   bool checkHandle(void *handle, string info);
00047 
00048 #endif


proxy_common
Author(s): Ronny Hartanto
autogenerated on Mon Oct 6 2014 06:54:18