L4Re - L4 Runtime Environment
L4Re::Util::Video::Goos_svr Class Reference

Goos server class. More...

+ Collaboration diagram for L4Re::Util::Video::Goos_svr:

Public Member Functions

L4::Cap< L4Re::Dataspaceget_fb () const
 Return framebuffer memory dataspace. More...
L4Re::Video::Goos::Info const * screen_info () const
 Goos information structure. More...
L4Re::Video::View::Info const * view_info () const
 View information structure. More...
virtual int refresh (int x, int y, int w, int h)
 Refresh area of the framebuffer. More...
void init_infos ()
 Initialize the view information structure of this object. More...
virtual ~Goos_svr ()

Protected Attributes

L4::Cap< L4Re::Dataspace_fb_ds
 Goos memory dataspace.
L4Re::Video::Goos::Info _screen_info
 Goos information.
L4Re::Video::View::Info _view_info
 View information.

Detailed Description

Goos server class.

Definition at line 36 of file goos_svr.

Member Function Documentation

◆ get_fb()

L4::Cap<L4Re::Dataspace> L4Re::Util::Video::Goos_svr::get_fb ( ) const

Return framebuffer memory dataspace.

Goos memory dataspace

Definition at line 53 of file goos_svr.

◆ init_infos()

void L4Re::Util::Video::Goos_svr::init_infos ( )

Initialize the view information structure of this object.

This function initializes the view info structure of this goos object based on the information in the goos information, i.e. the width, height and pixel_info of the goos information has to contain valid values before calling init_info().

Definition at line 89 of file goos_svr.

◆ refresh()

virtual int L4Re::Util::Video::Goos_svr::refresh ( int  x,
int  y,
int  w,
int  h 

Refresh area of the framebuffer.

xX coordinate (pixels)
yY coordinate (pixels)
wWidth of area in pixels
hHeight of area in pixels
0 on success, negative error code otherwise

Definition at line 77 of file goos_svr.

◆ screen_info()

L4Re::Video::Goos::Info const* L4Re::Util::Video::Goos_svr::screen_info ( ) const

Goos information structure.

Return goos information structure.

Definition at line 59 of file goos_svr.

◆ view_info()

L4Re::Video::View::Info const* L4Re::Util::Video::Goos_svr::view_info ( ) const

View information structure.

Return view information structure.

Definition at line 65 of file goos_svr.

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