The interface for all device implementations
Each physical hardware component like DigitalInput or RS422 ... implements this interface.
Public Member Functions | |
void | Close () |
Closes a device More... | |
bool | isOpen () |
Returns the open state of a device object More... | |
void | Open () |
Opens a device More... | |
void | Open (unsigned int Index) |
Opens a device More... | |
Properties | |
virtual VIB_NET::eDEVICE_TYPE | Type [get] |
Returns the device type for the current instance, see eDEVICE_TYPE More... | |
void VIB_NET::iDevice::Close | ( | ) |
Closes a device
The object must be in open state when calling this function.
After a device object is closed, the device can't be used until it's opened again.
bool VIB_NET::iDevice::isOpen | ( | ) |
Returns the open state of a device object
void VIB_NET::iDevice::Open | ( | ) |
Opens a device
The object must be in a closed state when calling this function.
void VIB_NET::iDevice::Open | ( | unsigned int | Index | ) |
Opens a device
The object must be in a closed state when calling this function.
See page Open devices using the Open() method for a detailed description.
Index | Device index across all hardware entities |
|
get |
Returns the device type for the current instance, see eDEVICE_TYPE