Rasterfarm-SDK
Loading...
Searching...
No Matches
DRMApplication Class Reference

#include <drmapplication.h>

Inheritance diagram for DRMApplication:
Application

Public Types

typedef std::map< int, KeyboardEvent::Type > KeyboardEventTypeMap
 
typedef std::map< KeyboardEvent::KeyCode, KeyboardEvent::KeySymKeyCodetoKeySymMap
 
typedef std::map< int, KeyboardEvent::ModifierMaskKeyboardEventModifierMap
 
typedef std::map< int, MouseEvent::Type > MouseEventTypeMap
 

Static Public Attributes

static const char * driDevPath
 

Protected Member Functions

void waitForInputEvents ()
 
void waitForDRIEvents ()
 
 DRMApplication (const UintRectangle &rect, int argc, char **argv)
 
virtual ~DRMApplication ()
 
virtual EGLNativeWindowType getPlatformWindow ()
 
virtual EGLNativeDisplayType getPlatformDisplay ()
 
virtual void platformCleanup ()
 
virtual void runEventLoop ()
 
virtual void event ()
 

Static Protected Member Functions

static int openRestricted (const char *path, int flags, void *pData)
 
static void closeRestricted (int fileDescriptor, void *pData)
 
static void pageFlipHandler (int fileDescriptor, unsigned int frame, unsigned int sec, unsigned int usec, void *pData)
 
static void vblankHandler (int fileDescriptor, unsigned int frame, unsigned int sec, unsigned int usec, void *pData)
 

Static Protected Attributes

static KeyboardEventTypeMap keyboardEventMap
 
static KeyboardEventModifierMap keyboardEventModifierMap
 
static MouseEventTypeMap mouseEventMap
 
static KeyCodetoKeySymMap keyCodeToKeySymMap
 
static const struct libinput_interface inputInterface
 

Friends

class Application
 

Member Typedef Documentation

◆ KeyboardEventModifierMap

◆ KeyboardEventTypeMap

typedef std::map< int, KeyboardEvent::Type > DRMApplication::KeyboardEventTypeMap

◆ KeyCodetoKeySymMap

◆ MouseEventTypeMap

typedef std::map< int, MouseEvent::Type > DRMApplication::MouseEventTypeMap

Constructor & Destructor Documentation

◆ DRMApplication()

DRMApplication::DRMApplication ( const UintRectangle & rect,
int argc,
char ** argv )
protected

◆ ~DRMApplication()

virtual DRMApplication::~DRMApplication ( )
protectedvirtual

Member Function Documentation

◆ closeRestricted()

static void DRMApplication::closeRestricted ( int fileDescriptor,
void * pData )
staticprotected

◆ event()

virtual void DRMApplication::event ( )
protectedvirtual

◆ getPlatformDisplay()

virtual EGLNativeDisplayType DRMApplication::getPlatformDisplay ( )
protectedvirtual

◆ getPlatformWindow()

virtual EGLNativeWindowType DRMApplication::getPlatformWindow ( )
protectedvirtual

◆ openRestricted()

static int DRMApplication::openRestricted ( const char * path,
int flags,
void * pData )
staticprotected

◆ pageFlipHandler()

static void DRMApplication::pageFlipHandler ( int fileDescriptor,
unsigned int frame,
unsigned int sec,
unsigned int usec,
void * pData )
staticprotected

◆ platformCleanup()

virtual void DRMApplication::platformCleanup ( )
protectedvirtual

◆ runEventLoop()

virtual void DRMApplication::runEventLoop ( )
protectedvirtual

◆ vblankHandler()

static void DRMApplication::vblankHandler ( int fileDescriptor,
unsigned int frame,
unsigned int sec,
unsigned int usec,
void * pData )
staticprotected

◆ waitForDRIEvents()

void DRMApplication::waitForDRIEvents ( )
protected

Runs on it's own thread

◆ waitForInputEvents()

void DRMApplication::waitForInputEvents ( )
protected

Runs on it's own thread

Friends And Related Symbol Documentation

◆ Application

friend class Application
friend

Member Data Documentation

◆ driDevPath

const char* DRMApplication::driDevPath
static

◆ inputInterface

const struct libinput_interface DRMApplication::inputInterface
staticprotected

◆ keyboardEventMap

KeyboardEventTypeMap DRMApplication::keyboardEventMap
staticprotected

◆ keyboardEventModifierMap

KeyboardEventModifierMap DRMApplication::keyboardEventModifierMap
staticprotected

◆ keyCodeToKeySymMap

KeyCodetoKeySymMap DRMApplication::keyCodeToKeySymMap
staticprotected

◆ mouseEventMap

MouseEventTypeMap DRMApplication::mouseEventMap
staticprotected

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