mirror of
https://github.com/nasa/trick.git
synced 2024-12-25 07:41:08 +00:00
14a75508a3
Changed all header file once include variables to follow the same naming convention and not start with any underscores. Also deleted old incorrect copyright notices. Also removed $Id: tags from all files. Fixes #14. Fixes #22.
30 lines
797 B
Plaintext
30 lines
797 B
Plaintext
|
|
/*
|
|
This is the Trick STL manager. The manager itself is a singleton. A pointer
|
|
is stored as sm in the STLManagerSimObject.
|
|
|
|
(05/28/13)
|
|
Trick STLs do not work on all platforms.
|
|
Trick STLs work with gcc 4.4 on Linux.
|
|
Trick STLs do not work with Apple clang/llvm 4.2.
|
|
*/
|
|
#ifndef STL_SM
|
|
#define STL_SM
|
|
|
|
##include "sim_services/STL/include/STLManager.hh"
|
|
|
|
class STLManagerSimObject : public Trick::SimObject {
|
|
public:
|
|
Trick::STLManager * sm ; /* ** don't checkpoint the manager */
|
|
STLManagerSimObject() {
|
|
sm = Trick::STLManager::getSTLManager() ;
|
|
("checkpoint") sm->checkpoint() ;
|
|
("post_checkpoint") sm->post_checkpoint() ;
|
|
("restart") sm->restart() ;
|
|
}
|
|
} ;
|
|
|
|
STLManagerSimObject trick_stl_mgr ;
|
|
|
|
#endif
|