RiWindowAction

Holds actions for the RiWindow class and it's subclasses

[ Gui | Source | Search | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class RiWindowAction
{
public:
typedef void ActionFunction(RiWindow *);
// Constructors and assignment
RiWindowAction(RiWindow *win, ActionFunction *act);
// Members
void Act();
protected:
RiWindow *win;
ActionFunction *act;
}; // RiWindowAction


DESCRIPTION

This class helps implement a convoluted process. When the app wants to send a command to the windowing thread it calls a member function on the RiWindow. The member function creates an RiWindowAction that holds the RiWindow and a pointer to a (RiWindow static member) function that takes an RiWindow pointer. The static member function calls the correct member function on the RiWindow. The RiWindowAction is queued up to be processed by the Gui thread.


typedef void ActionFunction(RiWindow *);

    typedef void ActionFunction(RiWindow *);

RiWindowAction(RiWindow *win, ActionFunction *act);

Default Constructor

    RiWindowAction(RiWindow *win, ActionFunction *act);

void Act();

Call the action function with the window.

    void 	Act();

RiWindow *win;

ndow *win;No documentation available.

    RiWindow 		*win;

ActionFunction *act;

onFunction *act;No documentation available.

    ActionFunction	*act;

All Members

public:
typedef void ActionFunction(RiWindow *);
// Members
void Act();
protected:
RiWindow *win;
ActionFunction *act;

Ancestors

Class does not inherit from any other class.


Descendants

Class is not inherited by any others.


Generated from source by the Cocoon utilities on Fri Feb 25 15:15:17 2000 .