MeVisLabToolboxReference
ml::MLVTKParentWrapper Class Reference

Mini base class storing a parent pointer for bypassing (usually a widget pointer or parent) from MeVisLab-Widget library to module and vice versa without breaking interfaces. More...

#include <mlVTKParentWrapper.h>

Inheritance diagram for ml::MLVTKParentWrapper:
ml::Base

List of all members.

Public Member Functions

 MLVTKParentWrapper ()
 Constructor.
void setParent (void *parent)
 Sets the pointer to a parent as void pointer; the caller is responsible to set correctly types values.
void * getParent ()
 Returns the currently set parent pointer.
void setQVTWidget (QVTKWidget *qVTKWidget)
 Sets the pointer to a parent as void pointer.
QVTKWidget * getQVTWidget ()
 Returns the currently set parent pointer.
void setBaseFld (BaseField *baseFld)
 Sets the base field managing this object in the module.
void * getBaseFld ()
 Returns the base field managing this object in the module.
void notify ()
 Notifies the base field in the module about a change of the parent.
virtual char * getPersistentState () const
 Return object state as string, not implemented here. See mlBase.h.
virtual void setPersistentState (const char *)
 Set object state from string, not implemented here. See mlBase.h.
virtual void clearPersistentState (char *) const
 Deallocates and object returned from getPersistsnt state, not implemented here. See mlBase.h.

Detailed Description

Mini base class storing a parent pointer for bypassing (usually a widget pointer or parent) from MeVisLab-Widget library to module and vice versa without breaking interfaces.

Definition at line 33 of file mlVTKParentWrapper.h.


Constructor & Destructor Documentation

ml::MLVTKParentWrapper::MLVTKParentWrapper ( ) [inline]

Constructor.

Definition at line 37 of file mlVTKParentWrapper.h.


Member Function Documentation

virtual void ml::MLVTKParentWrapper::clearPersistentState ( char *  ) const [inline, virtual]

Deallocates and object returned from getPersistsnt state, not implemented here. See mlBase.h.

Reimplemented from ml::Base.

Definition at line 68 of file mlVTKParentWrapper.h.

void* ml::MLVTKParentWrapper::getBaseFld ( ) [inline]

Returns the base field managing this object in the module.

Definition at line 56 of file mlVTKParentWrapper.h.

void* ml::MLVTKParentWrapper::getParent ( ) [inline]

Returns the currently set parent pointer.

Definition at line 44 of file mlVTKParentWrapper.h.

virtual char* ml::MLVTKParentWrapper::getPersistentState ( ) const [inline, virtual]

Return object state as string, not implemented here. See mlBase.h.

Reimplemented from ml::Base.

Definition at line 62 of file mlVTKParentWrapper.h.

QVTKWidget* ml::MLVTKParentWrapper::getQVTWidget ( ) [inline]

Returns the currently set parent pointer.

Definition at line 50 of file mlVTKParentWrapper.h.

void ml::MLVTKParentWrapper::notify ( ) [inline]

Notifies the base field in the module about a change of the parent.

Definition at line 59 of file mlVTKParentWrapper.h.

void ml::MLVTKParentWrapper::setBaseFld ( BaseField baseFld) [inline]

Sets the base field managing this object in the module.

Definition at line 53 of file mlVTKParentWrapper.h.

void ml::MLVTKParentWrapper::setParent ( void *  parent) [inline]

Sets the pointer to a parent as void pointer; the caller is responsible to set correctly types values.

Definition at line 41 of file mlVTKParentWrapper.h.

virtual void ml::MLVTKParentWrapper::setPersistentState ( const char *  ) [inline, virtual]

Set object state from string, not implemented here. See mlBase.h.

Reimplemented from ml::Base.

Definition at line 65 of file mlVTKParentWrapper.h.

void ml::MLVTKParentWrapper::setQVTWidget ( QVTKWidget *  qVTKWidget) [inline]

Sets the pointer to a parent as void pointer.

Definition at line 47 of file mlVTKParentWrapper.h.


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