Detailed Description
- See also:
- Class Control.
- Description:
- This class is available in release 3.0 and later only.
This is the base class for Master Controllers. Methods are
available to get and set the sub-controllers, get/set the number of
sub-controllers, and add sub-controllers.
#include <control.h>
List of all
members.
Member Function Documentation
virtual void SetNumSubControllers |
( |
int |
num, |
|
|
BOOL |
keep = FALSE |
|
) |
|
[inline, virtual] |
- Parameters:
- int num
The number of sub-controllers.
BOOL keep=FALSE
If the number if sub-controllers is reallocated this indicates if
the previously allocated ones are kept. TRUE to keep; FALSE to
discard them.
- Default Implementation:
- {}
virtual int GetNumSubControllers |
( |
|
) |
[inline, virtual] |
- Default Implementation:
- { return NULL; }
virtual void DeleteControlSet |
( |
BitArray |
set |
) |
[inline, virtual] |
virtual int AddSubController |
( |
Control * |
ctrl |
) |
[inline, virtual] |
- Parameters:
- Control* ctrl
Points to the controller to add.
- Returns:
- Nonzero if implemented; otherwise zero.
- Default Implementation:
- { return 0; }
virtual Control* GetSubController |
( |
int |
i |
) |
[inline, virtual] |
- Parameters:
- int i
The zero based index of the
- Default Implementation:
- { return NULL; }
virtual void SetSubController |
( |
int |
i, |
|
|
Control * |
ctrl |
|
) |
|
[inline, virtual] |
- Parameters:
- int i
The zero based index of the sub-controller to set.
Control* ctrl
Points to the control to set.
- Default Implementation:
- {}
MasterPointControl MasterPointControl
MasterPointControl MasterPointControl MasterPointControl
MasterPointControl MasterPointControl MasterPointControl
MasterPointControl MasterPointControl
MasterPointControl MasterPointControl
MasterPointControl MasterPointControl MasterPointControl
MasterPointControl MasterPointControl MasterPointControl
MasterPointControl MasterPointControl