Sirikata
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
Sirikata::SDL::FFmpegGlue Class Reference

Glue layer for FFmpeg. More...

#include <FFmpegGlue.hpp>

Inheritance diagram for Sirikata::SDL::FFmpegGlue:
Collaboration diagram for Sirikata::SDL::FFmpegGlue:

List of all members.

Public Member Functions

void ref ()
void unref ()
String addProtocol (FFmpegURLProtocol *protocol)
void removeProtocol (FFmpegURLProtocol *protocol)
void getProtocol (const String &key, FFmpegURLProtocol **protocol)

Protected Types

typedef boost::mutex Mutex
typedef boost::lock_guard< MutexLock
typedef std::map< String,
FFmpegURLProtocol * > 
ProtocolMap

Protected Member Functions

 FFmpegGlue ()
 ~FFmpegGlue ()
friend std::auto_ptr ()
String getProtocolKey (FFmpegURLProtocol *protocol)

Protected Attributes

int32 mRefCount
Mutex mMutex
ProtocolMap mProtocols

Friends

class AutoSingleton< FFmpegGlue >
void std::auto_ptr (FFmpegGlue *)

Detailed Description

Glue layer for FFmpeg.

Deals with initialization, cleanup, and providing an easy way to load from in-memory data.


Member Typedef Documentation

typedef boost::lock_guard<Mutex> Sirikata::SDL::FFmpegGlue::Lock [protected]
typedef boost::mutex Sirikata::SDL::FFmpegGlue::Mutex [protected]
typedef std::map<String, FFmpegURLProtocol*> Sirikata::SDL::FFmpegGlue::ProtocolMap [protected]

Constructor & Destructor Documentation

Sirikata::SDL::FFmpegGlue::FFmpegGlue ( ) [protected]
Sirikata::SDL::FFmpegGlue::~FFmpegGlue ( ) [protected]

Member Function Documentation

String Sirikata::SDL::FFmpegGlue::addProtocol ( FFmpegURLProtocol protocol)
void Sirikata::SDL::FFmpegGlue::getProtocol ( const String &  key,
FFmpegURLProtocol **  protocol 
)

References mMutex, and mProtocols.

String Sirikata::SDL::FFmpegGlue::getProtocolKey ( FFmpegURLProtocol protocol) [protected]

Referenced by addProtocol().

void Sirikata::SDL::FFmpegGlue::ref ( )
void Sirikata::SDL::FFmpegGlue::removeProtocol ( FFmpegURLProtocol protocol)
Sirikata::SDL::FFmpegGlue::std::auto_ptr ( ) [protected]
void Sirikata::SDL::FFmpegGlue::unref ( )

Friends And Related Function Documentation

friend class AutoSingleton< FFmpegGlue > [friend]
void std::auto_ptr ( FFmpegGlue ) [friend]

Member Data Documentation

Referenced by ref(), and unref().


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