Back to index

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

Template class for event which calls the function with two arguments and returning result. More...

#include <SALOME_Event.h>

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

List of all members.

Public Types

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

Public Member Functions

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

Public Attributes

TResult myResult

Private Attributes

TObject * myObject
TAction myAction
TStoreArg myArg
TStoreArg1 myArg1

Detailed Description

template<class TObject, typename TRes, typename TArg, typename TArg1, typename TStoreArg = TArg, typename TStoreArg1 = TArg1>
class TMemFun2ArgEvent< TObject, TRes, TArg, TArg1, TStoreArg, TStoreArg1 >

Template class for event which calls the function with two arguments and returning result.

Definition at line 152 of file SALOME_Event.h.


Member Typedef Documentation

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

Definition at line 157 of file SALOME_Event.h.

template<class TObject , typename TRes , typename TArg , typename TArg1 , typename TStoreArg = TArg, typename TStoreArg1 = TArg1>
typedef TRes TMemFun2ArgEvent< TObject, TRes, TArg, TArg1, TStoreArg, TStoreArg1 >::TResult

Definition at line 155 of file SALOME_Event.h.


Constructor & Destructor Documentation

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

Definition at line 158 of file SALOME_Event.h.

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

Member Function Documentation

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

Definition at line 167 of file SALOME_Event.h.


Member Data Documentation

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

Definition at line 173 of file SALOME_Event.h.

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

Definition at line 174 of file SALOME_Event.h.

template<class TObject , typename TRes , typename TArg , typename TArg1 , typename TStoreArg = TArg, typename TStoreArg1 = TArg1>
TStoreArg1 TMemFun2ArgEvent< TObject, TRes, TArg, TArg1, TStoreArg, TStoreArg1 >::myArg1 [private]

Definition at line 175 of file SALOME_Event.h.

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

Definition at line 172 of file SALOME_Event.h.

template<class TObject , typename TRes , typename TArg , typename TArg1 , typename TStoreArg = TArg, typename TStoreArg1 = TArg1>
TResult TMemFun2ArgEvent< TObject, TRes, TArg, TArg1, TStoreArg, TStoreArg1 >::myResult

Definition at line 156 of file SALOME_Event.h.


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