Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes | Private Attributes
TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg > Class Template Reference

Template class for event which calls the function with one argument and returning result. More...

#include <SALOME_Event.h>

Inheritance diagram for TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >:
Inheritance graph
[legend]
Collaboration diagram for TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TRes TResult
typedef TResult(TObject::* TAction )(TArg)

Public Member Functions

 TMemFun1ArgEvent (TObject *theObject, TAction theAction, TArg theArg, TResult theResult=TResult())
virtual void Execute ()

Public Attributes

TResult myResult

Private Attributes

TObject * myObject
TAction myAction
TStoreArg myArg

Detailed Description

template<class TObject, typename TRes, typename TArg, typename TStoreArg = TArg>
class TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >

Template class for event which calls the function with one argument and returning result.

Definition at line 108 of file SALOME_Event.h.


Member Typedef Documentation

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
typedef TResult(TObject::* TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::TAction)(TArg)

Definition at line 113 of file SALOME_Event.h.

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
typedef TRes TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::TResult

Definition at line 111 of file SALOME_Event.h.


Constructor & Destructor Documentation

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::TMemFun1ArgEvent ( TObject *  theObject,
TAction  theAction,
TArg  theArg,
TResult  theResult = TResult() 
) [inline]

Definition at line 114 of file SALOME_Event.h.

                                                 :
    myObject(theObject),
    myAction(theAction),
    myResult(theResult),
    myArg(theArg)
  {}

Member Function Documentation

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
virtual void TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::Execute ( ) [inline, virtual]

Definition at line 121 of file SALOME_Event.h.


Member Data Documentation

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
TAction TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::myAction [private]

Definition at line 127 of file SALOME_Event.h.

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
TStoreArg TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::myArg [private]

Definition at line 128 of file SALOME_Event.h.

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
TObject* TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::myObject [private]

Definition at line 126 of file SALOME_Event.h.

template<class TObject , typename TRes , typename TArg , typename TStoreArg = TArg>
TResult TMemFun1ArgEvent< TObject, TRes, TArg, TStoreArg >::myResult

Definition at line 112 of file SALOME_Event.h.


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