ROOT logo
// $Id: EyeInfo.h 2088 2008-11-23 20:26:46Z matevz $

// Copyright (C) 1999-2008, 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/.

#ifndef Gled_EyeInfo_H
#define Gled_EyeInfo_H

// Includes
#include <Glasses/ZMirEmittingEntity.h>
#include <Glasses/SaturnInfo.h>

class Saturn;
class Eye;
class TSocket;

class EyeInfo : public ZMirEmittingEntity {
  MAC_RNR_FRIENDS(EyeInfo);
  friend class ZKing; friend class ZQueen; friend class ZSunQueen;
  friend class Saturn;

public:
  typedef Eye*	(*EyeCreator_foo)(TSocket*, EyeInfo*, ZGlass*);

private:
  TSocket*	hSocket;	//!

protected:
  ZLink<SaturnInfo>	mMaster;		// X{gS} L{}

public:
  EyeInfo(const Text_t* n="EyeInfo", const Text_t* t=0);

  virtual SaturnInfo* HostingSaturn() { return mMaster.get(); }
  // Virtuals exported from MEE
  virtual void Message(const Text_t* s);
  virtual void Warning(const Text_t* s);
  virtual void Error(const Text_t* s);

#include "EyeInfo.h7"
  ClassDef(EyeInfo,1);
}; // endclass EyeInfo


typedef list<EyeInfo*>			lpEyeInfo_t;
typedef list<EyeInfo*>::iterator	lpEyeInfo_i;

#endif
 EyeInfo.h:1
 EyeInfo.h:2
 EyeInfo.h:3
 EyeInfo.h:4
 EyeInfo.h:5
 EyeInfo.h:6
 EyeInfo.h:7
 EyeInfo.h:8
 EyeInfo.h:9
 EyeInfo.h:10
 EyeInfo.h:11
 EyeInfo.h:12
 EyeInfo.h:13
 EyeInfo.h:14
 EyeInfo.h:15
 EyeInfo.h:16
 EyeInfo.h:17
 EyeInfo.h:18
 EyeInfo.h:19
 EyeInfo.h:20
 EyeInfo.h:21
 EyeInfo.h:22
 EyeInfo.h:23
 EyeInfo.h:24
 EyeInfo.h:25
 EyeInfo.h:26
 EyeInfo.h:27
 EyeInfo.h:28
 EyeInfo.h:29
 EyeInfo.h:30
 EyeInfo.h:31
 EyeInfo.h:32
 EyeInfo.h:33
 EyeInfo.h:34
 EyeInfo.h:35
 EyeInfo.h:36
 EyeInfo.h:37
 EyeInfo.h:38
 EyeInfo.h:39
 EyeInfo.h:40
 EyeInfo.h:41
 EyeInfo.h:42
 EyeInfo.h:43
 EyeInfo.h:44
 EyeInfo.h:45
 EyeInfo.h:46
 EyeInfo.h:47
 EyeInfo.h:48
 EyeInfo.h:49