#include <gre/system.h>
Inheritance diagram for GRE_SYSTEM:

Public Member Functions | |
| ~GRE_SYSTEM () | |
Static Public Member Functions | |
| GRE_SYSTEM & | GetRef () |
| NAMEDREGION_LIST & | GetRegionList () |
| 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 () |
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.
|
|
Destructor.
|
|
|
Get reference to the single GRE_SYSTEM instance.
|
|
|
Get shared region list.
|
|
|
Determine whether to return or continue on serial read error.
|
|
|
Get "handle" for shared "region manager". This method is only available when compiling for X. |
|
|
Check if have displayed warning about mixing georef/ungeoref layers.
|
|
|
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. |
|
|
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. |
|
|
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. |
|
|
Register layout-specific layer types (text, scalebar, legend). By default only the standard geospatial layer are registered. |
|
|
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. |
|
|
Set whether to return serial read error or continue.
|
|
|
Terminate GRE system at program exit. This method should only be called if GRE_SYSTEM::Init() was used. |
|
|
Terminate GRE system at program exit. This method should only be called if GRE_SYSTEM::InitMFC() was used. |
|
|
Terminate GRE system at program exit. This method should only be called if GRE_SYSTEM::InitX() was used. |
1.3.8-20040913