G4CallbackModel< F > Class Template Reference

#include <G4CallbackModel.hh>

Inheritance diagram for G4CallbackModel< F >:

G4VModel

Public Member Functions

 G4CallbackModel (F *function)
 ~G4CallbackModel ()
void DescribeYourselfTo (G4VGraphicsScene &sceneHandler)

Protected Attributes

F * fFunction

Detailed Description

template<class F>
class G4CallbackModel< F >

Definition at line 56 of file G4CallbackModel.hh.


Constructor & Destructor Documentation

template<class F>
G4CallbackModel< F >::G4CallbackModel ( F *  function  )  [inline]

Definition at line 59 of file G4CallbackModel.hh.

00059                               :
00060     fFunction(function) {}
  ~G4CallbackModel() {}

template<class F>
G4CallbackModel< F >::~G4CallbackModel (  )  [inline]

Definition at line 61 of file G4CallbackModel.hh.

00061 {}


Member Function Documentation

template<class F>
void G4CallbackModel< F >::DescribeYourselfTo ( G4VGraphicsScene sceneHandler  )  [inline, virtual]

Implements G4VModel.

Definition at line 62 of file G4CallbackModel.hh.

References G4VModel::fTransform.

00062                                                           {
00063     (*fFunction)(sceneHandler, fTransform);
00064   }


Field Documentation

template<class F>
F* G4CallbackModel< F >::fFunction [protected]

Definition at line 68 of file G4CallbackModel.hh.


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:51:35 2013 for Geant4 by  doxygen 1.4.7