JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
VideoComponent::Pimpl::PlayerControllerBase< Derived > Class Template Reference
Inheritance diagram for VideoComponent::Pimpl::PlayerControllerBase< Derived >:
Collaboration diagram for VideoComponent::Pimpl::PlayerControllerBase< Derived >:

Classes

struct  JucePlayerItemPlaybackStatusObserverClass
 
struct  JucePlayerStatusObserverClass
 
class  PlayerAsyncInitialiser
 

Public Member Functions

 ~PlayerControllerBase ()
 

Protected Member Functions

 PlayerControllerBase (Pimpl &ownerToUse, bool useNativeControlsIfAvailable)
 
void attachPlaybackObserver ()
 
void attachPlayerStatusObserver ()
 
void detachPlaybackObserver ()
 
void detachPlayerStatusObserver ()
 

Protected Attributes

Pimplowner
 
PlayerAsyncInitialiser playerAsyncInitialiser
 
std::unique_ptr< NSObject, NSObjectDeleter > playerItemPlaybackStatusObserver
 
std::unique_ptr< NSObject, NSObjectDeleter > playerStatusObserver
 
bool useNativeControls
 

Private Member Functions

Derived & crtp ()
 
void errorOccurred ()
 
void playbackReachedEndTime ()
 
void playbackStarted ()
 
void playbackStopped ()
 
void playerPreparationFinished (const URL &url, Result r, AVPlayer *preparedPlayer)
 

Constructor & Destructor Documentation

◆ ~PlayerControllerBase()

template<typename Derived >
VideoComponent::Pimpl::PlayerControllerBase< Derived >::~PlayerControllerBase ( )
inline

◆ PlayerControllerBase()

template<typename Derived >
VideoComponent::Pimpl::PlayerControllerBase< Derived >::PlayerControllerBase ( Pimpl ownerToUse,
bool  useNativeControlsIfAvailable 
)
inlineprotected

Member Function Documentation

◆ attachPlaybackObserver()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::attachPlaybackObserver ( )
inlineprotected

◆ attachPlayerStatusObserver()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::attachPlayerStatusObserver ( )
inlineprotected

◆ crtp()

◆ detachPlaybackObserver()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::detachPlaybackObserver ( )
inlineprotected

◆ detachPlayerStatusObserver()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::detachPlayerStatusObserver ( )
inlineprotected

◆ errorOccurred()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::errorOccurred ( )
inlineprivate

◆ playbackReachedEndTime()

◆ playbackStarted()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::playbackStarted ( )
inlineprivate

◆ playbackStopped()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::playbackStopped ( )
inlineprivate

◆ playerPreparationFinished()

template<typename Derived >
void VideoComponent::Pimpl::PlayerControllerBase< Derived >::playerPreparationFinished ( const URL &  url,
Result  r,
AVPlayer *  preparedPlayer 
)
inlineprivate

Member Data Documentation

◆ owner

◆ playerAsyncInitialiser

template<typename Derived >
PlayerAsyncInitialiser VideoComponent::Pimpl::PlayerControllerBase< Derived >::playerAsyncInitialiser
protected

◆ playerItemPlaybackStatusObserver

◆ playerStatusObserver

◆ useNativeControls

template<typename Derived >
bool VideoComponent::Pimpl::PlayerControllerBase< Derived >::useNativeControls
protected

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