mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 07:16:41 +00:00
17 lines
354 B
C++
17 lines
354 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 ;
|
|
}
|
|
|