Public Types | Public Member Functions | List of all members
imm::IVideoController Class Referenceabstract

#include <IVideoController.h>

Inheritance diagram for imm::IVideoController:
imm::IMediaController imm::IVideoInfo istd::IChangeable ifile::IFileTypeInfo istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic iqtmm::CFrameSeqVideoControllerComp

Public Types

enum  SupportedFeatures { SF_GRAB_ANY = 0x100 }
 
- Public Types inherited from imm::IMediaController
enum  ChangeFlags { CF_STATUS = 0xc72a266, CF_MEDIA_POSITION }
 Data model change notification flags. More...
 
enum  SupportedFeatures { SF_OPEN_MEDIA = 0x1, SF_PLAY = 0x2, SF_SEEK = 0x4, SF_AUTO_PLAY = 0x8 }
 

Public Member Functions

virtual int GetCurrentFrame () const =0
 Get index of current frame. More...
 
virtual bool SetCurrentFrame (int frameIndex)=0
 Set index of current frame. More...
 
- Public Member Functions inherited from imm::IMediaController
virtual QString GetOpenedMediumUrl () const =0
 Get URL of the medium object. More...
 
virtual bool OpenMediumUrl (const QString &url, bool autoPlay=true)=0
 Open some media file. More...
 
virtual void CloseMedium ()=0
 Close this media player. More...
 
virtual bool IsPlaying () const =0
 Return true, if media is currntly playing. More...
 
virtual bool SetPlaying (bool state=true)=0
 Play or pause current media. More...
 
virtual double GetMediumLength () const =0
 Return length of opened media. More...
 
virtual double GetCurrentPosition () const =0
 Get current position. More...
 
virtual bool SetCurrentPosition (double position)=0
 Skip to some position of media stream. More...
 
virtual int GetSupportedFeatures () const =0
 Get info about features, that are supported by this media controller. More...
 
- Public Member Functions inherited from imm::IVideoInfo
virtual int GetFramesCount () const =0
 Return length of video in seconds. More...
 
virtual double GetFrameIntervall () const =0
 Return time difference between frames. More...
 
virtual istd::CIndex2d GetFrameSize () const =0
 Return size in pixels of single frame. More...
 
virtual double GetPixelAspectRatio () const =0
 Get frame aspect ratio. More...
 

Detailed Description

Definition at line 15 of file IVideoController.h.

Member Enumeration Documentation

Enumerator
SF_GRAB_ANY 

Definition at line 18 of file IVideoController.h.

Member Function Documentation

virtual int imm::IVideoController::GetCurrentFrame ( ) const
pure virtual

Get index of current frame.

Implemented in iqtmm::CFrameSeqVideoControllerComp.

virtual bool imm::IVideoController::SetCurrentFrame ( int  frameIndex)
pure virtual

Set index of current frame.

This works similiar to imm::IMediaController::SetCurrentPosition, but the parameter is frame index.

Implemented in iqtmm::CFrameSeqVideoControllerComp.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy