LASP 1.0
Library for Acoustic Signal Processing
Loading...
Searching...
No Matches
DaqApi Class Reference

Class that specifies API related information. An API configuration is part of the DAQConfiguration and used to address a certain physical device. For that, a specific backend needs to be compiled in. Examples of API's are RtAudio and UlDaq. More...

#include <lasp_daqconfig.h>

Collaboration diagram for DaqApi:

Public Member Functions

 DaqApi (string apiname, unsigned apicode, unsigned api_specific_subcode=0)
 
 DaqApi ()
 
bool operator== (const DaqApi &other) const
 
 operator string () const
 

Static Public Member Functions

static std::vector< DaqApigetAvailableApis ()
 

Public Attributes

string apiname = "Invalid API"
 
int apicode = -1
 
unsigned api_specific_subcode = 0
 

Detailed Description

Class that specifies API related information. An API configuration is part of the DAQConfiguration and used to address a certain physical device. For that, a specific backend needs to be compiled in. Examples of API's are RtAudio and UlDaq.

Definition at line 114 of file lasp_daqconfig.h.

Constructor & Destructor Documentation

◆ DaqApi() [1/2]

DaqApi::DaqApi ( string  apiname,
unsigned  apicode,
unsigned  api_specific_subcode = 0 
)
inline

Definition at line 120 of file lasp_daqconfig.h.

◆ DaqApi() [2/2]

DaqApi::DaqApi ( )
inline

Definition at line 123 of file lasp_daqconfig.h.

Member Function Documentation

◆ getAvailableApis()

vector< DaqApi > DaqApi::getAvailableApis ( )
static

Definition at line 12 of file lasp_daqconfig.cpp.

◆ operator string()

DaqApi::operator string ( ) const
inline

Definition at line 128 of file lasp_daqconfig.h.

◆ operator==()

bool DaqApi::operator== ( const DaqApi other) const
inline

Definition at line 124 of file lasp_daqconfig.h.

Member Data Documentation

◆ api_specific_subcode

unsigned DaqApi::api_specific_subcode = 0

Definition at line 118 of file lasp_daqconfig.h.

◆ apicode

int DaqApi::apicode = -1

Definition at line 117 of file lasp_daqconfig.h.

◆ apiname

string DaqApi::apiname = "Invalid API"

Definition at line 116 of file lasp_daqconfig.h.


The documentation for this class was generated from the following files: