![]() |
cacao
Release 0.1.03-dev
Compute And Control For Adaptive Optics
|
Data streams control panel. More...
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/file.h>
#include <malloc.h>
#include <sys/mman.h>
#include <time.h>
#include <signal.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ncurses.h>
#include <fcntl.h>
#include <ctype.h>
#include <dirent.h>
#include <wchar.h>
#include <locale.h>
#include <errno.h>
#include <pthread.h>
#include "CLIcore.h"
#include <00CORE/00CORE.h>
#include "COREMOD_tools/COREMOD_tools.h"
#include "COREMOD_memory/COREMOD_memory.h"
#include "info/info.h"
#include "streamCTRL.h"
Data Structures | |
struct | streamCTRLarg_struct |
Macros | |
#define | _GNU_SOURCE |
#define | STREAMCTRL_LOGDEBUG 1 |
#define | SHAREDSHMDIR data.shmdir |
#define | STRINGLENMAX 32 |
#define | streamOpenNBpid_MAX 100 |
#define | nameNBchar 100 |
#define | PIDnameStringLen 12 |
Typedefs | |
typedef int | errno_t |
Functions | |
static int | initncurses () |
imageID | image_ID_from_images (IMAGE *images, const char *restrict name) |
imageID | image_get_first_ID_available_from_images (IMAGE *images) |
int | get_process_name_by_pid (const int pid, char *pname) |
int | streamCTRL_CatchSignals () |
static int | get_PIDmax () |
void * | streamCTRL_scan (void *argptr) |
errno_t | streamCTRL_CTRLscreen () |
Variables | |
static int | wrow |
static int | wcol |
Data streams control panel.
Manages data streams
#define _GNU_SOURCE |
#define nameNBchar 100 |
#define PIDnameStringLen 12 |
#define SHAREDSHMDIR data.shmdir |
default location of file mapped semaphores, can be over-ridden by env variable MILK_SHM_DIR
#define STREAMCTRL_LOGDEBUG 1 |
#define streamOpenNBpid_MAX 100 |
#define STRINGLENMAX 32 |
typedef int errno_t |
|
static |
int get_process_name_by_pid | ( | const int | pid, |
char * | pname | ||
) |
INITIALIZE ncurses
|
static |
INITIALIZE ncurses
int streamCTRL_CatchSignals | ( | ) |
errno_t streamCTRL_CTRLscreen | ( | ) |
Control screen for stream structures
Relies on ncurses for display
void* streamCTRL_scan | ( | void * | argptr | ) |
|
static |
|
static |