ICP  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ICPCritical Class Reference

#include <icputils.h>

Public Member Functions

 ICPCritical (CRITICAL_SECTION *pCsect, bool locked=true)
 
void lock ()
 
void unlock ()
 
 ~ICPCritical ()
 

Private Member Functions

 ICPCritical ()
 

Private Attributes

CRITICAL_SECTION * m_critical
 
volatile LONG m_lockcount
 

Detailed Description

Definition at line 330 of file icputils.h.

Constructor & Destructor Documentation

ICPCritical::ICPCritical ( )
inlineprivate

Definition at line 335 of file icputils.h.

ICPCritical::ICPCritical ( CRITICAL_SECTION *  pCsect,
bool  locked = true 
)
inline

Definition at line 338 of file icputils.h.

References lock().

ICPCritical::~ICPCritical ( )
inline

Definition at line 362 of file icputils.h.

References m_critical, m_lockcount, and unlock().

Member Function Documentation

void ICPCritical::lock ( )
inline

Definition at line 349 of file icputils.h.

References m_critical, and m_lockcount.

Referenced by ICPCritical(), and VMESimulation< DAEPolicy >::simulation_routineImpl().

void ICPCritical::unlock ( )
inline

Member Data Documentation

CRITICAL_SECTION* ICPCritical::m_critical
private

Definition at line 333 of file icputils.h.

Referenced by lock(), unlock(), and ~ICPCritical().

volatile LONG ICPCritical::m_lockcount
private

Definition at line 334 of file icputils.h.

Referenced by lock(), unlock(), and ~ICPCritical().


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