Main Page   Data Structures   File List   Data Fields   Globals  

Reventloop.h File Reference

#include "Rinternals.h"

Go to the source code of this file.

Data Structures

struct  _R_EventLoop
struct  R_CallbackData

Typedefs

typedef _R_EventLoop R_EventLoop
typedef int(* R_IdleFunc )(void *)
typedef R_IdleFunc R_TimerFunc

Enumerations

enum  RCallbackDataType { RGTK_CALLBACK, RGTK_TIMER, RGTK_IDLE }

Functions

void R_mainLoop ()
SEXP R_localAddIdle (R_IdleFunc f, void *userData)

Variables

R_EventLoopR_eloop


Typedef Documentation

typedef struct _R_EventLoop R_EventLoop
 

A synonym for the main event loop structure

typedef int(* R_IdleFunc)(void *)
 

A type definition for idle/background action routines. They take a single argument which is an arbitrary C value which it is expected to understand. This is specified when the action is registered with the event handler. The routine is expected to return an integer which if non-zero indicates that it should be re-registered so that it can be called again.

typedef R_IdleFunc R_TimerFunc
 

A definition for the timer action routines. This is the same as R_IdleFunc.


Enumeration Type Documentation

enum RCallbackDataType
 

Enumeration values:
RGTK_CALLBACK 
RGTK_TIMER 
RGTK_IDLE 


Function Documentation

SEXP R_localAddIdle R_IdleFunc    f,
void *    userData
 

void R_mainLoop  
 


Variable Documentation

R_EventLoop* R_eloop
 

A global variable that holds the currently active/default event loop structure.


Generated on Wed Oct 9 15:02:03 2002 for REventLoop by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002