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

bulkDataReceiver.idl

Go to the documentation of this file.
00001 #ifndef _BULKDATA_RECEIVER_IDL_
00002 #define _BULKDATA_RECEIVER_IDL_
00003 
00004 /*******************************************************************************
00005  *    ALMA - Atacama Large Millimiter Array
00006  *
00007  *    (c) European Southern Observatory, 2002
00008  *    Copyright by ESO (in the framework of the ALMA collaboration)
00009  *    and Cosylab 2002, All rights reserved
00010  *
00011  *    This library is free software; you can redistribute it and/or
00012  *    modify it under the terms of the GNU Lesser General Public
00013  *    License as published by the Free Software Foundation; either
00014  *    version 2.1 of the License, or (at your option) any later version.
00015  *
00016  *    This library is distributed in the hope that it will be useful,
00017  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  *    Lesser General Public License for more details.
00020  *
00021  *    You should have received a copy of the GNU Lesser General Public
00022  *    License along with this library; if not, write to the Free Software
00023  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00024  *
00025  *
00026  * "@(#)"
00027  *
00028  * who       when      what
00029  * --------  --------  ----------------------------------------------
00030  * oat       27/01/05  created
00031  */
00032 
00033 #include <baci.idl>
00034 #include "ACSBulkDataError.idl"
00035 #include "ACSBulkDataStatus.idl"
00036 #include <AVStreams.idl>
00037 #include <bulkData.idl>
00038 
00039 #pragma prefix "alma"
00040 
00045 module bulkdata
00046 {
00047     
00051     interface BulkDataReceiver : ACS::CharacteristicComponent
00052         {
00053         
00064         void openReceiver()
00065             raises (ACSBulkDataError::AVOpenReceiverErrorEx);
00066             
00075         void openReceiverStream(in string stream_name)
00076         raises (ACSBulkDataError::AVOpenReceiverErrorEx);
00077         
00086         void openReceiverStreamCfg(in string stream_name, in string stream_cfg)
00087         raises (ACSBulkDataError::AVOpenReceiverErrorEx);
00088         
00098         void openReceiverFlow(in string stream_name, in string flow_name)
00099         raises (ACSBulkDataError::AVOpenReceiverErrorEx);
00100         
00110         void openReceiverFlowCfg(in string stream_name, in string flow_name, in string flow_cfg)
00111         raises (ACSBulkDataError::AVOpenReceiverErrorEx);
00112 
00113 
00116         BulkDataReceiverConfig getReceiverConfig()
00117             raises (ACSBulkDataError::AVReceiverConfigErrorEx);
00118 
00126         void closeReceiver()
00127             raises (ACSBulkDataError::AVCloseReceiverErrorEx);
00128 
00129     void closeReceiverStream(in string stream_name)
00130         raises (ACSBulkDataError::AVCloseReceiverErrorEx);
00131 
00139         ACSErr::Completion getCbStatus(in unsigned long flowNumber)
00140             raises (ACSBulkDataError::AVInvalidFlowNumberEx, ACSBulkDataError::AVFlowEndpointErrorEx);
00141 
00149         void setTimeout(in unsigned long flowNumber, in unsigned long timeout)
00150             raises (ACSBulkDataError::AVInvalidFlowNumberEx, ACSBulkDataError::AVFlowEndpointErrorEx);
00151 
00160         void setRecvName(in string recvName)
00161             raises (ACSBulkDataError::AVSetReceiverNameErrorEx);
00162 
00171         void subscribeNotification(in ACS::CBvoid notifCb)
00172             raises (ACSBulkDataError::AVNotificationMechanismErrorEx);
00173             
00187         void fwdData2UserCB(in boolean enable);
00188 
00189         };
00190 
00194     interface BulkDataReceiverDistr : BulkDataReceiver
00195         {
00196 
00206         void setReceiver(in BulkDataReceiverConfig receiverConfig)
00207             raises (ACSBulkDataError::AVSetReceiverErrorEx);
00208         };
00209 
00210 };
00211 
00212 #endif

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