ngc 1.5.0
 
Loading...
Searching...
No Matches
api.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ngc/core/receivers/factory.hpp>

Namespaces

namespace  ngc
 
namespace  ngc::core
 
namespace  ngc::core::receivers
 

Functions

int NgcApiSelect (const char *device_name, ngcb_dma_api *api)
 
int NgcSelectReceiverApi (const char *device_name, ngcb_dma_api *api)
 
void NgcImportReceivers ()
 

Detailed Description

Function Documentation

◆ NgcApiSelect()

int NgcApiSelect ( const char * device_name,
ngcb_dma_api * api )

Receiver api selector

Parameters
device_nameAcqusisition device name
apiPointer to receiver API
Returns
1 if an API has been selcted, otherwise zero is returned

◆ NgcImportReceivers()

void NgcImportReceivers ( )

Assign api selector to import receiver classes

◆ NgcSelectReceiverApi()

int NgcSelectReceiverApi ( const char * device_name,
ngcb_dma_api * api )

C-linkage api selector

Parameters
device_nameAcqusisition device name
apiPointer to receiver API
Returns
1 if an API has been selcted, otherwise zero is returned