SML::AUTOCLASS_DELETABLE_T< _TYPE > Class Template Reference

A Template class of SML::AUTOCLASS. More...

#include <sml/class.h>

Inheritance diagram for SML::AUTOCLASS_DELETABLE_T< _TYPE >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AUTOCLASS_DELETABLE_T (void(*SetupFunc)(), CONTEXTTYPE ContextTypesToAllow, CONTEXTTYPE ContextTypesToDisallow=CONTEXTTYPE_NONE)
 AUTOCLASS_DELETABLE_T (void(*SetupFunc)())

Detailed Description

template<class _TYPE>
class SML::AUTOCLASS_DELETABLE_T< _TYPE >

A Template class of SML::AUTOCLASS.

See documentation on SML::AUTOCLASS This is the same as SML::AUTOCLASS_NEW_T, but for classes which have no default constructor. Use this if the class must be allocated by calling some function but should be deleted with a normal "delete"


Constructor & Destructor Documentation

template<class _TYPE >
SML::AUTOCLASS_DELETABLE_T< _TYPE >::AUTOCLASS_DELETABLE_T ( void(*)()  SetupFunc  )  [inline]

Constructor.

Every SML::AUTOCLASS should have one static instance. When this instance is constructed, it registers the class so that any SML::CONTEXT created will know about it.

Parameters:
SetupFunc Function to call to setup this class. Normally a static method of the class we're representing
template<class _TYPE >
SML::AUTOCLASS_DELETABLE_T< _TYPE >::AUTOCLASS_DELETABLE_T ( void(*)()  SetupFunc,
CONTEXTTYPE  ContextTypesToAllow,
CONTEXTTYPE  ContextTypesToDisallow = CONTEXTTYPE_NONE 
) [inline]

Constructor.

Every SML::AUTOCLASS should have one static instance. When this instance is constructed, it registers the class so that any SML::CONTEXT created will know about it.

Parameters:
ContextTypesToAllow Function to call to setup this class. Normally a static method of the class we're representing SML::CONTEXTTYPEs to install this class for
ContextTypesToDisallow SML::CONTEXTTYPEs to NOT install this class for

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

Generated on Sun Oct 7 21:39:05 2012 for TNTsdk 2012 by  doxygen 1.6.1