tbx  0.7.3
Public Member Functions | List of all members
tbx::AutoCreateListener Class Referenceabstract

Base Listener for auto create events. More...

#include <autocreatelistener.h>

Inheritance diagram for tbx::AutoCreateListener:
tbx::Listener tbx::AutoCreateClass< T > tbx::AutoCreateClassOnce< T > tbx::doc::DocFileInfo tbx::doc::DocIconbar tbx::doc::DocSaveAs tbx::MatchLifetime< T >

Public Member Functions

virtual void auto_created (std::string template_name, Object object)=0
 This is called when an object has been automatically created by the toolbox if the listener has been registered with the application method set_autocreate_listener. More...
 
- 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

Base Listener for auto create events.

Derive from this class to create an auto create listener and override the auto_created method.

See Also
Application::set_autocreate_listener

Member Function Documentation

virtual void tbx::AutoCreateListener::auto_created ( std::string  template_name,
Object  object 
)
pure virtual

This is called when an object has been automatically created by the toolbox if the listener has been registered with the application method set_autocreate_listener.

Parameters
template_nameThe name of the template used to create the object.
objectThe object that has been created.

Implemented in tbx::AutoCreateClassOnce< T >, tbx::doc::DocSaveAs, tbx::MatchLifetime< T >, tbx::doc::DocFileInfo, tbx::doc::DocIconbar, and tbx::AutoCreateClass< T >.


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