00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef OBITDISPLAY_H
00029 #define OBITDISPLAY_H
00030
00031 #include "Obit.h"
00032 #include "ObitErr.h"
00033 #include "ObitRPC.h"
00034 #include "ObitDConCleanWindow.h"
00035
00036
00163
00170 enum obitDisplayRequest {
00172 OBIT_Request_Continue = 0,
00174 OBIT_Request_Abort,
00176 OBIT_Request_Quit,
00178 OBIT_Request_NoTV,
00180 OBIT_Request_View,
00182 OBIT_Request_Edit
00183 };
00185 typedef enum obitDisplayRequest ObitDisplayRequest;
00186
00187
00189 typedef struct {
00190 #include "ObitDisplayDef.h"
00191 } ObitDisplay;
00192
00193
00199 #define ObitDisplayUnref(in) ObitUnref (in)
00200
00206 #define ObitDisplayRef(in) ObitRef (in)
00207
00214 #define ObitDisplayIsA(in) ObitIsA (in, ObitDisplayGetClass())
00215
00216
00218 void ObitDisplayClassInit (void);
00219
00221 ObitDisplay* newObitDisplay (gchar* name);
00222
00224 ObitDisplay* ObitDisplayCreate (gchar* name, gchar *ServerURL, ObitErr *err);
00226 typedef ObitDisplay* (*ObitDisplayCreateFP) (gchar* name, gchar *ServerURL,
00227 ObitErr *err);
00228
00230 gconstpointer ObitDisplayGetClass (void);
00231
00233 gboolean ObitDisplayShow (ObitDisplay* display, Obit *image,
00234 ObitDConCleanWindow *window,
00235 gint field, ObitErr *err);
00237 typedef gboolean (*ObitDisplayShowFP) (ObitDisplay* display, Obit *image,
00238 ObitDConCleanWindow *window, gint field,
00239 ObitErr *err);
00240
00242 void ObitDisplayTurnOn (ObitDisplay* display);
00244 typedef void (*ObitDisplayTurnOnFP) (ObitDisplay* display);
00245
00247 void ObitDisplayTurnOff (ObitDisplay* display);
00249 typedef void (*ObitDisplayTurnOffFP) (ObitDisplay* display);
00250
00251
00252
00258 typedef struct {
00259 #include "ObitDisplayClassDef.h"
00260 } ObitDisplayClassInfo;
00261
00262 #endif