#include <vpControl.h>
Public Methods | |
| vpControl (unsigned char source_type, unsigned char source_numID, unsigned char source_channel) | |
| Constructor. More... | |
| void | set (unsigned char source_type, unsigned char source_numID, unsigned char source_channel) |
| Sets the contents of vpControl to the given values. More... | |
| unsigned char | Type () |
| Retrieve the value of the type field. More... | |
| unsigned char | NumID () |
| Retrieve the value of the numID field. More... | |
| unsigned char | Channel () |
| Retrieve the value of the channel field. More... | |
| vpControl () | |
| Default constructor. | |
| virtual | ~vpControl () |
| Destructor. | |
Private Attributes | |
| unsigned long | unity |
| Variable holding the combined value of type, numID, and channel. More... | |
Friends | |
| bool | operator< (const vpControl &x, const vpControl &y) |
| Overloaded less then operator. | |
|
||||||||||||||||
|
Constructor. Use this constructor to create a "control" class from a triplet of source identifiers. eg x=new vpControl(2,7,3);
|
|
|
Retrieve the value of the channel field.
|
|
|
Retrieve the value of the numID field.
|
|
|
Retrieve the value of the type field.
|
|
||||||||||||||||
|
Sets the contents of vpControl to the given values.
|
|
|
Variable holding the combined value of type, numID, and channel. unity = (((long) source_type) << 16) | (((long) source_numID) << 8) | (((long) source_channel)); |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001