Main Page   Class Hierarchy   Compound List   File List   Compound Members  

BeHelper Class Reference

Implementation class for iBeHelper. More...

#include <csbe.h>

Inheritance diagram for BeHelper:

iBeHelper iBase List of all members.

Public Methods

 BeHelper (SysSystemDriver *sys)
virtual ~BeHelper ()
virtual bool UserAction (BMessage *msg)
 A user action (probably sent from the subthread), such as keypress or mouse action, in the form of a BMessage. More...

virtual bool SetCursor (csMouseCursorID id)
 Set the mouse pointer to one of the pre-defined Crystal Space mouse shapes.

virtual bool BeginUI ()
 Spawn a thread in which to run the BApplication and invokes its Run() method. More...

virtual bool Quit ()
 Ask the Crystal Space event-loop to terminate.

virtual bool ContextClose (iGraphics2D *g2d)
 Notify Crystal Space that a 2D graphics context is closing.


Public Attributes

 SCF_DECLARE_IBASE

Detailed Description

Implementation class for iBeHelper.


Member Function Documentation

virtual bool BeHelper::BeginUI ( ) [virtual]
 

Spawn a thread in which to run the BApplication and invokes its Run() method.

If the application is already running in the subthread, then this method does nothing. This extension is requested by 2D driver modules when they are about to place a window on-screen, at which point the BeOS event-loop should be running (independently of whether or not the Crystal Space event-loop is running) so that they can respond to user actions.

Reimplemented from iBeHelper.

virtual bool BeHelper::UserAction ( BMessage * msg ) [virtual]
 

A user action (probably sent from the subthread), such as keypress or mouse action, in the form of a BMessage.

The BMessage is placed in a thread-safe message queue and later processed by the Crystal Space event-loop running in the main thread.

Reimplemented from iBeHelper.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000