[OPUS]

Opus_lock - An abstract base class for OPUS resource locks.


Availability:

This class is available for the OPUS Blackboard API. The initial OPUS 2.0 release is described here

Constructors:
Opus_lock( )
~Opus_lock( )

Methods:
lock( ) lock resource
release( ) release lock
operator==( ) lock equality

Description

Opus_lock is the abstract base class for objects that perform resource locking in OPUS.

See Also:


Opus_lock::Opus_lock - The Opus_lock object constructor.

Synopsis


Opus_lock::Opus_lock() : locked(false)

Description

The constructor initializes the lock state to unlocked.

Exceptions Thrown

none


Opus_lock::~Opus_lock - The Opus_lock object destructor.

Synopsis


Opus_lock::~Opus_lock()

Description

This method defines a virtual destructor for the class hierarchy.

Exceptions Thrown

none


OPUS API index · STScI Home Page · Search · Topics · Index

Copyright © 1997-2000 The Association of Universities for Research in Astronomy, Inc. All Rights Reserved.


For more information, contact opushelp@stsci.edu

Last modified: 25 April 2000