Public Member Functions | Static Public Member Functions

view::Manager Class Reference
[Viewport]

This object will let you create/destroy viewports as needed. More...

#include <viewport.h>

Inheritance diagram for view::Manager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~Manager (void) throw ()
virtual int getViewportCount (void) const =0
virtual void render (IN int windowWidth, IN int windowHeight)=0
 render all viewports.
virtual int getOwnerOfCoordinate (IN int x, IN int y, IN int width, IN int height, OUT int &ownerX, OUT int &ownerY)=0
 given an x/y coordinate, who owns it? Returns -1 if no one owns if someone owns, returns the x and y coordinates relative to the viewport of that owner.
virtual bool createViewport (IN int id, smart_ptr< Host > host)=0
 caller can request a new viewport be created.
virtual bool removeViewport (IN int id)=0
 remove the specified viewport.

Static Public Member Functions

static smart_ptr< Managercreate (void)

Detailed Description

This object will let you create/destroy viewports as needed.

Definition at line 108 of file viewport.h.


Constructor & Destructor Documentation

view::Manager::~Manager ( void   )  throw () [virtual]

Definition at line 41 of file viewport.cpp.


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