GRE::LAYER_GENERIC Class Reference

Generic layer that uses delegates to perform actions. More...

#include <gre/lrgeneric.h>

Inheritance diagram for GRE::LAYER_GENERIC:
Inheritance graph
[legend]

List of all members.

Public Types

typedef FastDelegate< int(MDLGPARENT)> DELEGATE_CONTROLPANEL
typedef FastDelegate< int(const
DPOINT2D &point, MISTRING
&string,
SPATMOD::IMAGE::STAGE_ARRAY
&images, GRE::VIEW *view) 
DELEGATE_DATATIPGETCONTENT )
typedef FastDelegate< int(GRE::LAYERDC &)> DELEGATE_DRAW

Public Member Functions

 LAYER_GENERIC (GRE::GROUP *group, CREATEFLAGS createflags=CREATEFLAG_None, GRE::LISTPOS listpos=GRE::LISTPOS_Last, GRE::LAYER *reflayer=0)
virtual ~LAYER_GENERIC ()
 DEPRECATED_MSG ("Use SetDelegateOnDraw2D") void SetDelegateOnDraw(DELEGATE_DRAW delegate)
void SetDelegateOnControlPanel (DELEGATE_CONTROLPANEL delegate)
void SetDelegateOnDataTipGetContent (DELEGATE_DATATIPGETCONTENT delegate)
void SetDelegateOnDraw2D (DELEGATE_DRAW delegate)
void SetDelegateOnDraw3D (DELEGATE_DRAW delegate)
void SetDelegateOnUpdateExtents (DELEGATE_ERRVALUE_NOPARMS delegate)
void SetExtents (const REGION2D &region)

Detailed Description

Generic layer that uses delegates to perform actions.


Member Typedef Documentation

typedef FastDelegate<int(const DPOINT2D& point, MISTRING& string, SPATMOD::IMAGE::STAGE_ARRAY& images, GRE::VIEW* view) GRE::LAYER_GENERIC::DELEGATE_DATATIPGETCONTENT)
typedef FastDelegate<int(GRE::LAYERDC&)> GRE::LAYER_GENERIC::DELEGATE_DRAW

Constructor & Destructor Documentation

GRE::LAYER_GENERIC::LAYER_GENERIC ( GRE::GROUP group,
CREATEFLAGS  createflags = CREATEFLAG_None,
GRE::LISTPOS  listpos = GRE::LISTPOS_Last,
GRE::LAYER reflayer = 0 
) [explicit]

Construct layer and insert into list.

Parameters:
group Group to contain layer
createflags Creation flags
listpos Position in list
reflayer Reference layer for insertion
virtual GRE::LAYER_GENERIC::~LAYER_GENERIC (  )  [virtual]

Destructor.


Member Function Documentation

GRE::LAYER_GENERIC::DEPRECATED_MSG ( "Use SetDelegateOnDraw2D"   )  [inline]
void GRE::LAYER_GENERIC::SetDelegateOnControlPanel ( DELEGATE_CONTROLPANEL  delegate  )  [inline]
void GRE::LAYER_GENERIC::SetDelegateOnDataTipGetContent ( DELEGATE_DATATIPGETCONTENT  delegate  )  [inline]
void GRE::LAYER_GENERIC::SetDelegateOnDraw2D ( DELEGATE_DRAW  delegate  )  [inline]
void GRE::LAYER_GENERIC::SetDelegateOnDraw3D ( DELEGATE_DRAW  delegate  )  [inline]
void GRE::LAYER_GENERIC::SetDelegateOnUpdateExtents ( DELEGATE_ERRVALUE_NOPARMS  delegate  )  [inline]
void GRE::LAYER_GENERIC::SetExtents ( const REGION2D region  ) 

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:34:23 2012 for TNTsdk 2012 by  doxygen 1.6.1