reactor-c
1.0
C Runtime for Lingua Franca
Toggle main menu visibility
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
64
int
start_sensor_simulator
(
const
char
* message_lines[],
int
number_of_lines,
int
tick_window_width,
char
* log_file,
65
int
log_level);
66
71
void
end_sensor_simulator
();
72
79
void
show_tick
(
const
char
* character);
80
101
int
register_sensor_key
(
char
key,
void
* action);
102
103
#endif
// SENSOR_SIMULATOR_H
register_sensor_key
int register_sensor_key(char key, void *action)
Register a keyboard key to trigger the specified action.
show_tick
void show_tick(const char *character)
Place a tick (usually a single character) in the tick window.
start_sensor_simulator
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.
end_sensor_simulator
void end_sensor_simulator()
End ncurses control of the terminal.
Users
runner
work
reactor-c
reactor-c
util
sensor_simulator.h
Generated on
for reactor-c by
1.17.0