SharedObject Class Reference

#include <pluginsupport.h>

List of all members.

Public Member Functions

FrameBufferpFB ()
int shmBitmap ()
void bitmapAlloc (BoxSize &size)
void bitmapFree ()
PixelbitmapAttach ()
void detach (Pixel *addr)

Static Public Member Functions

static int create (FrameBuffer &fb)
static void destroy (int shmID)
static SharedObjectattach (int shmID)
static void detach (SharedObject *addr)


Detailed Description

IPC shared object

Definition at line 108 of file pluginsupport.h.


Member Function Documentation

FrameBuffer* SharedObject::pFB (  )  [inline]

Returns:
Return pointer to frame buffer.

Definition at line 113 of file pluginsupport.h.

int SharedObject::shmBitmap (  )  [inline]

Returns:
Return shmID for image bitmap.

Definition at line 118 of file pluginsupport.h.

static int SharedObject::create ( FrameBuffer fb  )  [static]

Create shared object from plain frame buffer.

Parameters:
fb Source frame buffer.
Returns:
Return id of shared object.

static void SharedObject::destroy ( int  shmID  )  [static]

Destroy shared object.

Parameters:
shmID Id returned by SharedObject::create() method.

static SharedObject* SharedObject::attach ( int  shmID  )  [static]

Attach process to shared object.

Parameters:
shmID Id of shared object.
Returns:
Return address of shared object.

static void SharedObject::detach ( SharedObject addr  )  [static]

Detach process from shared object.

Parameters:
addr Address of shared object returned by SharedObject::attach() method.

void SharedObject::bitmapAlloc ( BoxSize size  ) 

Allocate shared bitmap.

Parameters:
size Size of bitmap.

void SharedObject::bitmapFree (  ) 

Free shared memory allocated by SharedObject::bitmapAlloc() method.

Pixel* SharedObject::bitmapAttach (  ) 

Attach process to bitmap.

Returns:
Return address of attached bitmap.

void SharedObject::detach ( Pixel addr  ) 

Detach process from bitmap.

Parameters:
addr Address of shared object returned by SharedObject::bitmapAttach() method.


The documentation for this class was generated from the following file:
Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by  doxygen 1.5.2