// $Header: /cvs/gled-1.2/GledCore/Glasses/ZMirEmittingEntity.cxx,v 1.4 2005/03/11 17:50:15 matevz Exp $
// Copyright (C) 1999-2005, Matevz Tadel. All rights reserved.
// This file is part of GLED, released under GNU General Public License version 2.
// For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/.
#include "ZMirEmittingEntity.h"
#include "ZMirEmittingEntity.c7"
#include <Glasses/ZQueen.h>
//__________________________________________________________________________
// ZMirEmittingEntity
//
//
ClassImp(ZMirEmittingEntity)
/**************************************************************************/
void ZMirEmittingEntity::_init()
{
// !!!! Set all links to 0 !!!!
mPrimaryIdentity = 0;
mActiveIdentities = 0;
}
/**************************************************************************/
void ZMirEmittingEntity::AdEnlightenment()
{
PARENT_GLASS::AdEnlightenment();
if(mActiveIdentities == 0) {
mActiveIdentities = new ZHashList("ActiveIdentities",
GForm("ActiveIdentities of %s", GetName()));
mActiveIdentities->SetElementFID(ZIdentity::FID());
mQueen->CheckIn(mActiveIdentities);
}
}
/**************************************************************************/
Bool_t ZMirEmittingEntity::HasIdentity(ZIdentity* ident)
{
return ( mPrimaryIdentity == ident ||
(mActiveIdentities && mActiveIdentities->Has(ident))
);
}
/**************************************************************************/
ROOT page - Home page - Class index - Class Hierarchy - 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.