VideoTools
|
Used by a ImageInputHandler-derived object to hold a ImageInputSource pointer. More...
#include <gvhttpserver.h>
Public Member Functions | |
HttpServerSource (ImageInputHandler &) | |
Constructor. | |
~HttpServerSource () | |
Destructor. | |
std::string | name () const |
Returns the source name. More... | |
std::string | info () const |
Returns information on the channel publisher, or the empty string for non-channel sources. More... | |
void | resend () |
Calls resend() on the source. | |
ImageInputSource * | get () |
Returns the source pointer. | |
bool | set (ImageInputSource *, const std::string &info) |
Sets the source pointer. Used by Gv::HttpServerSources. | |
Used by a ImageInputHandler-derived object to hold a ImageInputSource pointer.
The pointer is normally set() by HttpServerSources::select().
Definition at line 79 of file gvhttpserver.h.
std::string Gv::HttpServerSource::info | ( | ) | const |
Returns information on the channel publisher, or the empty string for non-channel sources.
Definition at line 690 of file gvhttpserver.cpp.
std::string Gv::HttpServerSource::name | ( | ) | const |
Returns the source name.
In practice this is likely to be the channel name or the camera device name.
Definition at line 685 of file gvhttpserver.cpp.