CMPI_ThreadContext Class Reference

#include <cmpiThreadContext.h>

Collaboration diagram for CMPI_ThreadContext:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CMPI_ThreadContext ()
 CMPI_ThreadContext (CMPIBroker *, CMPIContext *)
 ~CMPI_ThreadContext ()

Static Public Member Functions

static void addObject (CMPI_Object *)
static void remObject (CMPI_Object *)
static CMPI_ThreadContextgetThreadContext ()
static CMPIBrokergetBroker ()
static CMPIContextgetContext ()

Private Member Functions

void add (CMPI_Object *o)
void remove (CMPI_Object *o)
void setThreadContext ()
void setContext ()

Private Attributes

CMPI_ThreadContextm_prev
CMPI_ObjectCIMfirst
CMPI_ObjectCIMlast
CMPIBrokerbroker
CMPIContextcontext

Static Private Attributes

static pthread_key_t theKey

Friends

void initializeTheKey ()

Detailed Description

Definition at line 37 of file cmpiThreadContext.h.


Constructor & Destructor Documentation

CMPI_ThreadContext::CMPI_ThreadContext  ) 
 

Definition at line 107 of file cmpiThreadContext.cpp.

References setThreadContext().

CMPI_ThreadContext::CMPI_ThreadContext CMPIBroker ,
CMPIContext
 

Definition at line 115 of file cmpiThreadContext.cpp.

References setThreadContext().

CMPI_ThreadContext::~CMPI_ThreadContext  ) 
 

Definition at line 125 of file cmpiThreadContext.cpp.

References CIMfirst, and CMPI_Object::next.


Member Function Documentation

void CMPI_ThreadContext::add CMPI_Object o  )  [private]
 

Definition at line 75 of file cmpiThreadContext.cpp.

References CIMfirst, CIMlast, and ENQ_TOP_LIST.

Referenced by addObject().

void CMPI_ThreadContext::addObject CMPI_Object  )  [static]
 

Definition at line 80 of file cmpiThreadContext.cpp.

References add(), and getThreadContext().

Referenced by CMPI_InstEnumeration::CMPI_InstEnumeration(), CMPI_Object::CMPI_Object(), CMPI_ObjEnumeration::CMPI_ObjEnumeration(), and CMPI_OpEnumeration::CMPI_OpEnumeration().

CMPIBroker * CMPI_ThreadContext::getBroker  )  [static]
 

Definition at line 97 of file cmpiThreadContext.cpp.

References broker, and getThreadContext().

CMPIContext * CMPI_ThreadContext::getContext  )  [static]
 

Definition at line 102 of file cmpiThreadContext.cpp.

References context, and getThreadContext().

Referenced by resultReturnInstance().

CMPI_ThreadContext * CMPI_ThreadContext::getThreadContext  )  [static]
 

Definition at line 39 of file cmpiThreadContext.cpp.

References initializeTheKey, OW_NAMESPACE::ThreadImpl::once_control, and theKey.

Referenced by addObject(), getBroker(), getContext(), remObject(), and setThreadContext().

void CMPI_ThreadContext::remObject CMPI_Object  )  [static]
 

Definition at line 91 of file cmpiThreadContext.cpp.

References getThreadContext(), and remove().

Referenced by CMPI_Object::unlinkAndDelete().

void CMPI_ThreadContext::remove CMPI_Object o  )  [private]
 

Definition at line 86 of file cmpiThreadContext.cpp.

References CIMfirst, CIMlast, and DEQ_FROM_LIST.

Referenced by remObject().

void CMPI_ThreadContext::setContext  )  [private]
 

Definition at line 53 of file cmpiThreadContext.cpp.

References OW_NAMESPACE::ThreadImpl::initializeTheKey(), OW_NAMESPACE::ThreadImpl::once_control, OW_THROW, and OW_NAMESPACE::ThreadImpl::theKey.

Referenced by setThreadContext().

void CMPI_ThreadContext::setThreadContext  )  [private]
 

Definition at line 66 of file cmpiThreadContext.cpp.

References getThreadContext(), m_prev, and setContext().

Referenced by CMPI_ThreadContext().


Friends And Related Function Documentation

void initializeTheKey  )  [friend]
 

Definition at line 61 of file cmpiThreadContext.h.

Referenced by getThreadContext().


Member Data Documentation

CMPIBroker* CMPI_ThreadContext::broker [private]
 

Definition at line 42 of file cmpiThreadContext.h.

Referenced by getBroker().

CMPI_Object* CMPI_ThreadContext::CIMfirst [private]
 

Definition at line 40 of file cmpiThreadContext.h.

Referenced by add(), remove(), and ~CMPI_ThreadContext().

CMPI_Object * CMPI_ThreadContext::CIMlast [private]
 

Definition at line 40 of file cmpiThreadContext.h.

Referenced by add(), and remove().

CMPIContext* CMPI_ThreadContext::context [private]
 

Definition at line 43 of file cmpiThreadContext.h.

Referenced by getContext().

CMPI_ThreadContext* CMPI_ThreadContext::m_prev [private]
 

Definition at line 39 of file cmpiThreadContext.h.

Referenced by setThreadContext().

pthread_key_t CMPI_ThreadContext::theKey [static, private]
 

Definition at line 38 of file cmpiThreadContext.h.

Referenced by getThreadContext(), and initializeTheKey().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:12:01 2006 for openwbem by  doxygen 1.4.6