#include <driver.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> &)> Driver_3DCS::Streaming::SIG_ON_FRAME |
Driver_3DCS::Streaming::Streaming | ( | boost::asio::io_service & | io_service, |
const std::string & | remote_device_ip | ||
) | [inline] |
bool Driver_3DCS::Streaming::closeStream | ( | ) | [inline] |
bool& Driver_3DCS::Streaming::debugFlag | ( | ) | [inline] |
bool Driver_3DCS::Streaming::debugFlag | ( | ) | const [inline] |
SIG_ON_FRAME& Driver_3DCS::Streaming::getSignal | ( | ) | [inline] |
void Driver_3DCS::Streaming::on_data | ( | const char * | data, |
const size_t | size, | ||
Any_Session * | writer | ||
) | [inline] |
bool Driver_3DCS::Streaming::openStream | ( | ) | [inline] |
bool Driver_3DCS::Streaming::debugOutput_ [private] |
signal handler for incoming data
Reimplemented from Any_Session.
const std::string Driver_3DCS::Streaming::remote_device_ip_ [private] |