gPTP Documentation
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OSThreadFactory Class Referenceabstract

#include <avbts_osthread.hpp>

Inheritance diagram for OSThreadFactory:
Inheritance graph
Collaboration diagram for OSThreadFactory:
Collaboration graph

Public Member Functions

virtual OSThreadcreateThread ()=0
 Creates a new thread. More...
 
virtual ~OSThreadFactory ()=0
 

Detailed Description

Provides factory design pattern for OSThread class

Constructor & Destructor Documentation

OSThreadFactory::~OSThreadFactory ( )
inlinepure virtual

Destroys the new thread

Member Function Documentation

virtual OSThread* OSThreadFactory::createThread ( )
pure virtual

Creates a new thread.

Returns
Pointer to OSThread object

Implemented in WindowsThreadFactory, and LinuxThreadFactory.


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