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

#include <notice.h>

+ Inheritance diagram for TfNotice::Probe:

Public Member Functions

virtual TF_API ~Probe ()=0
 
virtual void BeginSend (const TfNotice &notice, const TfWeakBase *sender, const std::type_info &senderType)=0
 
virtual void EndSend ()=0
 
virtual void BeginDelivery (const TfNotice &notice, const TfWeakBase *sender, const std::type_info &senderType, const TfWeakBase *listener, const std::type_info &listenerType)=0
 
virtual void EndDelivery ()=0
 
- Public Member Functions inherited from TfWeakBase
 TfWeakBase ()
 
 TfWeakBase (const TfWeakBase &)
 
const TfWeakBase__GetTfWeakBase__ () const
 
const TfWeakBaseoperator= (const TfWeakBase &)
 
void EnableNotification2 () const
 
TF_API void constGetUniqueIdentifier () const
 

Additional Inherited Members

- Protected Member Functions inherited from TfWeakBase
 ~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.

Constructor & Destructor Documentation

virtual TF_API TfNotice::Probe::~Probe ( )
pure virtual

Member Function Documentation

virtual void TfNotice::Probe::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 TfNotice::Probe::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 TfNotice::Probe::EndDelivery ( )
pure virtual

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

virtual void TfNotice::Probe::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: