BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
ActionAdapter< Adaptee, _Ty > Class Template Reference

#include <Adapter.h>

+ Inheritance diagram for ActionAdapter< Adaptee, _Ty >:

Public Member Functions

 ActionAdapter (Adaptee *anAdaptee, Action< Adaptee, _Ty > anAction)
 
virtual _Ty operator() ()
 
 ActionAdapter (Adaptee *anAdaptee, Action< Adaptee, _Ty > anAction)
 
virtual _Ty operator() ()
 
- Public Member Functions inherited from Adapter< _Ty >
 Adapter ()
 
virtual ~Adapter ()
 
virtual _Ty operator() (void)=0
 
 Adapter ()
 
virtual ~Adapter ()
 
virtual _Ty operator() (void)=0
 

Detailed Description

template<class Adaptee, class _Ty = int>
class ActionAdapter< Adaptee, _Ty >

Definition at line 135 of file Calibration/facilities/facilities-00-00-04/facilities/Adapter.h.

Constructor & Destructor Documentation

◆ ActionAdapter() [1/2]

template<class Adaptee , class _Ty = int>
ActionAdapter< Adaptee, _Ty >::ActionAdapter ( Adaptee *  anAdaptee,
Action< Adaptee, _Ty >  anAction 
)
inline

Definition at line 141 of file Calibration/facilities/facilities-00-00-04/facilities/Adapter.h.

143 : itsAdaptee(anAdaptee), itsAction(anAction)
144 //## end ActionAdapter::ActionAdapter%894312583.initialization
145 {
146 //## begin ActionAdapter::ActionAdapter%894312583.body preserve=yes
147 //## end ActionAdapter::ActionAdapter%894312583.body
148 }

◆ ActionAdapter() [2/2]

template<class Adaptee , class _Ty = int>
ActionAdapter< Adaptee, _Ty >::ActionAdapter ( Adaptee *  anAdaptee,
Action< Adaptee, _Ty >  anAction 
)
inline

Definition at line 141 of file InstallArea/include/facilities/facilities/Adapter.h.

143 : itsAdaptee(anAdaptee), itsAction(anAction)
144 //## end ActionAdapter::ActionAdapter%894312583.initialization
145 {
146 //## begin ActionAdapter::ActionAdapter%894312583.body preserve=yes
147 //## end ActionAdapter::ActionAdapter%894312583.body
148 }

Member Function Documentation

◆ operator()() [1/2]

template<class Adaptee , class _Ty = int>
virtual _Ty ActionAdapter< Adaptee, _Ty >::operator() ( void  )
inlinevirtual

Implements Adapter< _Ty >.

Definition at line 154 of file Calibration/facilities/facilities-00-00-04/facilities/Adapter.h.

155 {
156 //## begin ActionAdapter::operator()%894312584.body preserve=yes
157 return itsAction.execute(itsAdaptee);
158 //## end ActionAdapter::operator()%894312584.body
159 }

◆ operator()() [2/2]

template<class Adaptee , class _Ty = int>
virtual _Ty ActionAdapter< Adaptee, _Ty >::operator() ( void  )
inlinevirtual

Implements Adapter< _Ty >.

Definition at line 154 of file InstallArea/include/facilities/facilities/Adapter.h.

155 {
156 //## begin ActionAdapter::operator()%894312584.body preserve=yes
157 return itsAction.execute(itsAdaptee);
158 //## end ActionAdapter::operator()%894312584.body
159 }

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