/[svn]/linuxsampler/trunk/src/engines/EngineChannelFactory.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/EngineChannelFactory.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1825 by schoenebeck, Wed Jul 5 17:43:48 2006 UTC revision 1826 by iliev, Sat Jan 24 14:32:35 2009 UTC
# Line 52  namespace LinuxSampler { Line 52  namespace LinuxSampler {
52               * Returns all EngineChannel instances.               * Returns all EngineChannel instances.
53               */               */
54              static const std::set<EngineChannel*>& EngineChannelInstances();              static const std::set<EngineChannel*>& EngineChannelInstances();
55    
56                /**
57                 * Specifies whether the deallocation of the specified EngineChannel
58                 * object should be postponed. When the object deletion is diabled
59                 * it is not freed from memory (when destroyed) until it is enabled.
60                 * Used to prevent orphaned pointers.
61                 */
62                static void SetDeleteEnabled(const EngineChannel* pEngineChannel, bool enable);
63    
64            private:
65                static Mutex LockedChannelsMutex;
66      };      };
67    
68  } // namespace LinuxSampler  } // namespace LinuxSampler

Legend:
Removed from v.1825  
changed lines
  Added in v.1826

  ViewVC Help
Powered by ViewVC