Impact Acquire SDK C++
|
A class to create complex digital output signals(Device specific interface layout only). More...
#include <mvIMPACT_acquire.h>
Public Member Functions | |
bool | canCreateExposeActiveSignal (DigitalOutput *pOutput) const |
Checks whether the specified output can be used to create an inverted expose active signal. | |
bool | canInvertSignal (DigitalOutput *pOutput) const |
Checks whether the specified output can be used to create an inverted version of a certain signal. | |
TDeviceDigitalOutputMode | getOutputMode (DigitalOutput *pOutput) const |
Returns the current mode a digital output is operated in. | |
bool | isOutputModeActive (DigitalOutput *pOutput, TDeviceDigitalOutputMode mode) const |
Checks whether the specified output is currently operated in a certain mode. | |
bool | isSignalInverted (DigitalOutput *pOutput) const |
Checks whether the specified output will currently invert a certain internal signal. | |
OutputSignalGeneratorBlueDevice & | operator= (const OutputSignalGeneratorBlueDevice &rhs) |
Allows assignments of mvIMPACT::acquire::OutputSignalGeneratorBlueDevice objects. | |
OutputSignalGeneratorBlueDevice (const OutputSignalGeneratorBlueDevice &src) | |
Constructs a new mvIMPACT::acquire::OutputSignalGeneratorBlueDevice from and existing one. | |
OutputSignalGeneratorBlueDevice (Device *pDev) | |
Constructs a new mvIMPACT::acquire::OutputSignalGeneratorBlueDevice object. | |
int | setOutputMode (DigitalOutput *pOutput, TDeviceDigitalOutputMode mode, bool boInverted=false) |
This function will configure the digital output to operate in a certain mode. | |
int | undefineSignal (DigitalOutput *pOutput) |
Removes the signal definition from the specified output pin. | |
~OutputSignalGeneratorBlueDevice () | |
Class destructor. | |
A class to create complex digital output signals(Device specific interface layout only).
Instances of this class can be used to create more complex digital output related signals like a single pulse or sequence of pulses on a certain pin as a reaction on a signal on one of the digital inputs of a device.
The availability of the features provided by this class heavily depends on the used capture device. Therefore it's crucial to check if a desired feature is available at all. This class either provides the functions needed for these checks or its functions will return appropriate error codes.
|
inlineexplicit |
Constructs a new mvIMPACT::acquire::OutputSignalGeneratorBlueDevice object.
[in] | pDev | A pointer to a mvIMPACT::acquire::Device object obtained from a mvIMPACT::acquire::DeviceManager object. |
|
inlineexplicit |
Constructs a new mvIMPACT::acquire::OutputSignalGeneratorBlueDevice from and existing one.
[in] | src | A constant reference to the mvIMPACT::acquire::OutputSignalGeneratorBlueDevice object, this object shall be created from |
|
inline |
Class destructor.
|
inline |
Checks whether the specified output can be used to create an inverted expose active signal.
[in] | pOutput | A pointer to a mvIMPACT::acquire::DigitalOutput object obtained from an instance of the class mvIMPACT::acquire::IOSubSystemCommon for this device. |
|
inline |
Checks whether the specified output can be used to create an inverted version of a certain signal.
[in] | pOutput | A pointer to a mvIMPACT::acquire::DigitalOutput object obtained from an instance of the class mvIMPACT::acquire::IOSubSystemCommon for this device. |
|
inline |
Returns the current mode a digital output is operated in.
If the mode is not selectable for the current output an exception will be raised.
[in] | pOutput | A pointer to a mvIMPACT::acquire::DigitalOutput object obtained from an instance of the class mvIMPACT::acquire::IOSubSystemCommon for this device. |
|
inline |
Checks whether the specified output is currently operated in a certain mode.
[in] | pOutput | A pointer to a mvIMPACT::acquire::DigitalOutput object obtained from an instance of the class mvIMPACT::acquire::IOSubSystemCommon for this device. |
[in] | mode | The mode the specified output shall be checked for. |
|
inline |
Checks whether the specified output will currently invert a certain internal signal.
[in] | pOutput | A pointer to a mvIMPACT::acquire::DigitalOutput object obtained from an instance of the class mvIMPACT::acquire::IOSubSystemCommon for this device. |
|
inline |
Allows assignments of mvIMPACT::acquire::OutputSignalGeneratorBlueDevice objects.
|
inline |
This function will configure the digital output to operate in a certain mode.
After calling this function the digital output will be operated in the mode specified by mode.
Valid values for constant are defined by the enum mvIMPACT::acquire::TDeviceDigitalOutputMode.
[in] | pOutput | A pointer to a mvIMPACT::acquire::DigitalOutput object obtained from an instance of the class mvIMPACT::acquire::IOSubSystemCommon for this device. |
[in] | mode | The mode the specified output shall be operated in. If the mode passed to the function is not available for the output or the device an exception will be raised. |
[in] | boInverted | Set this parameter to true, to invert the exposure signal |
|
inline |
Removes the signal definition from the specified output pin.
Whenever a signal has been defined for a a certain digital output pin, this pin can no longer controlled using the corresponding functions in the class mvIMPACT::acquire::DigitalOutput. This function removes the signal definition and hands back manual control of that digital output to the user.
[in] | pOutput | A pointer to a mvIMPACT::acquire::DigitalOutput object obtained from an instance of the class mvIMPACT::acquire::IOSubSystemCommon for this device. |