ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Athena::Callback1Rep< T1 > Class Template Referenceabstract

#include <SealSharedLib.h>

Inheritance diagram for Athena::Callback1Rep< T1 >:
Collaboration diagram for Athena::Callback1Rep< T1 >:

Public Member Functions

 Callback1Rep (void)
 
virtual ~Callback1Rep (void)
 
virtual void call (T1)=0
 
virtual bool equal (const Callback1Rep *x) const =0
 
void ref (void)
 
void unref (void)
 

Private Attributes

int m_refs
 

Detailed Description

template<class T1>
class Athena::Callback1Rep< T1 >

Definition at line 33 of file SealSharedLib.h.

Constructor & Destructor Documentation

◆ Callback1Rep()

template<class T1 >
Athena::Callback1Rep< T1 >::Callback1Rep ( void  )
inline

Definition at line 36 of file SealSharedLib.h.

36 : m_refs (0) { }

◆ ~Callback1Rep()

template<class T1 >
virtual Athena::Callback1Rep< T1 >::~Callback1Rep ( void  )
inlinevirtual

Definition at line 37 of file SealSharedLib.h.

37 { }

Member Function Documentation

◆ call()

template<class T1 >
virtual void Athena::Callback1Rep< T1 >::call ( T1  )
pure virtual

◆ equal()

template<class T1 >
virtual bool Athena::Callback1Rep< T1 >::equal ( const Callback1Rep< T1 > *  x) const
pure virtual

◆ ref()

template<class T1 >
void Athena::Callback1Rep< T1 >::ref ( void  )
inline

Definition at line 42 of file SealSharedLib.h.

42 { ++m_refs; }

◆ unref()

template<class T1 >
void Athena::Callback1Rep< T1 >::unref ( void  )
inline

Definition at line 43 of file SealSharedLib.h.

43 { if (--m_refs == 0) delete this; }

Member Data Documentation

◆ m_refs

template<class T1 >
int Athena::Callback1Rep< T1 >::m_refs
private

Definition at line 46 of file SealSharedLib.h.


The documentation for this class was generated from the following file:
Athena::Callback1Rep::m_refs
int m_refs
Definition: SealSharedLib.h:46