MPD: OggVisitor Class Reference

MPD 0.20.18

Public Member Functions | Protected Member Functions
OggVisitor Class Referenceabstract

Abstract class which iterates over Ogg packets in a Reader. More...

`#include <OggVisitor.hxx>`

Inheritance diagram for OggVisitor:
[legend]

## Public Member Functions
| OggVisitor (Reader &reader)
long | GetSerialNo () const
void | Visit ()
void | PostSeek ()
| Call this method after seeking the Reader. More...

## Protected Member Functions
virtual void | OnOggBeginning (const ogg_packet &packet)=0
virtual void | OnOggPacket (const ogg_packet &packet)=0
virtual void | OnOggEnd ()=0

## Detailed Description

Abstract class which iterates over Ogg packets in a Reader.

Subclass it and implement the virtual methods.

Definition at line 37 of file OggVisitor.hxx.

## Constructor & Destructor Documentation

## ◆ OggVisitor()

OggVisitor::OggVisitor | ( | Reader & | reader | ) |
| inlineexplicit

Definition at line 44 of file OggVisitor.hxx.

## Member Function Documentation

## ◆ GetSerialNo()

long OggVisitor::GetSerialNo | ( |  | ) | const
| inline

Definition at line 47 of file OggVisitor.hxx.

## ◆ OnOggBeginning()

virtual void OggVisitor::OnOggBeginning | ( | const ogg_packet & | packet | ) |
| protectedpure virtual

## ◆ OnOggEnd()

virtual void OggVisitor::OnOggEnd | ( |  | ) |
| protectedpure virtual

## ◆ OnOggPacket()

virtual void OggVisitor::OnOggPacket | ( | const ogg_packet & | packet | ) |
| protectedpure virtual

## ◆ PostSeek()

void OggVisitor::PostSeek | ( |  | ) |

Call this method after seeking the Reader.

## ◆ Visit()

void OggVisitor::Visit | ( |  | ) |

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

- lib/xiph/OggVisitor.hxx