#include
<MDeviceChannel.h>
List of all
members.
Detailed Description
Input device channel.
Input device channel class.
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 |
MDeviceChannel::~MDeviceChannel |
( |
|
) |
|
Member Function Documentation
MString MDeviceChannel::name |
( |
|
) |
const |
Return the short name of the channel.
- Returns:
- The short name for this channel
MString MDeviceChannel::longName |
( |
|
) |
const |
Return the long name of the channel.
- Returns:
- The long name for this channel
int MDeviceChannel::axisIndex |
( |
|
) |
const |
Returns the device state index corresponding to this device
channel.
- Returns:
- The device state index for this channel
bool MDeviceChannel::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 MDeviceChannel::numChildren |
( |
|
) |
const |
Return the number of children of this channel.
- Returns:
- The number of children of this channel