Apama  10.2.0.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com::apama::epl::ThreadEndedHandler Class Referenceabstract

An interface for receiving notifications of threads being destroyed. More...

#include <epl_plugin.hpp>

Public Types

typedef std::unique_ptr
< ThreadEndedHandler
ptr_t
 Pointer type for passing to receiveThreadEndedCallbacks. More...
 

Public Member Functions

virtual ~ThreadEndedHandler ()
 To allow virtual deletion. More...
 
virtual void threadEnded ()=0
 Called when a thread is to be destroyed, on the thread being destroyed. More...
 

Detailed Description

An interface for receiving notifications of threads being destroyed.

This is typically used if you need to clean up any thread-local storage used by the plug-in. ThreadEnded callback registration is done by CorrelatorInterface::receiveThreadEndedCallbacks.

Member Typedef Documentation

Pointer type for passing to receiveThreadEndedCallbacks.

Constructor & Destructor Documentation

virtual com::apama::epl::ThreadEndedHandler::~ThreadEndedHandler ( )
inlinevirtual

To allow virtual deletion.

Member Function Documentation

virtual void com::apama::epl::ThreadEndedHandler::threadEnded ( )
pure virtual

Called when a thread is to be destroyed, on the thread being destroyed.


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