All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfNotice::Probe Class Referenceabstract

Probe interface class which may be implemented and then registered via InsertProbe to introspect about notices as they are sent and delivered. More...

+ Inheritance diagram for TfNotice::Probe:

Public Member Functions

virtual void BeginSend (const TfNotice &notice, const TfWeakBase *sender, const std::type_info &senderType)=0
 This method is called just before notice is sent to any listeners. More...
 
virtual void EndSend ()=0
 This method is called after the notice in the corresponding BeginSend call has been delivered to all listeners. More...
 
virtual void BeginDelivery (const TfNotice &notice, const TfWeakBase *sender, const std::type_info &senderType, const TfWeakBase *listener, const std::type_info &listenerType)=0
 This method is called just before notice is delivered to a listener. More...
 
virtual void EndDelivery ()=0
 This method is called after the notice in the corresponding BeginDelivery call has finished being processed by its listener. More...
 
- Public Member Functions inherited from TfWeakBase
 TfWeakBase (const TfWeakBase &)
 
const TfWeakBase__GetTfWeakBase__ () const
 
const TfWeakBaseoperator= (const TfWeakBase &)
 
void EnableNotification2 () const
 
TF_API void const * GetUniqueIdentifier () const
 

Additional Inherited Members

- Protected Member Functions inherited from TfWeakBase
TfRefPtr< Tf_Remnant > _Register () const
 
template<class T >
TfRefPtr< Tf_Remnant > _Register (T *tempRmnt) const
 
bool _HasRemnant () const
 

Detailed Description

Probe interface class which may be implemented and then registered via InsertProbe to introspect about notices as they are sent and delivered.

Definition at line 218 of file notice.h.

Member Function Documentation

virtual void BeginDelivery ( const TfNotice notice,
const TfWeakBase sender,
const std::type_info &  senderType,
const TfWeakBase listener,
const std::type_info &  listenerType 
)
pure virtual

This method is called just before notice is delivered to a listener.

sender is NULL if notice is sent globally or the listener is global. In this case, senderType will be typeid(void).

virtual void BeginSend ( const TfNotice notice,
const TfWeakBase sender,
const std::type_info &  senderType 
)
pure virtual

This method is called just before notice is sent to any listeners.

sender is NULL if notice is sent globally. In this case, senderType will be typeid(void).

virtual void EndDelivery ( )
pure virtual

This method is called after the notice in the corresponding BeginDelivery call has finished being processed by its listener.

virtual void EndSend ( )
pure virtual

This method is called after the notice in the corresponding BeginSend call has been delivered to all listeners.


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