00001 /* $Id: ObitGBTCCBPortInfo.h,v 1.1 2006/03/22 18:47:54 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2006 */ 00004 /*; Associated Universities, Inc. Washington DC, USA. */ 00005 /*; */ 00006 /*; This program is free software; you can redistribute it and/or */ 00007 /*; modify it under the terms of the GNU General Public License as */ 00008 /*; published by the Free Software Foundation; either version 2 of */ 00009 /*; the License, or (at your option) any later version. */ 00010 /*; */ 00011 /*; This program is distributed in the hope that it will be useful, */ 00012 /*; but WITHOUT ANY WARRANTY; without even the implied warranty of */ 00013 /*; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ 00014 /*; GNU General Public License for more details. */ 00015 /*; */ 00016 /*; You should have received a copy of the GNU General Public */ 00017 /*; License along with this program; if not, write to the Free */ 00018 /*; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, */ 00019 /*; MA 02139, USA. */ 00020 /*; */ 00021 /*; Correspondence this software should be addressed as follows: */ 00022 /*; Internet email: bcotton@nrao.edu. */ 00023 /*; Postal address: William Cotton */ 00024 /*; National Radio Astronomy Observatory */ 00025 /*; 520 Edgemont Road */ 00026 /*; Charlottesville, VA 22903-2475 USA */ 00027 /*--------------------------------------------------------------------*/ 00028 #ifndef OBITGBTPORTINFO_H 00029 #define OBITGBTPORTINFO_H 00030 #include <glib.h> 00031 #include "Obit.h" 00032 #include "ObitErr.h" 00033 00034 /*-------- Obit: Software for the recently deceased ------------------*/ 00052 /*---------------Class Structure---------------------------*/ 00054 typedef struct { 00055 #include "ObitGBTCCBPortInfoDef.h" /* actual definition */ 00056 } ObitGBTCCBPortInfo; 00057 00058 /*----------------- Macroes ---------------------------*/ 00064 #define ObitGBTCCBPortInfoUnref(in) ObitUnref (in) 00065 00071 #define ObitGBTCCBPortInfoRef(in) ObitRef (in) 00072 00079 #define ObitGBTCCBPortInfoIsA(in) ObitIsA (in, ObitGBTCCBPortInfoGetClass()) 00080 00081 /*---------------Public functions---------------------------*/ 00083 void ObitGBTCCBPortInfoClassInit (void); 00084 00086 ObitGBTCCBPortInfo* newObitGBTCCBPortInfo (gchar* name); 00087 00089 ObitGBTCCBPortInfo* 00090 newObitGBTCCBPortInfoValue (gchar *name, gint disk, gchar *scan, ObitErr *err); 00091 00093 gconstpointer ObitGBTCCBPortInfoGetClass (void); 00094 00096 ObitGBTCCBPortInfo* 00097 ObitGBTCCBPortInfoCopy (ObitGBTCCBPortInfo *in, ObitGBTCCBPortInfo *out, ObitErr *err); 00098 00099 /*-------------------Class Info--------------------------*/ 00105 typedef struct { 00106 #include "ObitGBTCCBPortInfoClassDef.h" /* Actual definition */ 00107 } ObitGBTCCBPortInfoClassInfo; 00108 00109 00110 #endif /* OBITGBTPORTINFO_H */