mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 21:53:10 +00:00
c2e42f4ef4
- Split VariableServerThread into VariableServerSession and VariableReference classes - Use C++ streams for data handling - Unit tests
18 lines
385 B
C++
18 lines
385 B
C++
|
|
#include "trick/VariableServer.hh"
|
|
#include "trick/exec_proto.hh"
|
|
|
|
int Trick::VariableServer::init() {
|
|
|
|
/* start up a thread for the input processor variable server */
|
|
if ( enabled ) {
|
|
int ret = listen_thread.check_and_move_listen_device() ;
|
|
if ( ret != 0 ) {
|
|
return ret ;
|
|
}
|
|
listen_thread.create_thread() ;
|
|
}
|
|
|
|
return(0) ;
|
|
}
|