 |
JSBSim Flight Dynamics Model
1.1.11 (13 Feb 2022)
An Open Source Flight Dynamics and Control Software Library in C++
|
34 #ifndef FGOUTPUTSOCKET_H
35 #define FGOUTPUTSOCKET_H
41 #include "FGOutputType.h"
42 #include "input_output/net_fdm.hxx"
43 #include "input_output/FGfdmSocket.h"
96 void Print(
void)
override;
105 virtual void PrintHeaders(
void);
107 std::string SockName;
108 unsigned int SockPort;
109 FGfdmSocket::ProtocolType SockProtocol;
Encapsulates the JSBSim simulation executive.
Encapsulates an object that enables JSBSim to communicate via socket (input and/or output).
Abstract class to provide functions generic to all the output directives.
bool InitModel(void) override
Initializes the instance.
void Print(void) override
Generates the output.
bool Load(Element *el) override
Init the output directives from an XML file.
void SetOutputName(const std::string &name) override
Overwrites the name identifier under which the output will be logged.
FGOutputSocket(FGFDMExec *fdmex)
Constructor.
void SocketStatusOutput(const std::string &out_str)
Outputs a status thru the socket.
~FGOutputSocket() override
Destructor.
Implements the output to a socket.