nMachineObserver Class Reference

Inheritance diagram for nMachineObserver:

Inheritance graph
[legend]
Collaboration diagram for nMachineObserver:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 nMachineObserver (nMachine &machine)
nMachineGetMachine ()

Protected Member Functions

virtual void OnDestroy ()
 called when machine gets destroyed

Private Attributes

nMachinemachine_


Detailed Description

Definition at line 918 of file eVoter.cpp.


Constructor & Destructor Documentation

nMachineObserver::nMachineObserver ( nMachine machine  )  [inline]

Definition at line 921 of file eVoter.cpp.

00922             : nMachineDecorator( machine ), machine_( &machine ){}


Member Function Documentation

nMachine* nMachineObserver::GetMachine (  )  [inline]

Definition at line 924 of file eVoter.cpp.

00925     {
00926         return machine_;
00927     }

virtual void nMachineObserver::OnDestroy ( void   )  [inline, protected, virtual]

called when machine gets destroyed

Reimplemented from nMachineDecorator.

Definition at line 929 of file eVoter.cpp.

00930     {
00931         machine_ = 0;
00932     }


Member Data Documentation

nMachine* nMachineObserver::machine_ [private]

Definition at line 934 of file eVoter.cpp.


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:47:45 2008 for Armagetron Advanced by  doxygen 1.5.4