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" 49 #define ID_OUTPUTSOCKET "$Id: FGOutputSocket.h,v 1.3 2013/01/12 18:08:40 bcoconni Exp $" 111 virtual void PrintHeaders(
void);
113 std::string SockName;
114 unsigned int SockPort;
115 FGfdmSocket::ProtocolType SockProtocol;
FGOutputSocket(FGFDMExec *fdmex)
Constructor.
bool InitModel(void)
Initializes the instance.
Abstract class to provide functions generic to all the output directives.
void Print(void)
Generates the output.
Implements the output to a socket.
virtual void SetOutputName(const std::string &name)
Overwrites the name identifier under which the output will be logged.
virtual bool Load(Element *el)
Init the output directives from an XML file.
~FGOutputSocket()
Destructor.
void SocketStatusOutput(const std::string &out_str)
Outputs a status thru the socket.
Encapsulates the JSBSim simulation executive.
Encapsulates an object that enables JSBSim to communicate via socket (input and/or output)...