The ThreadFactory class allows you to register any subclass of Thread and Semaphore to provide the implementation of all newly created thread objects.  
 More...
#include <Thread.h>
The ThreadFactory class allows you to register any subclass of Thread and Semaphore to provide the implementation of all newly created thread objects. 
 
  
  
      
        
          | void Neo::ThreadFactory::clear  | 
          ( | 
          void  | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | Semaphore* Neo::ThreadFactory::getNewSemaphore  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Creates a new semaphore. 
- Returns
 - The new semaphore. 
 
 
 
  
  
      
        
          | Thread* Neo::ThreadFactory::getNewThread  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Creates a new thread. 
- Returns
 - The new thread. 
 
 
 
  
  
      
        
          | void Neo::ThreadFactory::setTemplateSemaphore  | 
          ( | 
          Semaphore *  | 
          sem | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Sets the semaphore template object with the overwritten getNew method. 
- Parameters
 - 
  
  
 
 
 
  
  
      
        
          | void Neo::ThreadFactory::setTemplateThread  | 
          ( | 
          Thread *  | 
          thr | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Sets the thread template object with the overwritten getNew method. 
- Parameters
 - 
  
  
 
 
 
The documentation for this class was generated from the following file: