//*************************************************************************
//* ================
//*  Lockable Class
//* ================
//*
//* (Description)
//*    Lockable class supplies basic functions for lockable objects.
//* (Requires)
//* 	none
//* (Provides)
//* 	class Lockable
//* (Update Recored)
//*    1999/06/05  K.Fujii	Original very primitive version.
//*
//*************************************************************************
//
#include "Lockable.h"
#include <iostream.h>
//_____________________________________________________________________
//  ------------------------------
//  Base Class for Lockale Objects
//  ------------------------------
//
//*--
//*  Constructors
//*--
 Lockable::Lockable() { fStatus = kFALSE; }

//*--
//*  Destructors
//*--
 Lockable::~Lockable() {}

//*--
//*  Getters
//*--
 Bool_t Lockable::IsLocked() const { return fStatus; }

//*--
//*  Basic services
//*--
 void Lockable::Lock() { fStatus = kTRUE; }

 void Lockable::Unlock() { fStatus = kFALSE; }

ClassImp(Lockable)


ROOT page - Home page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.