프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$deck_number | |||
$end_time | |||
$max_row | |||
$pre_update_track | SSLTrack | Stores the track on the deck at the beginning of the update pass. | |
$previous_track | SSLTrack | Stores the last played track on the deck. | |
$start_time | |||
$status | |||
$track | SSLTrack | Stores the track currently on the deck. | |
$track_started | |||
$track_stopped | * Status flags that are updated by notify() | ||
$track_updated |
메소드 | 설명 | |
---|---|---|
__construct ( $deck_number ) | ||
getCurrentTrack ( ) : SSLTrack | Returns the currently playing track or null if the deck is empty | |
getEndTime ( ) | ||
getPlaytime ( ) : integer | Returns the play time of the track in seconds. | |
getPreviousTrack ( ) : SSLTrack | Returns the previously played track or null if the deck was previously empty | |
getStartTime ( ) | ||
getStatus ( ) | ||
notify ( SSLHistoryDiffDom $diff ) | Notify the deck of a group of changes written to the History File. | |
trackStarted ( ) | Returns a track, if one started since the last notify. | |
trackStopped ( ) | Returns a track, if one stopped since the last notify. | |
trackUpdated ( ) | Returns a track, if one was updated since the last notify. | |
transitionTo ( SSLTrack $track ) | Transition combinations |
메소드 | 설명 | |
---|---|---|
resetFlags ( ) | ||
transitionFromEmptyTo ( SSLTrack $track ) | ||
transitionFromEmptyToNew ( SSLTrack $track ) | ||
transitionFromNewTo ( SSLTrack $track ) | ||
transitionFromNewToPlaying ( SSLTrack $track ) | ||
transitionFromNewToSkipped ( SSLTrack $track ) | ||
transitionFromPlayedTo ( SSLTrack $track ) | ||
transitionFromPlayedToNew ( SSLTrack $track ) | ||
transitionFromPlayingTo ( SSLTrack $track ) | ||
transitionFromPlayingToPlayed ( SSLTrack $track ) | ||
transitionFromSkippedTo ( SSLTrack $track ) | ||
transitionFromSkippedToNew ( SSLTrack $track ) | Base transitions |
public getCurrentTrack ( ) : SSLTrack | ||
리턴 | SSLTrack |
public getPlaytime ( ) : integer | ||
리턴 | integer |
public getPreviousTrack ( ) : SSLTrack | ||
리턴 | SSLTrack |
public notify ( SSLHistoryDiffDom $diff ) | ||
$diff | SSLHistoryDiffDom |
public trackStarted ( ) |
public trackStopped ( ) |
public trackUpdated ( ) |
protected transitionFromEmptyToNew ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromNewToPlaying ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromNewToSkipped ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromPlayedTo ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromPlayedToNew ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromPlayingTo ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromPlayingToPlayed ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromSkippedTo ( SSLTrack $track ) | ||
$track | SSLTrack |
protected transitionFromSkippedToNew ( SSLTrack $track ) | ||
$track | SSLTrack |
public transitionTo ( SSLTrack $track ) | ||
$track | SSLTrack |
protected SSLTrack $pre_update_track | ||
리턴 | SSLTrack |
protected SSLTrack $previous_track | ||
리턴 | SSLTrack |