ObjCryst++  1.5CVS
Public Member Functions | Private Attributes
ObjCryst::WXCrystObjBasicList Class Reference

A List of WXCrystObjBasic. More...

List of all members.

Public Member Functions

 WXCrystObjBasicList ()
 Constructor.
 ~WXCrystObjBasicList ()
 Destructor.
unsigned int GetNb () const
 Number of objects.
void Add (WXCrystObjBasic *)
 Add an object to the list.
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.
void UpdateUI (const bool mutexlock=false)
 Forces all objects in the list to update.
void Enable (bool enable)

Private Attributes

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

Detailed Description

A List of WXCrystObjBasic.


Member Function Documentation

void ObjCryst::WXCrystObjBasicList::Add ( WXCrystObjBasic )

Add an object to the list.

The object is just referenced, not copied.

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.

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.


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