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
17 lines
349 B
C++
17 lines
349 B
C++
|
|
#include <iostream>
|
|
#include <string.h>
|
|
|
|
#include "trick/VariableServerSession.hh"
|
|
#include "trick/TrickConstant.hh"
|
|
|
|
int Trick::VariableServerSession::freeze_init() {
|
|
if ( enabled && copy_mode == VS_COPY_SCHEDULED) {
|
|
freeze_next_tics = cycle_tics ;
|
|
} else {
|
|
freeze_next_tics = TRICK_MAX_LONG_LONG ;
|
|
}
|
|
return 0 ;
|
|
}
|
|
|