sbRunnable_< void > Class Template Referenceabstract

#include <sbThreadUtils.h>

Inheritance diagram for sbRunnable_< void >:
[legend]
Collaboration diagram for sbRunnable_< void >:
[legend]

Public Member Functions

 sbRunnable_ (const char *aName)
 
NS_IMETHOD Run ()
 
- Public Member Functions inherited from sbRunnable
 sbRunnable (const char *aName)
 
NS_IMETHOD Run ()
 
PRBool Wait (PRIntervalTime aTimeout)
 

Protected Member Functions

virtual void OnRun ()=0
 

Detailed Description

template<>
class sbRunnable_< void >

A specialization of sbRunnable_<> for operations that return void.

Definition at line 842 of file sbThreadUtils.h.

Constructor & Destructor Documentation

sbRunnable_< void >::sbRunnable_ ( const char *  aName)
inline

Definition at line 845 of file sbThreadUtils.h.

Member Function Documentation

virtual void sbRunnable_< void >::OnRun ( )
protectedpure virtual

The operation to perform when invoked, as defined by a subclass.

NS_IMETHOD sbRunnable_< void >::Run ( )
inline

nsIRunnable run method. Delegates to OnRun(). Subclasses must override OnRun(), not this function.

Definition at line 855 of file sbThreadUtils.h.

Here is the call graph for this function:


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