rogue
Loading...
Searching...
No Matches
include
rogue
interfaces
stream
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
"
28
#include "
rogue/interfaces/stream/Frame.h
"
29
#include "
rogue/interfaces/stream/Master.h
"
30
#include "
rogue/interfaces/stream/Slave.h
"
31
#include "
rogue/interfaces/stream/TcpCore.h
"
32
33
namespace
rogue
{
34
namespace
interfaces {
35
namespace
stream {
36
42
class
TcpClient
:
public
rogue::interfaces::stream::TcpCore
{
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
85
typedef
std::shared_ptr<rogue::interfaces::stream::TcpClient>
TcpClientPtr
;
86
87
}
// namespace stream
88
}
// namespace interfaces
89
};
// namespace rogue
90
91
#endif
Directives.h
Frame.h
Logging.h
TcpCore.h
rogue::interfaces::stream::Master::create
static std::shared_ptr< rogue::interfaces::stream::Master > create()
Creates a stream master.
Definition
Master.cpp:40
rogue::interfaces::stream::TcpClient
Stream TCP bridge client.
Definition
TcpClient.h:42
rogue::interfaces::stream::TcpClient::~TcpClient
~TcpClient()
Destroys the TCP client.
Definition
TcpClient.cpp:51
rogue::interfaces::stream::TcpClient::setup_python
static void setup_python()
Registers this type with Python bindings.
Definition
TcpClient.cpp:53
rogue::interfaces::stream::TcpCore
Stream TCP bridge core implementation.
Definition
TcpCore.h:51
rogue::interfaces::stream::TcpClientPtr
std::shared_ptr< rogue::interfaces::stream::TcpClient > TcpClientPtr
Shared pointer alias for TcpClient.
Definition
TcpClient.h:85
rogue
Definition
EnableSharedFromThis.h:25
Master.h
Slave.h
Generated by
1.9.8