#include <play_list_manager_user.h>
Inheritance diagram for NL3D::CPlayListManagerUser:
Nevrax France
Definition at line 49 of file play_list_manager_user.h.
Public Member Functions | |
virtual void | animate (TGlobalAnimationTime time) |
CPlayListManagerUser () | |
Constructor. | |
virtual UPlayList * | createPlayList (UAnimationSet *animSet) |
virtual void | deletePlayList (UPlayList *playList) |
virtual void | setup (TGlobalAnimationTime time) |
Private Attributes | |
CPlayListManager | _PlayListManager |
CPtrSet< CPlayListUser > | _PlayLists |
|
Constructor.
Definition at line 59 of file play_list_manager_user.h. References NL3D_MEM_PLAYLIST_MANAGER.
00060 { 00061 NL3D_MEM_PLAYLIST_MANAGER 00062 } |
|
Animate all the playlist. Only the globals channels are animated. NB: all AnimationTime are in second. Implements NL3D::UPlayListManager. Definition at line 65 of file play_list_manager_user.cpp. References _PlayListManager, NL3D::CPlayListManager::animate(), H_AUTO, NL3D_MEM_PLAYLIST_MANAGER, and NL3D::TGlobalAnimationTime.
00066 { 00067 NL3D_MEM_PLAYLIST_MANAGER 00068 H_AUTO( NL3D_Render_PlayListMgr_Animate ); 00069 00070 _PlayListManager.animate(time); 00071 } |
|
Create a playlist, instance of an animation set. nlerror if(animSet==NULL). Implements NL3D::UPlayListManager. Definition at line 38 of file play_list_manager_user.cpp. References NL3D::CPlayListUser::_ChannelMixer, NL3D::CPlayListUser::_PlayList, _PlayListManager, _PlayLists, NL3D::CPlayListManager::addPlaylist(), NL3D::CPtrSet< CPlayListUser >::insert(), NL3D_MEM_PLAYLIST_MANAGER, and nlerror.
00039 { 00040 NL3D_MEM_PLAYLIST_MANAGER 00041 if(!animSet) 00042 nlerror("createPlayList(): animSet==NULL"); 00043 00044 CPlayListUser *pl= new CPlayListUser( safe_cast<CAnimationSetUser*>(animSet)->_AnimationSet ); 00045 _PlayLists.insert(pl); 00046 00047 _PlayListManager.addPlaylist(&pl->_PlayList, &pl->_ChannelMixer); 00048 00049 return pl; 00050 } |
|
Delete a playlist. nlerror if not found. no-op if playList==NULL. Implements NL3D::UPlayListManager. Definition at line 54 of file play_list_manager_user.cpp. References _PlayListManager, _PlayLists, NL3D::CPtrSet< CPlayListUser >::erase(), NL3D_MEM_PLAYLIST_MANAGER, and NL3D::CPlayListManager::removePlaylist().
00055 { 00056 NL3D_MEM_PLAYLIST_MANAGER 00057 CPlayListUser *pl= safe_cast<CPlayListUser*>(playList); 00058 00059 _PlayListManager.removePlaylist(&pl->_PlayList); 00060 _PlayLists.erase(pl, "deletePlayList(): bad playList"); 00061 } |
|
Setup all the playlist. NB: all AnimationTime are in second. Implements NL3D::UPlayListManager. Definition at line 75 of file play_list_manager_user.cpp. References _PlayListManager, H_AUTO, NL3D_MEM_PLAYLIST_MANAGER, NL3D::CPlayListManager::setup(), and NL3D::TGlobalAnimationTime.
00076 { 00077 NL3D_MEM_PLAYLIST_MANAGER 00078 H_AUTO( NL3D_Render_PlayListMgr_Setup ); 00079 00080 _PlayListManager.setup(time); 00081 } |
|
Definition at line 52 of file play_list_manager_user.h. Referenced by animate(), createPlayList(), deletePlayList(), and setup(). |
|
Definition at line 53 of file play_list_manager_user.h. Referenced by createPlayList(), and deletePlayList(). |