OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
gc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CT_NONE   0
 
#define CT_PIXMAP   1
 
#define CT_REGION   2
 
#define CT_UNSORTED   6
 
#define CT_YSORTED   10
 
#define CT_YXSORTED   14
 
#define CT_YXBANDED   18
 
#define GCQREASON_VALIDATE   1
 
#define GCQREASON_CHANGE   2
 
#define GCQREASON_COPY_SRC   3
 
#define GCQREASON_COPY_DST   4
 
#define GCQREASON_DESTROY   5
 
#define GC_CHANGE_SERIAL_BIT   (((uint32_t)1)<<31)
 
#define GC_CALL_VALIDATE_BIT   (1L<<30)
 
#define GCExtensionInterest   (1L<<29)
 
#define DRAWABLE_SERIAL_BITS   (~(GC_CHANGE_SERIAL_BIT))
 
#define MAX_SERIAL_NUM   (1L<<28)
 
#define NEXT_SERIAL_NUMBER
 

Typedefs

typedef struct _GCInterest * GCInterestPtr
 
typedef struct _GC * GCPtr
 

Functions

void ValidateGC ()
 
int ChangeGC ()
 
GCPtr CreateGC ()
 
int CopyGC ()
 
int FreeGC ()
 
void SetGCMask ()
 
GCPtr GetScratchGC ()
 
void FreeScratchGC ()
 

Macro Definition Documentation

◆ CT_NONE

#define CT_NONE   0

Definition at line 31 of file gc.h.

◆ CT_PIXMAP

#define CT_PIXMAP   1

Definition at line 32 of file gc.h.

◆ CT_REGION

#define CT_REGION   2

Definition at line 33 of file gc.h.

◆ CT_UNSORTED

#define CT_UNSORTED   6

Definition at line 34 of file gc.h.

◆ CT_YSORTED

#define CT_YSORTED   10

Definition at line 35 of file gc.h.

◆ CT_YXBANDED

#define CT_YXBANDED   18

Definition at line 37 of file gc.h.

◆ CT_YXSORTED

#define CT_YXSORTED   14

Definition at line 36 of file gc.h.

◆ DRAWABLE_SERIAL_BITS

#define DRAWABLE_SERIAL_BITS   (~(GC_CHANGE_SERIAL_BIT))

Definition at line 49 of file gc.h.

◆ GC_CALL_VALIDATE_BIT

#define GC_CALL_VALIDATE_BIT   (1L<<30)

Definition at line 46 of file gc.h.

◆ GC_CHANGE_SERIAL_BIT

#define GC_CHANGE_SERIAL_BIT   (((uint32_t)1)<<31)

Definition at line 45 of file gc.h.

◆ GCExtensionInterest

#define GCExtensionInterest   (1L<<29)

Definition at line 47 of file gc.h.

◆ GCQREASON_CHANGE

#define GCQREASON_CHANGE   2

Definition at line 40 of file gc.h.

◆ GCQREASON_COPY_DST

#define GCQREASON_COPY_DST   4

Definition at line 42 of file gc.h.

◆ GCQREASON_COPY_SRC

#define GCQREASON_COPY_SRC   3

Definition at line 41 of file gc.h.

◆ GCQREASON_DESTROY

#define GCQREASON_DESTROY   5

Definition at line 43 of file gc.h.

◆ GCQREASON_VALIDATE

#define GCQREASON_VALIDATE   1

Definition at line 39 of file gc.h.

◆ MAX_SERIAL_NUM

#define MAX_SERIAL_NUM   (1L<<28)

Definition at line 51 of file gc.h.

◆ NEXT_SERIAL_NUMBER

#define NEXT_SERIAL_NUMBER
Value:

Definition at line 52 of file gc.h.

Typedef Documentation

◆ GCInterestPtr

typedef struct _GCInterest* GCInterestPtr

Definition at line 55 of file gc.h.

◆ GCPtr

typedef struct _GC* GCPtr

Definition at line 56 of file gc.h.

Function Documentation

◆ ChangeGC()

int ChangeGC ( )

◆ CopyGC()

int CopyGC ( )

◆ CreateGC()

GCPtr CreateGC ( )

◆ FreeGC()

int FreeGC ( )

◆ FreeScratchGC()

void FreeScratchGC ( )

◆ GetScratchGC()

GCPtr GetScratchGC ( )

◆ SetGCMask()

void SetGCMask ( )

◆ ValidateGC()

void ValidateGC ( )
#define MAX_SERIAL_NUM
Definition: gc.h:51
uint32_t globalSerialNumber