Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
utils::CallbackGuard::SharedState Class Reference

Public Member Functions

 SharedState ()
 
void inc ()
 
void dec ()
 
long size ()
 
bool wait (const unsigned int timeoutMs)
 

Private Attributes

std::mutex mMutex
 
std::condition_variable mEmptyCondition
 
long mCounter
 

Constructor & Destructor Documentation

utils::CallbackGuard::SharedState::SharedState ( )
inline

Member Function Documentation

void utils::CallbackGuard::SharedState::dec ( )
inline
void utils::CallbackGuard::SharedState::inc ( )
inline
long utils::CallbackGuard::SharedState::size ( )
inline
bool utils::CallbackGuard::SharedState::wait ( const unsigned int  timeoutMs)
inline

Member Data Documentation

long utils::CallbackGuard::SharedState::mCounter
private
std::condition_variable utils::CallbackGuard::SharedState::mEmptyCondition
private
std::mutex utils::CallbackGuard::SharedState::mMutex
private

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