Cogs.Core
Public Member Functions | Private Attributes | List of all members
Cogs::PlatformContext Class Reference
Inheritance diagram for Cogs::PlatformContext:
Cogs::Core::ViewContext

Public Member Functions

void setWindowData (WindowData *data)
 
WindowDatarefWindowData ()
 
KeyboardrefKeyboard ()
 
MouserefMouse ()
 
GesturesrefGestures ()
 
const KeyboardgetKeyboard () const
 
const MousegetMouse () const
 
const GesturesgetGestures () const
 

Private Attributes

WindowDatawindowData = nullptr
 
Keyboard keyboard
 
Mouse mouse
 
Gestures gestures
 

Detailed Description

Definition at line 9 of file PlatformContext.h.

Constructor & Destructor Documentation

◆ ~PlatformContext()

Cogs::PlatformContext::~PlatformContext ( )
virtual

Definition at line 4 of file PlatformContext.cpp.

Member Function Documentation

◆ getGestures()

const Gestures & Cogs::PlatformContext::getGestures ( ) const
inline

Definition at line 22 of file PlatformContext.h.

◆ getKeyboard()

const Keyboard & Cogs::PlatformContext::getKeyboard ( ) const
inline

Definition at line 20 of file PlatformContext.h.

◆ getMouse()

const Mouse & Cogs::PlatformContext::getMouse ( ) const
inline

Definition at line 21 of file PlatformContext.h.

◆ refGestures()

Gestures & Cogs::PlatformContext::refGestures ( )
inline

Definition at line 18 of file PlatformContext.h.

◆ refKeyboard()

Keyboard & Cogs::PlatformContext::refKeyboard ( )
inline

Definition at line 16 of file PlatformContext.h.

◆ refMouse()

Mouse & Cogs::PlatformContext::refMouse ( )
inline

Definition at line 17 of file PlatformContext.h.

◆ refWindowData()

WindowData * Cogs::PlatformContext::refWindowData ( )
inline

Definition at line 14 of file PlatformContext.h.

◆ setWindowData()

void Cogs::PlatformContext::setWindowData ( WindowData data)
inline

Definition at line 13 of file PlatformContext.h.

Member Data Documentation

◆ gestures

Gestures Cogs::PlatformContext::gestures
private

Definition at line 28 of file PlatformContext.h.

◆ keyboard

Keyboard Cogs::PlatformContext::keyboard
private

Definition at line 26 of file PlatformContext.h.

◆ mouse

Mouse Cogs::PlatformContext::mouse
private

Definition at line 27 of file PlatformContext.h.

◆ windowData

WindowData* Cogs::PlatformContext::windowData = nullptr
private

Definition at line 25 of file PlatformContext.h.


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