GuiMenuEntry Class Reference

#include <GuiMenu.h>

List of all members.

Public Member Functions

 GuiMenuEntry ()
virtual ~GuiMenuEntry ()
void Connect (SigC::Slot0< void > s)
void Trigger ()
void SetEntry (TGMenuEntry *tgme)
TGMenuEntry * GetEntry ()

Private Attributes

TGMenuEntry * fMenuEntry
SigC::Signal0< void > fSig

Detailed Description

Definition at line 31 of file GuiMenu.h.


Constructor & Destructor Documentation

GuiMenuEntry::GuiMenuEntry (  )  [inline]

Definition at line 36 of file GuiMenu.h.

00036 : fMenuEntry(0) {}

virtual GuiMenuEntry::~GuiMenuEntry (  )  [inline, virtual]

Definition at line 37 of file GuiMenu.h.

00037 { }


Member Function Documentation

void GuiMenuEntry::Connect ( SigC::Slot0< void >  s  )  [inline]

Definition at line 38 of file GuiMenu.h.

References fSig.

Referenced by GuiMenu::Insert().

00038 { fSig.connect(s); }

TGMenuEntry* GuiMenuEntry::GetEntry (  )  [inline]

Definition at line 41 of file GuiMenu.h.

References fMenuEntry.

00041 { return fMenuEntry; }

void GuiMenuEntry::SetEntry ( TGMenuEntry *  tgme  )  [inline]

Definition at line 40 of file GuiMenu.h.

References fMenuEntry.

Referenced by GuiMenu::Insert().

00040 { fMenuEntry = tgme; }

void GuiMenuEntry::Trigger (  )  [inline]

Definition at line 39 of file GuiMenu.h.

References fSig.

Referenced by GuiMenu::Activated().

00039 { fSig.emit(); }


Member Data Documentation

TGMenuEntry* GuiMenuEntry::fMenuEntry [private]

Definition at line 33 of file GuiMenu.h.

Referenced by GetEntry(), and SetEntry().

SigC::Signal0<void> GuiMenuEntry::fSig [private]

Definition at line 34 of file GuiMenu.h.

Referenced by Connect(), and Trigger().


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

Generated on 14 Jun 2018 for loon by  doxygen 1.6.1