Refactor and test Variable Server.

- Split VariableServerThread into VariableServerSession and VariableReference classes
- Use C++ streams for data handling
- Unit tests
This commit is contained in:
Jacqueline Deans
2022-08-23 13:47:56 -05:00
parent e89bf083b2
commit c2e42f4ef4
78 changed files with 5021 additions and 2690 deletions

View File

@ -4,11 +4,9 @@
int Trick::VariableServer::init() {
int ret ;
/* start up a thread for the input processor variable server */
if ( enabled ) {
ret = listen_thread.check_and_move_listen_device() ;
int ret = listen_thread.check_and_move_listen_device() ;
if ( ret != 0 ) {
return ret ;
}