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

#include <avbts_oslock.hpp>

Inheritance diagram for OSLockFactory:
Inheritance graph
Collaboration diagram for OSLockFactory:
Collaboration graph

Public Member Functions

virtual OSLockcreateLock (OSLockType type)=0
 Creates locking mechanism. More...
 

Detailed Description

Provides a factory pattern for OSLock

Member Function Documentation

virtual OSLock* OSLockFactory::createLock ( OSLockType  type)
pure virtual

Creates locking mechanism.

Parameters
typeEnumeration OSLockType
Returns
Pointer to an enumeration of type OSLock

Implemented in LinuxLockFactory, and WindowsLockFactory.


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