VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::HttpServerSource Class Reference

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.
 
ImageInputSourceget ()
 Returns the source pointer.
 
bool set (ImageInputSource *, const std::string &info)
 Sets the source pointer. Used by Gv::HttpServerSources.
 

Detailed Description

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.

Member Function Documentation

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.


The documentation for this class was generated from the following files: