Interface used by PvStreamingChannelSourceTrigger to support a trigger mechanism. More...
#include <PvTriggerSelector.h>
Public Member Functions | |
| virtual | ~IPvTriggerSelector () |
| Virtual destructor. | |
| virtual void | Start (const uint32_t aHeight)=0 |
| Signals the state machine to move from the Enabled state to the Armed state. More... | |
| virtual void | Stop ()=0 |
| Unconditionally moves the state machine into the Enabled state. More... | |
| virtual void | FireTrigger ()=0 |
| With all conditions met, fires a trigger signal to move to the Fired state. | |
| virtual void | Rearm ()=0 |
| Moves the state from Fired, to another state like Armed (in case of a per-frame TriggerSelector like FrameStart). More... | |
| virtual void | SetMode (bool aIsEnabled)=0 |
| Sets the trigger mode (enabled or disabled). More... | |
| virtual bool | GetMode () const =0 |
| Gets the trigger mode. More... | |
| virtual void | SetSource (uint32_t aSource)=0 |
| Sets the trigger source. More... | |
| virtual uint32_t | GetSource () const =0 |
| Gets the trigger source. More... | |
| virtual PvString | GetName () const =0 |
| Gets the selector name. More... | |
| virtual State | GetState () const =0 |
| Gets the current selector state. More... | |
| virtual bool | IsEnabled () const =0 |
| Checks if the trigger is enabled. More... | |
Interface used by PvStreamingChannelSourceTrigger to support a trigger mechanism.
|
pure virtual |
Gets the trigger mode.
Implemented in PvTriggerSelectorDefault.
|
pure virtual |
Gets the selector name.
Implemented in PvTriggerSelectorDefault.
|
pure virtual |
|
pure virtual |
Gets the current selector state.
Implemented in PvTriggerSelectorDefault.
|
pure virtual |
Checks if the trigger is enabled.
Implemented in PvTriggerSelectorDefault.
|
pure virtual |
Moves the state from Fired, to another state like Armed (in case of a per-frame TriggerSelector like FrameStart).
May also do nothing for permanently fired TriggerSelector like AcquistionStart.
Implemented in PvTriggerSelectorLineStart, PvTriggerSelectorFrameStart, and PvTriggerSelectorDefault.
|
pure virtual |
Sets the trigger mode (enabled or disabled).
| [in] | aIsEnabled | A boolean value (true for enabled, false for disabled). |
Implemented in PvTriggerSelectorDefault.
|
pure virtual |
Sets the trigger source.
| [in] | aSource | A source index. |
Implemented in PvTriggerSelectorDefault.
|
pure virtual |
Signals the state machine to move from the Enabled state to the Armed state.
The implementation must not perform state transition when in states that are not concerned with this signal.
| [in] | aHeight | The image height. |
Implemented in PvTriggerSelectorLineStart, PvTriggerSelectorAcquisitionStart, and PvTriggerSelectorDefault.
|
pure virtual |
Unconditionally moves the state machine into the Enabled state.
This allows to potentially unblock the acquisition loop, while avoiding to acquire any image.
Implemented in PvTriggerSelectorAcquisitionStart, and PvTriggerSelectorDefault.
Copyright (c) 2002-2024 Pleora Technologies Inc.
www.pleora.com