mirror of
https://github.com/nasa/trick.git
synced 2025-01-17 10:20:28 +00:00
21 lines
625 B
Plaintext
21 lines
625 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE: (Trick HTTP Server)
|
|
*************************************************************/
|
|
##include "trick/MyCivetServer.hh"
|
|
|
|
class MyCivetServerSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
MyCivetServer server ;
|
|
|
|
MyCivetServerSimObject() {
|
|
("default_data") server.default_data() ;
|
|
("initialization") server.init() ;
|
|
("freeze") server.http_top_of_frame() ;
|
|
("top_of_frame") server.http_top_of_frame() ;
|
|
("shutdown") server.shutdown() ;
|
|
}
|
|
};
|
|
|
|
MyCivetServerSimObject web;
|