rogue
Loading...
Searching...
No Matches
TcpClient.h
Go to the documentation of this file.
1
17#ifndef __ROGUE_INTERFACES_STREAM_TCP_CLIENT_H__
18#define __ROGUE_INTERFACES_STREAM_TCP_CLIENT_H__
19#include "rogue/Directives.h"
20
21#include <stdint.h>
22
23#include <memory>
24#include <string>
25#include <thread>
26
27#include "rogue/Logging.h"
32
33namespace rogue {
34namespace interfaces {
35namespace stream {
36
43 public:
59 static std::shared_ptr<rogue::interfaces::stream::TcpClient> create(std::string addr, uint16_t port);
60
62 static void setup_python();
63
78 TcpClient(std::string addr, uint16_t port);
79
81 ~TcpClient();
82};
83
85typedef std::shared_ptr<rogue::interfaces::stream::TcpClient> TcpClientPtr;
86
87} // namespace stream
88} // namespace interfaces
89}; // namespace rogue
90
91#endif
static std::shared_ptr< rogue::interfaces::stream::Master > create()
Creates a stream master.
Definition Master.cpp:40
Stream TCP bridge client.
Definition TcpClient.h:42
~TcpClient()
Destroys the TCP client.
Definition TcpClient.cpp:51
static void setup_python()
Registers this type with Python bindings.
Definition TcpClient.cpp:53
Stream TCP bridge core implementation.
Definition TcpCore.h:51
std::shared_ptr< rogue::interfaces::stream::TcpClient > TcpClientPtr
Shared pointer alias for TcpClient.
Definition TcpClient.h:85