13 #ifndef _MpOSSDeviceWrapperContainer_h_ 14 #define _MpOSSDeviceWrapperContainer_h_ 19 #include "utl/UtlString.h" 20 #include "utl/UtlHashMap.h" 21 #include "os/OsMutex.h" 93 #endif // _MpOSSDeviceWrapperContainer_h_ MpOss * getOSSDeviceWrapper(const UtlString &ossdev)
Create new wrapper for name haven't founded in container.
Definition: MpOssContainer.cpp:96
static int refCount
Number of all MpOSSDeviceWrapperContainer members.
Definition: MpOssContainer.h:84
OsMutex mMutex
Internal synchronization mutex.
Definition: MpOssContainer.h:88
~MpOssContainer()
Definition: MpOssContainer.cpp:46
MpOssContainer()
Definition: MpOssContainer.cpp:40
void excludeFromContainer(MpOss *pDev)
Excluding wrapper from container.
Definition: MpOssContainer.cpp:69
static void releaseContainer(MpOssContainer *pCont)
Releasing wrapper if it no longer needed (no references).
Definition: MpOssContainer.cpp:142
static UtlBoolean excludeWrapperFromContainer(MpOss *pDev)
Excluding wrapper from container (static version).
Definition: MpOssContainer.cpp:115
static MpOssContainer * getContainer()
Creating wrapper and return if it wasn't create yet.
Definition: MpOssContainer.cpp:130
Definition: MpOssContainer.h:33
Wrapper for OSS device that use file descriptor to communicate.
Definition: MpOss.h:35
static MpOssContainer * mpCont
Pointer to allocated class.
Definition: MpOssContainer.h:83