|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IVideoManagerImpl< T > Class Template ReferenceThe video manager class, provides fundamental functionality for work in all fields on this library. More...
Detailed Descriptiontemplate<class T>
|
const short VerifyVideoManager | ( | void | ) | const [inline] |
Verify the integrity of the manager class.
void SetWindowInfo | ( | const SWindowInfo & | WindowInfo | ) | const [inline] |
Sets the information of the window.
WindowInfo | The information of the window. |
SWindowInfo* GetWindowInfo | ( | void | ) | const [inline] |
Retrieves the information of the window.
void RegisterVideoWindow | ( | void * | instance = NULL , |
|
void * | handle = NULL | |||
) | const [inline] |
This method registers a window for subsequent use in calls to the CreateVideoWindow() method.
instance | Handle to the current instance of the application. | |
handle | Handle to the current window. |
void RegisterVideoWindowFrom | ( | const SWindowInfo & | WindowInfo | ) | const [inline] |
This method registers a window for subsequent use in calls to the CreateVideoWindow() method.
WindowInfo | The information of the window. |
void UnregisterVideoWindow | ( | void | ) | const [inline] |
This method unregisters a window, freeing the memory required for the window.
short CreateVideoWindow | ( | void | ) | const [inline] |
This method creates an window.
void DestroyVideoWindow | ( | void | ) | const [inline] |
This method destroys the window.
short ShowVideoWindow | ( | const short | show = CE_SHOWDEFAULT |
) | const [inline] |
This method sets the window's show state.
show | Specifies how the window is to be shown.
|
short InitVideoWindow | ( | void | ) | const [inline] |
Initialize the window main loop.
int UpdateVideoWindow | ( | void | ) | const [inline] |
Update the window main loop.
unsigned int LoadVideoFile | ( | char * | file_name, | |
unsigned long | flags = 0x0 | |||
) | const [inline] |
Load a video file.
file_name | Null-terminated string indicating the name of an video data file to open. | |||||||||||||
flags | Defining the video style.
|
short ReleaseVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Release the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
void ReleaseAllVideos | ( | void | ) | const [inline] |
Release all the videos.
SVideoInfo GetVideoInfo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves the video info.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
SVideoInfo* GetAsyncVideoInfo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves the asynchronous video info.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
short ShowVideo | ( | const unsigned int | videoID = 0x1 , |
|
const int | show = CE_VIDEO_SHOW | |||
) | const [inline] |
This method sets the video's show state.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
show | Specifies how the video is to be shown. CE_VIDEO_HIDE or FALSE to hide the video. CE_VIDEO_SHOW or TRUE to Show the video. |
void PlayVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Start playing from the current position in the content.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
void PlayVideoFrom | ( | const unsigned int | videoID = 0x1 , |
|
unsigned long | start = 0x0 | |||
) | const [inline] |
Start from the specified location to the end of the content or until another command stops playback.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
start | Starting location. The units for the starting location depend on the current time format. |
void PlayVideoFromTo | ( | const unsigned int | videoID = 0x1 , |
|
unsigned long | start = 0x0 , |
|||
unsigned long | end = 0x0 | |||
) | const [inline] |
Plays a portion of content between specified starting and ending locations.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
start | Position to seek; it is also the starting location. | |
end | Ending location. |
void PlayVideoTo | ( | const unsigned int | videoID = 0x1 , |
|
unsigned long | end = 0x0 | |||
) | const [inline] |
Plays the content of the video from the current position to the specified ending location or until another command stops playback.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
end | Ending location. The units for the ending location depend on the current time format. |
void PauseVideo | ( | const unsigned int | videoID = 0x1 , |
|
const short | pause = TRUE | |||
) | const [inline] |
This method sends a command to an video to pause playing.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
pause | TRUE value to pause or FALSEvalue to resume. |
void ResumeVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Resumes playback content from the paused mode.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
void StopVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Stops playing the content of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
void SeekVideo | ( | const unsigned int | videoID = 0x1 , |
|
const unsigned long | position = 0x0 | |||
) | const [inline] |
Moves the playback position to the specified location in the content.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
position | Position to seek. |
void SeekStartVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Moves the current position to the beginning of the content.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
void SeekEndVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Moves the current position to the end of the content.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
void SetVolumeVideo | ( | const unsigned int | videoID = 0x1 , |
|
const unsigned int | volume = 1000 | |||
) | const [inline] |
Sets the volume level of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
volume | New volume level. Specify 1000 for normal volume level. Specify a higher value for a louder volume or a lower value for a quieter volume. |
void SetZoomVideo | ( | const unsigned int | videoID = 0x1 , |
|
const unsigned int | zoom = 100 | |||
) | const [inline] |
Resizes a video image according to a zoom factor.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
zoom | Zoom factor expressed as a percentage of the original image. Specify 100 to display the image at its authored size, 200 to display the image at twice its normal size, or 50 to display the image at half its normal size. |
void SetSpeedVideo | ( | const unsigned int | videoID = 0x1 , |
|
const unsigned int | speed = 1000 | |||
) | const [inline] |
Sets the playback speed of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
speed | Playback speed. Specify 1000 for normal speed, larger values for faster speeds, and smaller values for slower speeds. |
void SetRepeatVideo | ( | const unsigned int | videoID = 0x1 , |
|
const short | repeat = TRUE | |||
) | const [inline] |
Sets the repeat flag associated with continuous playback.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. | |
repeat | New state of the repeat flag. Specify TRUE to turn on continuous playback. |
unsigned int GetVolumeVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves the current volume setting of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
unsigned int GetZoomVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves the current zoom value used by the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
unsigned int GetSpeedVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves the playback speed of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
unsigned int GetRepeatVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Determines if continuous playback has been activated.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
unsigned long GetPositionVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves the numerical value of the current position within the content of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
unsigned long GetLengthVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves the length of the content used by the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
unsigned long GetStartVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves location the beginning of the video of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
unsigned long GetEndVideo | ( | const unsigned int | videoID = 0x1 |
) | const [inline] |
Retrieves location of end of the video.
videoID | Handle of the video or also can take CE_VIDEOID_FIRST Handle to first video. CE_VIDEOID_LAST Handle to last video. CE_VIDEOID_ALL Handle to all videos. |
IVideoManager* Video [protected] |
Instance to the video manager.
Except where otherwise noted,
content on this site is licensed under a Creative Commons Attribution 3.0 License |