CVB++ 14.0
SoftwareTrigger Class Reference

Implementation of the software trigger. More...

#include <cvb/driver/software_trigger.hpp>

Public Member Functions

DevicePtr Parent () const noexcept
 Gets the parent device of this interface. More...
 
void SendTrigger ()
 Send default trigger. More...
 
void SendTrigger (int id)
 Send trigger with ID. More...
 

Detailed Description

Implementation of the software trigger.

Member Function Documentation

◆ Parent()

DevicePtr Parent ( ) const
inlinenoexcept

Gets the parent device of this interface.

Returns
The parent device pointer, or a null pointer if disconnected.
Exceptions
Doesnot throw any exception.

◆ SendTrigger() [1/2]

void SendTrigger ( )
inline

Send default trigger.

Exceptions
Anyexception derived from std::exception including CvbException.

◆ SendTrigger() [2/2]

void SendTrigger ( int  id)
inline

Send trigger with ID.

Parameters
[in]idThe trigger ID.
Exceptions
Anyexception derived from std::exception including CvbException.