CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
Myth::WSStream Class Reference
Inheritance diagram for Myth::WSStream:
Collaboration diagram for Myth::WSStream:

Public Member Functions

 WSStream (WSResponse *response)
int Read (void *buffer, unsigned n)
int64_t GetSize () const
int64_t GetPosition () const
int64_t Seek (int64_t offset, WHENCE_t whence)
std::string GetContentType () const

Private Attributes

WSResponse * m_response
int64_t m_position

Detailed Description

Definition at line 35 of file mythwsstream.h.

Constructor & Destructor Documentation

◆ WSStream() [1/2]

WSStream::WSStream ( )

Definition at line 28 of file mythwsstream.cpp.

◆ WSStream() [2/2]

WSStream::WSStream ( WSResponse * response)

Definition at line 34 of file mythwsstream.cpp.

◆ ~WSStream()

WSStream::~WSStream ( )

Definition at line 40 of file mythwsstream.cpp.

Member Function Documentation

◆ GetContentType()

std::string WSStream::GetContentType ( ) const

Definition at line 73 of file mythwsstream.cpp.

◆ GetPosition()

int64_t WSStream::GetPosition ( ) const
virtual

Implements Myth::Stream.

Definition at line 61 of file mythwsstream.cpp.

◆ GetSize()

int64_t WSStream::GetSize ( ) const
virtual

Implements Myth::Stream.

Definition at line 56 of file mythwsstream.cpp.

◆ Read()

int WSStream::Read ( void * buffer,
unsigned n )
virtual

Implements Myth::Stream.

Definition at line 45 of file mythwsstream.cpp.

◆ Seek()

int64_t WSStream::Seek ( int64_t offset,
WHENCE_t whence )
virtual

Implements Myth::Stream.

Definition at line 66 of file mythwsstream.cpp.

Field Documentation

◆ m_position

int64_t Myth::WSStream::m_position
private

Definition at line 51 of file mythwsstream.h.

◆ m_response

WSResponse* Myth::WSStream::m_response
private

Definition at line 50 of file mythwsstream.h.


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