• Classes
  • Namespaces
  • Files
  • Related Pages
  • File List
  • File Members

jconttest_if.idl

Go to the documentation of this file.
00001 /*
00002  *    ALMA - Atacama Large Millimiter Array
00003  *    (c) European Southern Observatory, 2002
00004  *    Copyright by ESO (in the framework of the ALMA collaboration),
00005  *    All rights reserved
00006  *
00007  *    This library is free software; you can redistribute it and/or
00008  *    modify it under the terms of the GNU Lesser General Public
00009  *    License as published by the Free Software Foundation; either
00010  *    version 2.1 of the License, or (at your option) any later version.
00011  *
00012  *    This library is distributed in the hope that it will be useful,
00013  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  *    Lesser General Public License for more details.
00016  *
00017  *    You should have received a copy of the GNU Lesser General Public
00018  *    License along with this library; if not, write to the Free Software
00019  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, 
00020  *    MA 02111-1307  USA
00021  */
00022 #ifndef _JCONTTEST_IDL_
00023 #define _JCONTTEST_IDL_
00024 
00025 #include <acscommon.idl>
00026 #include <acscomponent.idl>
00027 #include <ACSErrTypeCommon.idl>
00028 
00029 #pragma prefix "alma"
00030 
00031 // Module for test components. 
00032 // These are meant more for ACS internal tests rather than for demo purposes,
00033 // although they should be instructive at the same time.
00034 // 
00035 module jconttest
00036 {
00037         interface ContainerServicesTester : ACS::ACSComponent
00038         {
00039                 boolean testComponentName(out string compName);
00040                 boolean testStateManager(out string currStateName);
00041 
00042                 boolean testGetDynamicDummyComponent(out string compName); 
00043                 
00050                 boolean testGetReferenceWithCustomClientSideTimeout(); 
00051                 
00052                 boolean testGetDefaultIdentifierArchive(out string compName);
00053 
00054                 boolean testGetThreadFactory(in long numThreads, in long busyLoopCount, in boolean randomize);
00055                 
00060                 void testFindDummyComponentsByType(out ACS::stringSeq curls) raises (ACSErrTypeCommon::CouldntPerformActionEx);
00061                 
00067                 void testGetCollocatedComponent(in string curl, in string compType, in string targetCurl) raises (ACSErrTypeCommon::CouldntPerformActionEx);
00068                 
00076                 void testGetComponentNonSticky(in string curl, in boolean release) raises (ACSErrTypeCommon::CouldntPerformActionEx);
00077                 
00078         };
00079 
00080         
00081         interface DummyComponent : ACS::ACSComponent
00082         {
00083                 void dummyComponentsCanDoCloseToNothing();
00084                 void callThatTakesSomeTime(in long timeInMillisec);
00085         };
00086 
00090         interface DummyComponent2 : DummyComponent
00091         {
00092         };
00093 
00094 
00098         interface DummyComponentWrapper : ACS::ACSComponent
00099         {
00105                 boolean callDummyComponentWithTime(in long timeInMillisec) 
00106                         raises (ACSErrTypeCommon::CouldntPerformActionEx);
00107         };
00108 
00109 
00110         interface DataReceiver : ACS::ACSComponent
00111         {
00112                 void storeThis(in string data);
00113                 double stop();
00114         };
00115 
00116 
00120         interface ComponentWithBadNulls : ACS::ACSComponent
00121         {
00122                 enum Enum1 { MY_ONLY_VALUE }; 
00123 
00124                 struct Struct1 
00125                 {
00126                         string mystring;
00127                         Enum1 myenum1;
00128                 };
00129                 
00130                 typedef sequence < Struct1 > Struct1Seq;
00131                 
00132                 struct Struct2
00133                 {
00134                         Struct1 mystruct1;
00135                         Struct1Seq seqOfStruct1;
00136                 };
00137                 
00138                 Struct1 methodWithReturnData(in string instring, in Struct1 instruct1,
00139                                                 inout string inoutstring, inout Struct1 inoutstruct1, 
00140                                                 out string outstring, out Struct1 outstruct1);
00141         };
00142         
00143 };
00144 
00145 #endif 

Generated on Fri Apr 15 2016 15:13:14 for ACS-2016.4 IDL interfaces by  doxygen 1.7.0