SCENE C++ API  2.1.0
Public Member Functions | List of all members
LSViewEvent Class Reference

The LSViewEvent class represents events associated to a specific viewer. More...

#include <lsviewevent.h>

+ Inheritance diagram for LSViewEvent:

Public Member Functions

 LSViewEvent (ref_ptr< LSView > view)
 Constructor. More...
 
ref_ptr< LSViewgetView () const
 Gets the view instance for which the event is triggered. More...
 
- Public Member Functions inherited from LSEvent
 LSEvent ()
 Constructor. More...
 
virtual ~LSEvent ()
 Destructor. More...
 
bool isConsumed () const
 Query whether this event has been consumed. More...
 
void consume ()
 Consumes this event if the event can be consumed. More...
 

Additional Inherited Members

- Protected Member Functions inherited from LSRefType
void ref () const
 Increments the internal reference counter. More...
 
void unref () const
 Decrements the internal reference counter. More...
 

Detailed Description

The LSViewEvent class represents events associated to a specific viewer.

Version
SCENE API Version 2.0.0.

Constructor & Destructor Documentation

◆ LSViewEvent()

LSViewEvent ( ref_ptr< LSView view)

Constructor.

Parameters
viewThe view for which the event was triggered.
Version
SCENE API Version 2.0.0.

Member Function Documentation

◆ getView()

ref_ptr<LSView> getView ( ) const

Gets the view instance for which the event is triggered.

Returns
The view instance.
Version
SCENE API Version 2.0.0.