GRE_SYSTEM Class Reference

GRE "system" container object. More...

#include <gre/system.h>

Inheritance diagram for GRE_SYSTEM:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ~GRE_SYSTEM ()

Static Public Member Functions

GRE_SYSTEMGetRef ()
NAMEDREGION_LISTGetRegionList ()
bool GetReturnSerialReadErr ()
void * GetRgnMgrHandle ()
bool HasDoneWarningGeoMixed ()
void Init ()
void InitMFC ()
void InitX (int numworkpixels=0)
void RegisterLayoutLayerTypes ()
void SetDoneWarningGeoMixed (bool set=true)
void SetReturnSerialReadErr (bool set=true)
void Stop ()
void StopMFC ()
void StopX ()

Detailed Description

GRE "system" container object.

A single instance of this object is automatically created by the GRE system. This object is used as an implied container for all other top-level GRE (usually GRE_VIEWABLE) objects. This provides a convenient place to attach callbacks where notification is desired for all layouts and top-level groups.

Definition at line 41 of file system.h.


Constructor & Destructor Documentation

GRE_SYSTEM::~GRE_SYSTEM  ) 
 

Destructor.


Member Function Documentation

GRE_SYSTEM& GRE_SYSTEM::GetRef  )  [static]
 

Get reference to the single GRE_SYSTEM instance.

NAMEDREGION_LIST& GRE_SYSTEM::GetRegionList  )  [inline, static]
 

Get shared region list.

Returns:
Reference to shared region list. This method is only available when compiling for WIN32_NATIVE.

Definition at line 56 of file system.h.

bool GRE_SYSTEM::GetReturnSerialReadErr  )  [inline, static]
 

Determine whether to return or continue on serial read error.

Definition at line 49 of file system.h.

void* GRE_SYSTEM::GetRgnMgrHandle  )  [inline, static]
 

Get "handle" for shared "region manager".

This method is only available when compiling for X.

Definition at line 63 of file system.h.

bool GRE_SYSTEM::HasDoneWarningGeoMixed  )  [inline, static]
 

Check if have displayed warning about mixing georef/ungeoref layers.

Definition at line 68 of file system.h.

void GRE_SYSTEM::Init  )  [static]
 

Initialize GRE system for non-interactive use.

This will automatically register the standard geospatial layer types. At program exit, GRE_SYSTEM::Stop() should be called for proper cleanup.

void GRE_SYSTEM::InitMFC  )  [static]
 

Initialize GRE system for interactive use in Microsoft Windows with MFC.

This will automatically register the standard geospatial layer types. At program exit, GRE_SYSTEM::StopMFC() should be called for proper cleanup. This is only available when compiling for WIN32_NATIVE and WIN32_MFC.

void GRE_SYSTEM::InitX int  numworkpixels = 0  )  [static]
 

Initialize GRE system for interactive use in X Windows.

This will automatically register the standard geospatial layer types. At program exit, GRE_SYSTEM::StopX() should be called for proper cleanup. This method is only available when compiling for X.

void GRE_SYSTEM::RegisterLayoutLayerTypes  )  [static]
 

Register layout-specific layer types (text, scalebar, legend).

By default only the standard geospatial layer are registered.

void GRE_SYSTEM::SetDoneWarningGeoMixed bool  set = true  )  [inline, static]
 

Set whether have displayed warning about mixing georef/ungeoref layers.

Normally a warning dialog is displayed the first time a user attempts to place both georeferenced and non-georeferenced spatial objects in the same GRE_GROUP. In some processes, such as georeference editing, this is necessary, so this method is provided to avoid the unwanted warning dialog.

Definition at line 107 of file system.h.

void GRE_SYSTEM::SetReturnSerialReadErr bool  set = true  )  [inline, static]
 

Set whether to return serial read error or continue.

Definition at line 112 of file system.h.

void GRE_SYSTEM::Stop  )  [static]
 

Terminate GRE system at program exit.

This method should only be called if GRE_SYSTEM::Init() was used.

void GRE_SYSTEM::StopMFC  )  [static]
 

Terminate GRE system at program exit.

This method should only be called if GRE_SYSTEM::InitMFC() was used.

void GRE_SYSTEM::StopX  )  [static]
 

Terminate GRE system at program exit.

This method should only be called if GRE_SYSTEM::InitX() was used.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:19:54 2004 for TNTsdk by  doxygen 1.3.8-20040913