reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
sensor_simulator.h
Go to the documentation of this file.
1
40#ifndef SENSOR_SIMULATOR_H
41#define SENSOR_SIMULATOR_H
42
64int start_sensor_simulator(const char* message_lines[], int number_of_lines, int tick_window_width, char* log_file,
65 int log_level);
66
72
79void show_tick(const char* character);
80
101int register_sensor_key(char key, void* action);
102
103#endif // SENSOR_SIMULATOR_H
int register_sensor_key(char key, void *action)
Register a keyboard key to trigger the specified action.
void show_tick(const char *character)
Place a tick (usually a single character) in the tick window.
int start_sensor_simulator(const char *message_lines[], int number_of_lines, int tick_window_width, char *log_file, int log_level)
Start the sensor simulator if it has not been already started.
void end_sensor_simulator()
End ncurses control of the terminal.