Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.generalrobotix.ui.view.tdview.SWTMoviePlayer Class Reference
Inheritance diagram for com.generalrobotix.ui.view.tdview.SWTMoviePlayer:
Inheritance graph
[legend]

Public Member Functions

void controllerUpdate (ControllerEvent evt)
 
 SWTMoviePlayer (Shell shell, String fileName)
 

Private Member Functions

BufferedImage _convertBufferedImage (Buffer buf)
 
MediaLocator _createMediaLocator (String url)
 
boolean _load (String fileName)
 
void _open ()
 
void _remove ()
 
void _saveImageAs ()
 
boolean _waitForState (int state)
 
void createMenu ()
 
void resizeWindow ()
 

Private Attributes

Component cmpOpe_ =null
 
Component cmpVisual_ =null
 
FramePositioningControl frameCtrl_ =null
 
FrameGrabbingControl frameGrabCtrl_ =null
 
Processor p_ =null
 
boolean stateTransitionOK = true
 
final String STR_RIGHT_ ="(C) 2000 Kernel Inc"
 
final String STR_TITLE_ ="SMPlayer"
 
Object waitSync = new Object()
 

Detailed Description

Definition at line 57 of file SWTMoviePlayer.java.

Constructor & Destructor Documentation

com.generalrobotix.ui.view.tdview.SWTMoviePlayer.SWTMoviePlayer ( Shell  shell,
String  fileName 
)
inline

コンストラクタ

Parameters
shell親にするシェル
fileName動画ファイル名 or URL

Definition at line 82 of file SWTMoviePlayer.java.

Member Function Documentation

BufferedImage com.generalrobotix.ui.view.tdview.SWTMoviePlayer._convertBufferedImage ( Buffer  buf)
inlineprivate

Buffer から BufferedImageへ変換する

Parameters
bufバッファ(フォーマットは RGB or YUV)
Returns
BufferedImage,失敗ならnull

Definition at line 481 of file SWTMoviePlayer.java.

MediaLocator com.generalrobotix.ui.view.tdview.SWTMoviePlayer._createMediaLocator ( String  url)
inlineprivate

MediaLocator生成 urlからMediaLocator生成(urlはファイル名でも可) url==nullならml=nullとなる

Parameters
url動画ファイル名 or URL

Definition at line 291 of file SWTMoviePlayer.java.

boolean com.generalrobotix.ui.view.tdview.SWTMoviePlayer._load ( String  fileName)
inlineprivate

ロード fileNameで指定されたファイルをロード 成功したらtrueを返す ml==nullなら空の状態にする

Parameters
fileName動画ファイル名 or URL
Returns
成功ならtrue

Definition at line 322 of file SWTMoviePlayer.java.

void com.generalrobotix.ui.view.tdview.SWTMoviePlayer._open ( )
inlineprivate

Definition at line 201 of file SWTMoviePlayer.java.

void com.generalrobotix.ui.view.tdview.SWTMoviePlayer._remove ( )
inlineprivate

資源解放処理

Definition at line 265 of file SWTMoviePlayer.java.

void com.generalrobotix.ui.view.tdview.SWTMoviePlayer._saveImageAs ( )
inlineprivate

Definition at line 500 of file SWTMoviePlayer.java.

boolean com.generalrobotix.ui.view.tdview.SWTMoviePlayer._waitForState ( int  state)
inlineprivate

Block until the processor has transitioned to the given state. Return false if the transition failed.

Parameters
state待つプロセッサの状態
Returns
問題なければtrue,冷害が起こったらfalse

Definition at line 596 of file SWTMoviePlayer.java.

void com.generalrobotix.ui.view.tdview.SWTMoviePlayer.controllerUpdate ( ControllerEvent  evt)
inline

Controller Listener(待ちに使用)

Definition at line 611 of file SWTMoviePlayer.java.

void com.generalrobotix.ui.view.tdview.SWTMoviePlayer.createMenu ( )
inlineprivate

Definition at line 159 of file SWTMoviePlayer.java.

void com.generalrobotix.ui.view.tdview.SWTMoviePlayer.resizeWindow ( )
inlineprivate

Definition at line 144 of file SWTMoviePlayer.java.

Member Data Documentation

Component com.generalrobotix.ui.view.tdview.SWTMoviePlayer.cmpOpe_ =null
private

Definition at line 59 of file SWTMoviePlayer.java.

Component com.generalrobotix.ui.view.tdview.SWTMoviePlayer.cmpVisual_ =null
private

Definition at line 58 of file SWTMoviePlayer.java.

FramePositioningControl com.generalrobotix.ui.view.tdview.SWTMoviePlayer.frameCtrl_ =null
private

Definition at line 62 of file SWTMoviePlayer.java.

FrameGrabbingControl com.generalrobotix.ui.view.tdview.SWTMoviePlayer.frameGrabCtrl_ =null
private

Definition at line 63 of file SWTMoviePlayer.java.

Processor com.generalrobotix.ui.view.tdview.SWTMoviePlayer.p_ =null
private

Definition at line 61 of file SWTMoviePlayer.java.

boolean com.generalrobotix.ui.view.tdview.SWTMoviePlayer.stateTransitionOK = true
private

Definition at line 66 of file SWTMoviePlayer.java.

final String com.generalrobotix.ui.view.tdview.SWTMoviePlayer.STR_RIGHT_ ="(C) 2000 Kernel Inc"
private

Definition at line 69 of file SWTMoviePlayer.java.

final String com.generalrobotix.ui.view.tdview.SWTMoviePlayer.STR_TITLE_ ="SMPlayer"
private

Definition at line 68 of file SWTMoviePlayer.java.

Object com.generalrobotix.ui.view.tdview.SWTMoviePlayer.waitSync = new Object()
private

Definition at line 65 of file SWTMoviePlayer.java.


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


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:44