UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
ZqbNatGrpObserver Class Reference

#include <zqb_natgrpobserver.hpp>

Inheritance diagram for ZqbNatGrpObserver:
ZqbNatGrpMember ZqbNatGrpMember

Public Member Functions

 ZqbNatGrpObserver (ZqbNatGroup *pNatGroup, QzqArea *pArea=NULL)
 
virtual void onSetCoords ()
 
 ZqbNatGrpObserver (ZqbNatGroup *pNatGroup, QzqArea *pArea=NULL)
 
virtual void onSetCoords ()
 
- Public Member Functions inherited from ZqbNatGrpMember
 ZqbNatGrpMember (ZqbNatGroup *pNatGroup)
 
 ZqbNatGrpMember (ZqbNatGroup *pNatGroup, void(*CustomOnSetCoord)(void *), void *pUserData=NULL)
 
virtual ~ZqbNatGrpMember ()
 
virtual ZqbNatGroupgroup () const
 
virtual void unsetBounds ()
 
virtual void setBounds (double b[2])
 
void setBounds (double b1, double b2)
 
virtual bool getBounds (double b[2]=NULL) const
 
virtual void onTickChange ()
 
 ZqbNatGrpMember (ZqbNatGroup *pNatGroup)
 
 ZqbNatGrpMember (ZqbNatGroup *pNatGroup, void(*CustomOnSetCoord)(void *), void *pUserData=NULL)
 
virtual ~ZqbNatGrpMember ()
 
virtual ZqbNatGroupgroup () const
 
virtual void unsetBounds ()
 
virtual void setBounds (double b[2])
 
void setBounds (double b1, double b2)
 
virtual bool getBounds (double b[2]=NULL) const
 

Additional Inherited Members

- Protected Attributes inherited from ZqbNatGrpMember
ZqbNatGroupm_pNatGroup
 
bool m_bKnownBounds
 
double m_fBounds [2]
 
void(* m_pCustomOnSetCoord )(void *pUserData)
 
void * m_pUserData
 

Detailed Description

Class for waiting for coordinate change of given natural group and optionally making redraw of given area.

Constructor & Destructor Documentation

ZqbNatGrpObserver::ZqbNatGrpObserver ( ZqbNatGroup pNatGroup,
QzqArea pArea = NULL 
)

Create observer member of given natural group and optionally remember area to redraw.

ZqbNatGrpObserver::ZqbNatGrpObserver ( ZqbNatGroup pNatGroup,
QzqArea pArea = NULL 
)

Create observer member of given natural group and optionally remember area to redraw.

Member Function Documentation

virtual void ZqbNatGrpObserver::onSetCoords ( )
virtual

To be called when coodinates are changed.

Reimplemented from ZqbNatGrpMember.

virtual void ZqbNatGrpObserver::onSetCoords ( )
virtual

Redraw associated area when coodinates are changed.

Reimplemented from ZqbNatGrpMember.


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