TcpReporting.hpp
Go to the documentation of this file.
1 /***************************************************************************
2 
3  TcpReporting.hpp - TCP reporter
4  -------------------
5  begin : Fri Aug 4 2006
6  copyright : (C) 2006 Bas Kemper
7  email : kst@ <my name> .be
8 
9  ***************************************************************************
10  * This library is free software; you can redistribute it and/or *
11  * modify it under the terms of the GNU Lesser General Public *
12  * License as published by the Free Software Foundation; either *
13  * version 2.1 of the License, or (at your option) any later version. *
14  * *
15  * This library is distributed in the hope that it will be useful, *
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
18  * Lesser General Public License for more details. *
19  * *
20  * You should have received a copy of the GNU Lesser General Public *
21  * License along with this library; if not, write to the Free Software *
22  * Foundation, Inc., 59 Temple Place, *
23  * Suite 330, Boston, MA 02111-1307 USA *
24  * *
25  ***************************************************************************/
26 
27 #ifndef ORO_COMP_TCP_REPORTING_HPP
28 #define ORO_COMP_TCP_REPORTING_HPP
29 
30 #include "ReportingComponent.hpp"
31 #include <iostream>
32 
33 namespace RTT
34 {
35  class SocketMarshaller;
36 }
37 
38 namespace OCL
39 {
40  namespace TCP
41  {
42  class TcpReportingInterpreter;
43  class Socket;
44  }
45 
46 
171  : public ReportingComponent
172  {
173  private:
180  unsigned int port;
182  protected:
187 
188  public:
195  TcpReporting(std::string fr_name = "ReportingComponent");
196  ~TcpReporting();
197 
198  bool configureHook();
199  bool startHook();
200 
201  void stopHook();
202 
206  const RTT::PropertyBag* getReport();
207  };
208 
209 }
210 
211 #endif
A component which writes data reports to a tcp/ip socket. It can serve different clients. It uses a ASCI-based protocol.
unsigned int port
A Component for periodically reporting Component Port contents to a human readable text format...
RTT::Property< unsigned int > port_prop
RTT::SocketMarshaller * fbody


ocl
Author(s): OCL Development Team
autogenerated on Mon Mar 23 2020 04:47:19