cyphesis/tests/stubs/server/stubCommPythonClient.h
2017-07-25 23:40:40 +02:00

61 lines
No EOL
1.7 KiB
C++

// AUTOGENERATED file, created by the tool generate_stub.py, don't edit!
// If you want to add your own functionality, instead edit the stubCommPythonClient_custom.h file.
#include "server/CommPythonClient.h"
#include "stubCommPythonClient_custom.h"
#ifndef STUB_SERVER_COMMPYTHONCLIENT_H
#define STUB_SERVER_COMMPYTHONCLIENT_H
#ifndef STUB_CommPythonClient_read
//#define STUB_CommPythonClient_read
void CommPythonClient::read(size_t bytes)
{
}
#endif //STUB_CommPythonClient_read
#ifndef STUB_CommPythonClient_do_read
//#define STUB_CommPythonClient_do_read
void CommPythonClient::do_read()
{
}
#endif //STUB_CommPythonClient_do_read
#ifndef STUB_CommPythonClient_CommPythonClient
//#define STUB_CommPythonClient_CommPythonClient
CommPythonClient::CommPythonClient(const std::string & name, boost::asio::io_service& io_service)
: std::enable_shared_from_this(name, io_service)
, m_pyContext(nullptr)
{
}
#endif //STUB_CommPythonClient_CommPythonClient
#ifndef STUB_CommPythonClient_CommPythonClient_DTOR
//#define STUB_CommPythonClient_CommPythonClient_DTOR
CommPythonClient::~CommPythonClient()
{
}
#endif //STUB_CommPythonClient_CommPythonClient_DTOR
#ifndef STUB_CommPythonClient_startAccept
//#define STUB_CommPythonClient_startAccept
void CommPythonClient::startAccept()
{
}
#endif //STUB_CommPythonClient_startAccept
#ifndef STUB_CommPythonClient_getSocket
//#define STUB_CommPythonClient_getSocket
boost::asio::local::stream_protocol::socket& CommPythonClient::getSocket()
{
return *static_cast<boost::asio::local::stream_protocol::socket*>(nullptr);
}
#endif //STUB_CommPythonClient_getSocket
#endif