CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Action< Actor, _Ty > Class Template Reference

#include <Adapter.h>

Public Types

typedef _Ty(Actor::* ActionFunction) ()
 
typedef _Ty(Actor::* ActionFunction) ()
 

Public Member Functions

 Action (ActionFunction anAction)
 
_Ty execute (Actor *anActor)
 
 Action (ActionFunction anAction)
 
_Ty execute (Actor *anActor)
 

Detailed Description

template<class Actor, class _Ty = int>
class Action< Actor, _Ty >

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

Member Typedef Documentation

◆ ActionFunction [1/2]

template<class Actor , class _Ty = int>
typedef _Ty(Actor::* Action< Actor, _Ty >::ActionFunction) ()

◆ ActionFunction [2/2]

template<class Actor , class _Ty = int>
typedef _Ty(Actor::* Action< Actor, _Ty >::ActionFunction) ()

Constructor & Destructor Documentation

◆ Action() [1/2]

template<class Actor , class _Ty = int>
Action< Actor, _Ty >::Action ( ActionFunction  anAction)
inline

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

93 : itsFunction(anAction)
94 {
95 }

◆ Action() [2/2]

template<class Actor , class _Ty = int>
Action< Actor, _Ty >::Action ( ActionFunction  anAction)
inline

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

93 : itsFunction(anAction)
94 {
95 }

Member Function Documentation

◆ execute() [1/2]

template<class Actor , class _Ty = int>
_Ty Action< Actor, _Ty >::execute ( Actor *  anActor)
inline

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

102 {
103 //## begin Action::execute%894312582.body preserve=yes
104 return (anActor->*itsFunction)();
105 //## end Action::execute%894312582.body
106 }

Referenced by Commissioner< Commissionee, Criteria >::select().

◆ execute() [2/2]

template<class Actor , class _Ty = int>
_Ty Action< Actor, _Ty >::execute ( Actor *  anActor)
inline

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

102 {
103 //## begin Action::execute%894312582.body preserve=yes
104 return (anActor->*itsFunction)();
105 //## end Action::execute%894312582.body
106 }

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