#include <ngc/core/ngcpp.h>Classes | |
| struct | ngcpp_file_t |
Macros | |
| #define | ngcppMAX_FILE_PUB 32 |
| #define | ngcppFILE_QUEUE_SIZE 128 |
Functions | |
| int | ngcppFilePublisherInit (const char *name, char *erms) |
| int | ngcppFilePublish (ngcppFRAME *frame, int bufIdx, int sync, char *erms) |
| void | ngcppFileSync (void) |
| int | ngcppFilePublisherPath (int id, const char *path, char *erms) |
| void | ngcppFilePublisherBase (const char *base) |
Variables | |
| int | ngcppNumFilePub = 0 |
| int | ngcppFileDump = 0 |
| int | ngcppFileId = -1 |
| char | ngcppBaseName [256] |
| #define ngcppFILE_QUEUE_SIZE 128 |
Maximum number of files in queue
| #define ngcppMAX_FILE_PUB 32 |
Maximum number of file publishersservers
| int ngcppFilePublish | ( | ngcppFRAME * | frame, |
| int | bufIdx, | ||
| int | sync, | ||
| char * | erms ) |
Store the frame-buffer to a file. If sync is set to 1 then the routine blocks until a place in the file-output queue is free. bufIdx is the index of the frame within the circular output buffer of the frame.
| void ngcppFilePublisherBase | ( | const char * | base | ) |
Change the file publishing sequence base-name. The header information (frame-type, counter) is always appended to the basename.
| int ngcppFilePublisherInit | ( | const char * | name, |
| char * | erms ) |
Intialize a file publisher. The name may specify a path or a socket connection (host:port).
| int ngcppFilePublisherPath | ( | int | id, |
| const char * | path, | ||
| char * | erms ) |
Change the storaga path of a file publisher.
| void ngcppFileSync | ( | void | ) |
Waits until the file queues of all file publishers are empty.
| char ngcppBaseName[256] |
Base-name for file publisher
| int ngcppFileDump = 0 |
Flag to enable/disable file-dump mode
| int ngcppFileId = -1 |
File server id for file-dump
| int ngcppNumFilePub = 0 |
Number of file publishers