Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

acserrTestImpl.h

Go to the documentation of this file.
00001 #ifndef _ACSERRTEST_IMPL_H_
00002 #define _ACSERRTEST_IMPL_H_
00003 /*******************************************************************************
00004 *    ALMA - Atacama Large Millimiter Array
00005 *    (c) European Southern Observatory, 2002
00006 *    Copyright by ESO (in the framework of the ALMA collaboration)
00007 *    and Cosylab 2002, All rights reserved
00008 *
00009 *    This library is free software; you can redistribute it and/or
00010 *    modify it under the terms of the GNU Lesser General Public
00011 *    License as published by the Free Software Foundation; either
00012 *    version 2.1 of the License, or (at your option) any later version.
00013 *
00014 *    This library is distributed in the hope that it will be useful,
00015 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 *    Lesser General Public License for more details.
00018 *
00019 *    You should have received a copy of the GNU Lesser General Public
00020 *    License along with this library; if not, write to the Free Software
00021 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00022 *
00023 * "@(#) $Id: acserrTestImpl.h,v 1.40 2005/09/16 13:54:23 vwang Exp $"
00024 *
00025 * who       when      what
00026 * --------  --------  ----------------------------------------------
00027 * almamgr  20/06/01  created
00028 * rlemke   30/08/01  integrated into tat
00029 */
00030 
00031 #ifndef __cplusplus
00032 #error This is a C++ include file and cannot be used from plain C
00033 #endif
00034 
00035 #include "acserrTestS.h"
00036 #include "acserr.h"
00037 
00038 class acserrTestImpl : public POA_acserrTest {
00039 public:
00040   acserrTestImpl(acserrTest* dest, const char *sn);
00041 
00042   ACSErr::Completion * testNoError ( 
00043                                    ) throw ( CORBA::SystemException); 
00044   
00045   ACSErr::Completion * testDefaultError ( 
00046                                    ) throw ( CORBA::SystemException); 
00047   
00048   ACSErr::Completion * test (  CORBA::Long depth,
00049                                     CORBA::Boolean err
00050                                     
00051                                    ) throw ( CORBA::SystemException);
00052   
00053     
00054   void testExceptions ( CORBA::Long depth,
00055                         CORBA::Boolean err
00056                         
00057                         ) throw ( CORBA::SystemException
00058                                            , ACSErrTypeTest::ACSErrTest0Ex
00059                                            , ACSErr::ACSException  );
00060 
00061     // ACSError
00062   CompletionImpl* f1 (int depth, bool iserr);
00063   
00064   void f2(int depth, bool isErr);
00065 
00066 
00067   void shutdown( ) 
00068       throw (CORBA::SystemException );
00069 
00070 protected:
00071   acserrTest_var dest;
00072   int depth;
00073   const char *srvName;
00074 };
00075 
00076 #endif 

Generated on Sun Oct 29 02:26:25 2006 for ACS C++ API by doxygen 1.3.6