Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

VirtualBoxBaseNEXT Class Reference

#include <VirtualBoxBase.h>

Inheritance diagram for VirtualBoxBaseNEXT:

VirtualBoxBase VirtualBoxBaseProto util::Lockable HardDiskFormat ImageMediumBase OUSBDevice ProgressBase USBDeviceFilter VirtualBoxBaseWithChildrenNEXT VirtualBoxBaseWithTypedChildrenNEXT< C > VirtualBoxBaseWithTypedChildrenNEXT< HardDisk >

List of all members.


Detailed Description

Temporary class to disable deprecated methods of VirtualBoxBase. Can be used as a base for components that are completely switched to the new locking scheme (VirtualBoxBaseProto).

Todo:
remove after we switch to VirtualBoxBaseNEXT completely.

Definition at line 1300 of file VirtualBoxBase.h.


Public Types

typedef AutoCallerBase< false > AutoCaller
typedef AutoCallerBase< true > AutoLimitedCaller
enum  State {
  NotReady, Ready, InInit, InUninit,
  InitFailed, Limited, MayUninit, WillUninit
}

Public Member Functions

virtual HRESULT addCaller (State *aState=NULL, bool aLimited=false)
HRESULT addLimitedCaller (State *aState=NULL)
bool isLockedOnCurrentThread ()
bool isWriteLockOnCurrentThread ()
virtual RWLockHandlelockHandle () const
virtual void releaseCaller ()
LockOps * rlock ()
virtual void uninit ()
virtual void uninit ()
LockOps * wlock ()

Static Public Member Functions

static const char * translate (const char *context, const char *sourceText, const char *comment=0)
static const char * translate (const char *context, const char *sourceText, const char *comment=0)

Protected Member Functions

WriteLockHandlestateLockHandle ()

Private Member Functions

bool isReady ()
void lock ()
void setReady (bool isReady)
void unlock ()

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

Generated by  Doxygen 1.6.0   Back to index