uAutoDeleteInput Class Reference

List of all members.

Public Member Functions

 uAutoDeleteInput ()
 ~uAutoDeleteInput ()
uInputCreate (tString const &persistentID, tString const &name)

Public Attributes

uInputs unknowns


Detailed Description

Definition at line 131 of file uInput.cpp.


Constructor & Destructor Documentation

uAutoDeleteInput::uAutoDeleteInput (  )  [inline]

Definition at line 134 of file uInput.cpp.

00135     {
00136     }

uAutoDeleteInput::~uAutoDeleteInput (  )  [inline]

Definition at line 138 of file uInput.cpp.

00139     {
00140         for ( uInputs::iterator iter = unknowns.begin(); iter != unknowns.end(); ++iter )
00141         {
00142             delete(*iter);
00143             *iter = 0;
00144         }
00145     }


Member Function Documentation

uInput* uAutoDeleteInput::Create ( tString const &  persistentID,
tString const &  name 
) [inline]

Definition at line 147 of file uInput.cpp.

References uInput::uInput().

Referenced by su_NewInput().

00148     {
00149         uInput * input = new uInput( persistentID, name );
00150         unknowns.push_back( input );
00151         return input;
00152     }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

uInputs uAutoDeleteInput::unknowns

Definition at line 155 of file uInput.cpp.


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