CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Classes | Functions | Variables
n_spt_another_sp Namespace Reference

Classes

class  another_ptr
class  event_handler
class  event_handler_impl
class  smart_pointer_deleter

Functions

another_ptr< event_handlerget_event_handler ()
void install_event_handler (shared_ptr< event_handler > p)
void handle_event (int event)
void remove_event_handler ()
void test ()

Variables

int begin_called = 0
int handle_called = 0
int end_called = 0
shared_ptr< event_handlercurrent_handler

Function Documentation

another_ptr<event_handler> n_spt_another_sp::get_event_handler ( )

Definition at line 3058 of file testSharedPtr.cc.

Referenced by test().

void n_spt_another_sp::handle_event ( int  event)

Definition at line 3074 of file testSharedPtr.cc.

References current_handler.

Referenced by test().

void n_spt_another_sp::install_event_handler ( shared_ptr< event_handler >  p)

Definition at line 3067 of file testSharedPtr.cc.

References current_handler.

Referenced by test().

void n_spt_another_sp::remove_event_handler ( )

Definition at line 3080 of file testSharedPtr.cc.

References current_handler.

Referenced by test().

void n_spt_another_sp::test ( )

Variable Documentation

int n_spt_another_sp::begin_called = 0

Definition at line 3033 of file testSharedPtr.cc.

Referenced by n_spt_another_sp::event_handler_impl::begin(), and test().

shared_ptr<event_handler> n_spt_another_sp::current_handler

Definition at line 3064 of file testSharedPtr.cc.

Referenced by handle_event(), install_event_handler(), and remove_event_handler().

int n_spt_another_sp::end_called = 0

Definition at line 3035 of file testSharedPtr.cc.

Referenced by n_spt_another_sp::event_handler_impl::end(), and test().

int n_spt_another_sp::handle_called = 0

Definition at line 3034 of file testSharedPtr.cc.

Referenced by n_spt_another_sp::event_handler_impl::handle(), and test().