#include <ngcpp.h>
Public Attributes | |
| int | id |
| unsigned char ** | buf |
| uint64_t * | ts |
| int | idxProc |
| int | idxIn |
| int | num |
| size_t | size |
| ngcb_dma_t | dma |
| unsigned int | last |
| unsigned int | next |
| size_t | dmaSize |
| int | allocated |
| int | mode |
| char | devName [256] |
| int | semLckId |
| int | simFd [2] |
| ngcb_thread_t | captureThreadId |
| int | initialized |
| char | erms [256] |
| ngcb_sema_t | semStart |
| ngcb_sema_t | semStartAck |
| ngcb_sema_t | semCap |
| ngcb_sema_t | semCapAck |
| ngcb_sema_t | semInit |
| ngcb_sema_t | semClient |
| ngcb_sema_t | semClientStart |
| ngcb_sema_t | semClientInit |
| int | streamSocket |
DMA capture type
| int ngcpp_dma_t::allocated |
Flag to mark buffers as allocated
| unsigned char** ngcpp_dma_t::buf |
Circular frame buffer
| ngcb_thread_t ngcpp_dma_t::captureThreadId |
Capture thread ID
| char ngcpp_dma_t::devName[256] |
Device name for driver
| ngcb_dma_t ngcpp_dma_t::dma |
DMA device structure
| size_t ngcpp_dma_t::dmaSize |
DMA size
| char ngcpp_dma_t::erms[256] |
Error message buffer
| int ngcpp_dma_t::id |
Own id - assigned at startup
| int ngcpp_dma_t::idxIn |
Buffer index (in)
| int ngcpp_dma_t::idxProc |
Buffer index (processing)
| int ngcpp_dma_t::initialized |
Intialization flag
| unsigned int ngcpp_dma_t::last |
DMA counter (processing)
| int ngcpp_dma_t::mode |
Operation mode (sim, normal, ...)
| unsigned int ngcpp_dma_t::next |
DMA counter (in)
| int ngcpp_dma_t::num |
Number of circular buffer items
| ngcb_sema_t ngcpp_dma_t::semCap |
Capture synchronization
| ngcb_sema_t ngcpp_dma_t::semCapAck |
Capture acknowledge semaphore
| ngcb_sema_t ngcpp_dma_t::semClient |
Client synchronization semaphore
| ngcb_sema_t ngcpp_dma_t::semClientInit |
Client initialization semaphore
| ngcb_sema_t ngcpp_dma_t::semClientStart |
Client start semaphore
| ngcb_sema_t ngcpp_dma_t::semInit |
Capture initialization semaphore
| int ngcpp_dma_t::semLckId |
Device lock semaphore
| ngcb_sema_t ngcpp_dma_t::semStart |
Start synchronization semaphore
| ngcb_sema_t ngcpp_dma_t::semStartAck |
Start acknowledge semaphore
| int ngcpp_dma_t::simFd[2] |
Socket to interrupt simulation timer
| size_t ngcpp_dma_t::size |
Size (in bytes) of each buffer item
| int ngcpp_dma_t::streamSocket |
Streaming socket
| uint64_t* ngcpp_dma_t::ts |
Circular timestamp buffer