Detailed Description
Input device channel.
Input device channel class.
- Examples:
-
jlcVcrDevice.cpp.
#include <MDeviceChannel.h>
List of all members.
Constructor & Destructor Documentation
Constructor.
Creates a new device channel with the given name, index and parent (optional).
- Parameters:
-
[in] | name | the name of the channel |
[in] | parent | the parent of the channel (default is NULL) |
[in] | index | The device state index for the channel |
Member Function Documentation
Return the short name of the channel.
- Returns:
- The short name for this channel
Return the long name of the channel.
- Returns:
- The long name for this channel
Returns the device state index corresponding to this device channel.
- Returns:
- The device state index for this channel
bool hasChildren |
( |
| ) |
const |
Determine whether this channel has children.
- Returns:
- true this channel has children
- false this channel does not have children
Return the parent of this channel.
- Returns:
- The parent of this channel
Return the specified child of this channel.
- Returns:
- The child of this channel
int numChildren |
( |
| ) |
const |
Return the number of children of this channel.
- Returns:
- The number of children of this channel
MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel
MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel MDeviceChannel