HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfPyModuleWasLoaded Class Reference

#include <pyModuleNotice.h>

+ Inheritance diagram for TfPyModuleWasLoaded:

Public Member Functions

 TfPyModuleWasLoaded (std::string const &name)
 
virtual TF_API ~TfPyModuleWasLoaded ()
 
std::string constGetName ()
 Return the name of the module that was loaded. More...
 
- Public Member Functions inherited from TfNotice
TF_API size_t Send () const
 
template<typename SenderPtr >
size_t Send (SenderPtr const &s) const
 
TF_API size_t SendWithWeakBase (const TfWeakBase *senderWeakBase, const void *senderUniqueId, const std::type_info &type) const
 
virtual TF_API ~TfNotice ()
 

Additional Inherited Members

- Public Types inherited from TfNotice
typedef TfWeakPtr< ProbeWeakProbePtr
 
typedef std::vector< KeyKeys
 
- Static Public Member Functions inherited from TfNotice
static void InsertProbe (const WeakProbePtr &probe)
 
static void RemoveProbe (const WeakProbePtr &probe)
 
template<class LPtr , class MethodPtr >
static TfNotice::Key Register (LPtr const &listener, MethodPtr method)
 
template<class LPtr , class MethodPtr , class SenderPtr >
static TfNotice::Key Register (LPtr const &listener, MethodPtr method, SenderPtr const &sender)
 
template<class LPtr , class MethodPtr >
static TfNotice::Key Register (LPtr const &listener, MethodPtr method, const TfType &noticeType, const TfAnyWeakPtr &sender)
 
static TF_API bool Revoke (TfNotice::Key &key)
 
static TF_API void Revoke (TfNotice::Keys *keys)
 

Detailed Description

A TfNotice that is sent when a script module is loaded. Since many modules may be loaded at once, listeners are encouraged to defer work triggered by this notice to the end of an application iteration. This, of course, is good practice in general.

Definition at line 43 of file pyModuleNotice.h.

Constructor & Destructor Documentation

TfPyModuleWasLoaded::TfPyModuleWasLoaded ( std::string const name)
inlineexplicit

Definition at line 45 of file pyModuleNotice.h.

virtual TF_API TfPyModuleWasLoaded::~TfPyModuleWasLoaded ( )
virtual

Member Function Documentation

std::string const& TfPyModuleWasLoaded::GetName ( )
inline

Return the name of the module that was loaded.

Definition at line 51 of file pyModuleNotice.h.


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