AppView  0.8.1
C++ AppView API
AppViewConceptImpl< TBaseClass, TDerivedClass > Class Template Referenceabstract

#include <app_view.hpp>

Inherits TBaseClass, and AppViewConcept.

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 
- Static Public Member Functions inherited from AppViewConcept
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Protected Member Functions

 AppViewConceptImpl (Domain *domain, string_view name)
 
virtual bool calculateHitUV (const TouchPoint &touchPoint, Vector2 &outHitUV)=0
 
MaterialSharedPtr getAppViewMaterial ()
 
TextureSharedPtr getAppViewTexture ()
 
void handleFinishAppMessage (FinishAppMessageArguments &messageArguments)
 
void handleNavigateBackMessage (const NavigateBackMessageArguments &messageArguments)
 
void handleStartAppMessage (const StartAppMessageArguments &messageArguments)
 
void handleUpdateVirtualDisplayMessage (const UpdateVirtualDisplayMessageArguments &messageArguments)
 
void initialize ()
 
virtual void onAppViewTextureChanged ()=0
 Kanzi calls this when the App View texture has changed and needs to be re-applied. More...
 
void onAttached () override
 
void onDetached () override
 
void onFrameAvailable ()
 Kanzi calls this function from the main UI thread when a new frame is available. More...
 
void onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override
 Node::onNodePropertyChanged implementation. More...
 
virtual void setupMaterialOverride ()=0
 

Additional Inherited Members

- Static Public Attributes inherited from AppViewConcept
static PropertyType< string > AppNameProperty
 
static PropertyType< string > VirtualDisplayNameProperty
 
static PropertyType< int > VirtualDisplayWidthProperty
 
static PropertyType< int > VirtualDisplayHeightProperty
 
static PropertyType< int > VirtualDisplayDensityProperty
 
static PropertyType< bool > CanExitAppProperty
 
static PropertyType< ResourceSharedPtr > OverrideMaterialProperty
 
static PropertyType< string > MessageArgumentAppNameProperty
 
static PropertyType< bool > MessageArgumentCanExitAppProperty
 
static PropertyType< int > MessageArgumentVirtualDisplayWidthProperty
 
static PropertyType< int > MessageArgumentVirtualDisplayHeightProperty
 
static PropertyType< int > MessageArgumentVirtualDisplayDensityProperty
 
static MessageType< StartAppMessageArgumentsStartAppMessage
 
static MessageType< FinishAppMessageArgumentsFinishAppMessage
 
static MessageType< NavigateBackMessageArgumentsNavigateBackMessage
 
static MessageType< UpdateVirtualDisplayMessageArgumentsUpdateVirtualDisplayMessage
 
static MessageType< MessageArguments > PauseAppMessage
 
static MessageType< MessageArguments > ResumeAppMessage
 

Constructor & Destructor Documentation

AppViewConceptImpl ( Domain *  domain,
string_view  name 
)
explicitprotected

Member Function Documentation

virtual bool calculateHitUV ( const TouchPoint &  touchPoint,
Vector2 &  outHitUV 
)
protectedpure virtual

Implemented in AppView3D, and AppView2D.

MaterialSharedPtr getAppViewMaterial ( )
protected
TextureSharedPtr getAppViewTexture ( )
protected
void handleFinishAppMessage ( FinishAppMessageArguments messageArguments)
protected
void handleNavigateBackMessage ( const NavigateBackMessageArguments messageArguments)
protected
void handleStartAppMessage ( const StartAppMessageArguments messageArguments)
protected
void handleUpdateVirtualDisplayMessage ( const UpdateVirtualDisplayMessageArguments messageArguments)
protected
void initialize ( )
protected
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ( )
static
virtual void onAppViewTextureChanged ( )
protectedpure virtual

Kanzi calls this when the App View texture has changed and needs to be re-applied.

Implemented in AppView3D, and AppView2D.

void onAttached ( )
overrideprotected
void onDetached ( )
overrideprotected
void onFrameAvailable ( )
protected

Kanzi calls this function from the main UI thread when a new frame is available.

void onNodePropertyChanged ( AbstractPropertyType  propertyType,
PropertyNotificationReason  reason 
)
overrideprotected

Node::onNodePropertyChanged implementation.

virtual void setupMaterialOverride ( )
protectedpure virtual

Implemented in AppView3D, and AppView2D.