Public Member Functions | |
nMachineObserver (nMachine &machine) | |
nMachine * | GetMachine () |
Protected Member Functions | |
virtual void | OnDestroy () |
called when machine gets destroyed | |
Private Attributes | |
nMachine * | machine_ |
Definition at line 918 of file eVoter.cpp.
nMachineObserver::nMachineObserver | ( | nMachine & | machine | ) | [inline] |
Definition at line 921 of file eVoter.cpp.
00922 : nMachineDecorator( machine ), machine_( &machine ){}
nMachine* nMachineObserver::GetMachine | ( | ) | [inline] |
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 }
nMachine* nMachineObserver::machine_ [private] |
Definition at line 934 of file eVoter.cpp.