reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofTypes.h
Go to the documentation of this file.
1#pragma once
2
3#include "ofConstants.h"
4
5//----------------------------------------------------------
6// ofMutex
7//----------------------------------------------------------
8
9#include <mutex>
42typedef std::mutex ofMutex;
43
80typedef std::unique_lock<std::mutex> ofScopedLock;
81
82
83
84//----------------------------------------------------------
85// ofPtr
86//----------------------------------------------------------
87template <typename T>
88using ofPtr = std::shared_ptr<T>;
std::shared_ptr< T > ofPtr
Definition ofTypes.h:88
std::mutex ofMutex
A typedef for a cross-platform mutex.
Definition ofTypes.h:42
std::unique_lock< std::mutex > ofScopedLock
A typedef for a cross-platform scoped mutex.
Definition ofTypes.h:80