Robotran C Documentation
Public Member Functions | List of all members
MbsWindowManager Class Referenceabstract

MbsWindowManager is an abstract class that defines the functionalities of a window manager. More...

#include <MbsWindowManager.hh>

Inheritance diagram for MbsWindowManager:
DefaultWindowManager GlfwWindowManager

Public Member Functions

virtual ~MbsWindowManager ()
 Destructor. More...
 
virtual void Init (MbsWorld3D *world, int x_width, int y_width, int multi_samp)=0
 Init the current MbsWindowManager. More...
 
virtual void SwapBuffers ()=0
 
virtual double GetTime ()=0
 
virtual void Terminate ()=0
 
virtual int CheckClose ()=0
 
virtual bool Update ()=0
 Update the window for the current frame Return true if the windows size has changed since the previous frame. More...
 
virtual void PollEvents ()=0
 
virtual void UpdateViewPoint (MbsViewPoint *curVp)=0
 
virtual int GetXWidth ()=0
 get the width along the X axis (in pixels) More...
 
virtual int GetYWidth ()=0
 get the width along the X axis (in pixels) More...
 

Detailed Description

MbsWindowManager is an abstract class that defines the functionalities of a window manager.

Constructor & Destructor Documentation

◆ ~MbsWindowManager()

virtual ~MbsWindowManager ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ CheckClose()

virtual int CheckClose ( )
pure virtual

◆ GetTime()

virtual double GetTime ( )
pure virtual

◆ GetXWidth()

virtual int GetXWidth ( )
pure virtual

get the width along the X axis (in pixels)

Implemented in GlfwWindowManager, and DefaultWindowManager.

◆ GetYWidth()

virtual int GetYWidth ( )
pure virtual

get the width along the X axis (in pixels)

Implemented in GlfwWindowManager, and DefaultWindowManager.

◆ Init()

virtual void Init ( MbsWorld3D *  world,
int  x_width,
int  y_width,
int  multi_samp 
)
pure virtual

Init the current MbsWindowManager.

Implemented in GlfwWindowManager, and DefaultWindowManager.

◆ PollEvents()

virtual void PollEvents ( )
pure virtual

◆ SwapBuffers()

virtual void SwapBuffers ( )
pure virtual

◆ Terminate()

virtual void Terminate ( )
pure virtual

◆ Update()

virtual bool Update ( )
pure virtual

Update the window for the current frame Return true if the windows size has changed since the previous frame.

Implemented in GlfwWindowManager, and DefaultWindowManager.

◆ UpdateViewPoint()

virtual void UpdateViewPoint ( MbsViewPoint *  curVp)
pure virtual

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