mirror of
https://github.com/nasa/trick.git
synced 2025-02-01 16:57:59 +00:00
24 lines
676 B
Plaintext
24 lines
676 B
Plaintext
/************************TRICK HEADER*************************
|
|
PURPOSE:
|
|
(HTTP Server)
|
|
LIBRARY DEPENDENCIES:
|
|
((src/http_server.cpp))
|
|
*************************************************************/
|
|
##include "mongoose_httpd/include/http_server.hh"
|
|
|
|
class HttpSimObject : public Trick::SimObject {
|
|
|
|
public:
|
|
HTTP_Server server ;
|
|
|
|
HttpSimObject() {
|
|
("default_data") server.http_default_data() ;
|
|
("initialization") server.http_init() ;
|
|
("freeze") server.http_top_of_frame() ;
|
|
("top_of_frame") server.http_top_of_frame() ;
|
|
("shutdown") server.http_shutdown() ;
|
|
}
|
|
};
|
|
|
|
HttpSimObject http ;
|