mirror of
https://github.com/nasa/trick.git
synced 2024-12-22 14:32:24 +00:00
19 lines
519 B
C++
19 lines
519 B
C++
|
|
||
|
#include <iostream>
|
||
|
|
||
|
#include "sim_services/STL/include/STLInterface.hh"
|
||
|
#include "sim_services/STL/include/STLManager.hh"
|
||
|
#include "sim_services/STL/include/STLUtilities.hh"
|
||
|
|
||
|
Trick::STLInterface::STLInterface() : restore(false) {
|
||
|
stl_id = Trick::STLManager::getSTLManager()->addSTL(*this) ;
|
||
|
}
|
||
|
|
||
|
Trick::STLInterface::~STLInterface() {
|
||
|
Trick::STLManager::getSTLManager()->removeSTL(*this) ;
|
||
|
}
|
||
|
|
||
|
void Trick::STLInterface::post_checkpoint( std::string obj_name ) {
|
||
|
Trick::delete_trick_stl(obj_name, stl_id) ;
|
||
|
}
|