tbx  0.7.5
Public Member Functions | List of all members
tbx::AutoCreateClassOnce< T > Class Template Reference

Templated auto create listener to create a C++ object when a toolbox object gets auto created. More...

#include <autocreate.h>

Inheritance diagram for tbx::AutoCreateClassOnce< T >:
tbx::AutoCreateListener tbx::Listener

Public Member Functions

virtual void auto_created (std::string template_name, Object object)
 Create a new C++ class for the auto created toolbox object and remove the listener from the application.
 
- Public Member Functions inherited from tbx::Listener
virtual ~Listener ()
 Destroy the listener object.
 

Additional Inherited Members

- Protected Member Functions inherited from tbx::Listener
 Listener ()
 Construct the Listener object.
 

Detailed Description

template<class T>
class tbx::AutoCreateClassOnce< T >

Templated auto create listener to create a C++ object when a toolbox object gets auto created.

The C++ object must have a constructor that takes an Object argument

Once run this listener has run it removes itself from the application and deletes itself.


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