#include <device.h>
Classes | |
struct | SFrame |
Public Types | |
typedef boost::signals2::signal< void(const boost::shared_ptr< Data > &)> | SIG_ON_FRAME |
Public Member Functions | |
bool | closeStream () |
bool & | debugFlag () |
bool | debugFlag () const |
SIG_ON_FRAME & | getSignal () |
void | on_data (const char *data, const size_t size, Any_Session *writer) |
bool | openStream () |
Streaming (boost::asio::io_service &io_service, const std::string &remote_device_ip) | |
Private Attributes | |
SFrame::Ptr | cur_frame_ |
bool | debugOutput_ |
Any_Session::SIG_ON_DATA | on_data_ |
signal handler for incoming data | |
SIG_ON_FRAME | on_frame_ |
const std::string | remote_device_ip_ |
typedef boost::signals2::signal<void (const boost::shared_ptr<Data> &)> Streaming::SIG_ON_FRAME |
Streaming::Streaming | ( | boost::asio::io_service & | io_service, |
const std::string & | remote_device_ip | ||
) | [inline] |
bool Streaming::closeStream | ( | ) | [inline] |
bool& Streaming::debugFlag | ( | ) | [inline] |
bool Streaming::debugFlag | ( | ) | const [inline] |
SIG_ON_FRAME& Streaming::getSignal | ( | ) | [inline] |
void Streaming::on_data | ( | const char * | data, |
const size_t | size, | ||
Any_Session * | writer | ||
) | [inline] |
bool Streaming::openStream | ( | ) | [inline] |
SFrame::Ptr Streaming::cur_frame_ [private] |
bool Streaming::debugOutput_ [private] |
Any_Session::SIG_ON_DATA Streaming::on_data_ [private] |
signal handler for incoming data
Reimplemented from Any_Session.
SIG_ON_FRAME Streaming::on_frame_ [private] |
const std::string Streaming::remote_device_ip_ [private] |