Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgReserveMarker Class Reference

#include <SgMarker.h>

List of all members.


Detailed Description

Declare a variable of this class on the stack to reserve a board marker.

It asserts that nobody else is using the same marker at the same time.

Definition at line 111 of file SgMarker.h.

Public Member Functions

 SgReserveMarker (SgMarker &marker)
 In debug build, assert that the marker is not already in use.
 ~SgReserveMarker ()

Private Attributes

SgMarkerm_marker


Constructor & Destructor Documentation

SgReserveMarker::SgReserveMarker ( SgMarker marker  ) 

In debug build, assert that the marker is not already in use.

Definition at line 127 of file SgMarker.h.

References m_marker, SgMarker::m_markerInUse, and SG_ASSERT.

SgReserveMarker::~SgReserveMarker (  ) 

Definition at line 134 of file SgMarker.h.

References m_marker, and SgMarker::m_markerInUse.


Member Data Documentation

SgMarker& SgReserveMarker::m_marker [private]

Definition at line 121 of file SgMarker.h.

Referenced by SgReserveMarker(), and ~SgReserveMarker().


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


17 Jun 2010 Doxygen 1.4.7