29 #ifndef ORO_COMP_TCP_DATASENDER 30 #define ORO_COMP_TCP_DATASENDER 32 #include <rtt/Activity.hpp> 33 #include <rtt/os/Mutex.hpp> 34 #include <rtt/Property.hpp> 37 using RTT::base::PropertyBase;
39 using RTT::PropertyBag;
43 class SocketMarshaller;
49 class TcpReportingInterpreter;
60 :
public RTT::Activity
65 void checkbag(
const PropertyBag &v);
66 void writeOut(base::PropertyBase* v);
67 void writeOut(
const PropertyBag &v);
70 unsigned long long limit;
71 unsigned long long curframe;
74 std::vector<std::string> subscriptions;
89 void setLimit(
unsigned long long newlimit);
94 void serialize(
const PropertyBag &v);
101 bool addSubscription(
const std::string name );
102 bool removeSubscription(
const std::string& name );
107 void listSubscriptions();
112 Socket& getSocket()
const;
122 virtual bool breakloop();
127 void silence(
bool newstate);
This class manages the connection with one single client.
A component which writes data reports to a tcp/ip socket.
Reads a line from the client and interprete it.
marsh::MarshallInterface which sends data to multiple sockets.
The Orocos Component Library.