FOX/ObjCryst++  1.10.X (development)
ObjCryst::WXCrystObjBasicList Class Reference

A List of WXCrystObjBasic. More...

Public Member Functions

 WXCrystObjBasicList ()
 Constructor.
 
 ~WXCrystObjBasicList ()
 Destructor.
 
unsigned int GetNb () const
 Number of objects.
 
void Add (WXCrystObjBasic *)
 Add an object to the list. More...
 
void Remove (WXCrystObjBasic *)
 remove an object from the list
 
bool Show (bool)
 Show or hide all of the windows.
 
void CrystUpdate (const bool updateUI=false, const bool mutexlock=false)
 Forces all objects in the list to update. More...
 
void UpdateUI (const bool mutexlock=false)
 Forces all objects in the list to update. More...
 
void Enable (bool enable)
 

Private Attributes

std::set< WXCrystObjBasic * > mvpWXCrystObj
 List of pointers to the objects.
 

Detailed Description

A List of WXCrystObjBasic.

Definition at line 196 of file wxCryst.h.

Member Function Documentation

void ObjCryst::WXCrystObjBasicList::Add ( WXCrystObjBasic win)

Add an object to the list.

The object is just referenced, not copied.

Definition at line 199 of file wxCryst.cpp.

void ObjCryst::WXCrystObjBasicList::CrystUpdate ( const bool  updateUI = false,
const bool  mutexlock = false 
)

Forces all objects in the list to update.

See WXCrystObjBasic::CrystUpdate()

see WXCrystObjBasic::CrystUpdate() on the use of updateUI and mutexlock

Normally WXCrystObjBasicList::CrystUpdate() should never be used with mutexlock=true, as the mutex locking should be done from the calling object.

Definition at line 223 of file wxCryst.cpp.

void ObjCryst::WXCrystObjBasicList::UpdateUI ( const bool  mutexlock = false)

Forces all objects in the list to update.

See WXCrystObjBasic::CrystUpdate()

see WXCrystObjBasic::UpdateUI() on the use of updateUI and mutexlock.

Normally WXCrystObjBasicList::UpdateUI() should never be used with mutexlock=true, as the mutex locking should be done from the calling object.

Definition at line 233 of file wxCryst.cpp.


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