Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
VTK::TSetFunction< TActor, TArg, TStoreArg > Struct Template Reference

#include <VTKViewer_Functor.h>

Inheritance diagram for VTK::TSetFunction< TActor, TArg, TStoreArg >:
Inheritance graph
[legend]
Collaboration diagram for VTK::TSetFunction< TActor, TArg, TStoreArg >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef void(TActor::* TAction )(TArg)

Public Member Functions

 TSetFunction (TAction theAction, TArg theArg)
void operator() (TActor *theActor)

Public Attributes

TAction myAction
TStoreArg myArg

Detailed Description

template<class TActor, class TArg, class TStoreArg = TArg>
struct VTK::TSetFunction< TActor, TArg, TStoreArg >

Definition at line 36 of file VTKViewer_Functor.h.


Member Typedef Documentation

template<class TActor, class TArg, class TStoreArg = TArg>
typedef void(TActor::* VTK::TSetFunction< TActor, TArg, TStoreArg >::TAction)(TArg)

Definition at line 38 of file VTKViewer_Functor.h.


Constructor & Destructor Documentation

template<class TActor, class TArg, class TStoreArg = TArg>
VTK::TSetFunction< TActor, TArg, TStoreArg >::TSetFunction ( TAction  theAction,
TArg  theArg 
) [inline]

Definition at line 41 of file VTKViewer_Functor.h.

                                                 : myAction(theAction), myArg(theArg)
    {}

Member Function Documentation

template<class TActor, class TArg, class TStoreArg = TArg>
void VTK::TSetFunction< TActor, TArg, TStoreArg >::operator() ( TActor *  theActor) [inline]

Definition at line 43 of file VTKViewer_Functor.h.

    {
            (theActor->*myAction)(myArg);
    }

Member Data Documentation

template<class TActor, class TArg, class TStoreArg = TArg>
TAction VTK::TSetFunction< TActor, TArg, TStoreArg >::myAction

Definition at line 39 of file VTKViewer_Functor.h.

template<class TActor, class TArg, class TStoreArg = TArg>
TStoreArg VTK::TSetFunction< TActor, TArg, TStoreArg >::myArg

Definition at line 40 of file VTKViewer_Functor.h.


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