# 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 (CAnimationTime time)
 animate all the playlist: setupMixer() the channelMixer, and eval(false) (eval global part). 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(s):
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 83 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 34 of file play_list_manager.cpp.

void NL3D::CPlayListManager::animate ( CAnimationTime 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 54 of file play_list_manager.cpp.

void NL3D::CPlayListManager::removePlaylist ( CAnimationPlaylist * plist )
 

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

Definition at line 45 of file play_list_manager.cpp.


Member Data Documentation

TPlayListList NL3D::CPlayListManager::_List [private]
 

Definition at line 84 of file play_list_manager.h.


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