# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CPlayListManager Class Reference

This class handles a list of pair PlayList/ChannelMixer RefPointer. More...

#include <play_list_manager.h>

List of all members.

Public Methods

 CPlayListManager ()
 Constructor. More...

void addPlaylist (CAnimationPlaylist *plist, CChannelMixer *chanMixer)
 add a playlist/channelmixer to the manager. nlassert(plist). chanMixer replaced if playlist already IN. More...

void removePlaylist (CAnimationPlaylist *plist)
 remove a playlist/channelmixer from the manager. nlassert(plist). no op if not here. More...

void animate (TGlobalAnimationTime time)
 animate all the playlist: setupMixer() the channelMixer, and eval(false) (eval global part). More...

void deleteAll ()
 Perform a deletion of all pair playlist channel mixer. More...


Private Types

typedef std::map< CAnimationPlaylist *,
CNode
TPlayListList
 CAnimationPlaylist* is just the key. More...


Private Attributes

TPlayListList _List


Detailed Description

This class handles a list of pair PlayList/ChannelMixer RefPointer.

It is just a container, with a animate() method. PlayList/ChannelMixer are sotred with RefPtr. They are auto-removed from the list if the playlist or the channelmixer is deleted (done in animate()).

Author:
Lionel Berenguier , Nevrax France
Date:
2001

Definition at line 48 of file play_list_manager.h.


Member Typedef Documentation

typedef std::map<CAnimationPlaylist*, CNode> NL3D::CPlayListManager::TPlayListList [private]
 

CAnimationPlaylist* is just the key.

Definition at line 85 of file play_list_manager.h.


Constructor & Destructor Documentation

NL3D::CPlayListManager::CPlayListManager   [inline]
 

Constructor.

Definition at line 53 of file play_list_manager.h.


Member Function Documentation

void NL3D::CPlayListManager::addPlaylist CAnimationPlaylist   plist,
CChannelMixer   chanMixer
 

add a playlist/channelmixer to the manager. nlassert(plist). chanMixer replaced if playlist already IN.

Definition at line 36 of file play_list_manager.cpp.

References _List, and nlassert.

void NL3D::CPlayListManager::animate TGlobalAnimationTime    time
 

animate all the playlist: setupMixer() the channelMixer, and eval(false) (eval global part).

If a playlist/channelmixer has been deleted (RefPtr), the node is removed from the list.

Definition at line 56 of file play_list_manager.cpp.

References _List, and NL3D::TGlobalAnimationTime.

void NL3D::CPlayListManager::deleteAll  
 

Perform a deletion of all pair playlist channel mixer.

Definition at line 82 of file play_list_manager.cpp.

References _List.

void NL3D::CPlayListManager::removePlaylist CAnimationPlaylist   plist
 

remove a playlist/channelmixer from the manager. nlassert(plist). no op if not here.

Definition at line 47 of file play_list_manager.cpp.

References _List, and nlassert.


Member Data Documentation

TPlayListList NL3D::CPlayListManager::_List [private]
 

Definition at line 86 of file play_list_manager.h.

Referenced by addPlaylist, animate, deleteAll, and removePlaylist.


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