HPS::ApplicationWindowOptionsControl Class Reference

#include <hps.h>

Inheritance diagram for HPS::ApplicationWindowOptionsControl:
HPS::Control HPS::Object

Public Member Functions

 ApplicationWindowOptionsControl (ApplicationWindowKey &in_seg)
 
 ApplicationWindowOptionsControl (ApplicationWindowOptionsControl const &in_that)
 
 ApplicationWindowOptionsControl (ApplicationWindowOptionsControl &&in_that)
 
HPS::Type ObjectType () const
 
ApplicationWindowOptionsControloperator= (ApplicationWindowOptionsControl &&in_that)
 
ApplicationWindowOptionsControloperator= (ApplicationWindowOptionsControl const &in_that)
 
ApplicationWindowOptionsControlSetFallbackFonts (UTF8Array const &in_fonts)
 
ApplicationWindowOptionsControlSetPlatformData (PlatformData in_platform_data)
 
ApplicationWindowOptionsControlSetWindowHandle (WindowHandle in_window_handle)
 
bool ShowAntiAliasCapable (bool &out_state, unsigned int &out_samples) const
 
bool ShowDriver (Window::Driver &out_driver) const
 
size_t ShowFallbackFonts (UTF8Array &out_fonts) const
 
bool ShowFramebufferRetention (bool &out_retain) const
 
bool ShowPlatformData (PlatformData &out_platform_data) const
 
bool ShowWindowHandle (WindowHandle &out_window_handle) const
 
ApplicationWindowOptionsControlUnsetFallbackFonts ()
 
 ~ApplicationWindowOptionsControl ()
 
- Public Member Functions inherited from HPS::Object
virtual bool Empty () const
 
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 
bool HasType (HPS::Type in_mask) const
 
 Object (Object const &that)
 
 Object (Object &&in_that)
 
Objectoperator= (Object const &other_object)
 
Objectoperator= (Object &&in_that)
 
virtual void Reset ()
 
HPS::Type Type () const
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS::Object
template<typename T >
static intptr_t ClassID ()
 
- Protected Member Functions inherited from HPS::Control
 Control (Control &&in_that)
 
Controloperator= (Control &&in_that)
 

Detailed Description

The HPS::ApplicationWindowOptionsControl class is a smart pointer that is tied to a database object. It is used to query and manipulate options pertaining to an HPS::ApplicationWindowKey. Default values for the various fields of HPS::ApplicationWindowOptionsControl can be found here.

Constructor & Destructor Documentation

HPS::ApplicationWindowOptionsControl::ApplicationWindowOptionsControl ( ApplicationWindowKey in_seg)
explicit

This constructor creates a ApplicationWindowOptionsControl object which is tied to the specified offscreen window.

Parameters
in_windowThe application window which this ApplicationWindowOptionsControl should operate on.
HPS::ApplicationWindowOptionsControl::ApplicationWindowOptionsControl ( ApplicationWindowOptionsControl const &  in_that)

The copy constructor creates a ApplicationWindowOptionsControl object that shares the underlying smart-pointer of the source ApplicationWindowOptionsControl.

Parameters
in_thatThe source ApplicationWindowOptionsControl to copy.
HPS::ApplicationWindowOptionsControl::ApplicationWindowOptionsControl ( ApplicationWindowOptionsControl &&  in_that)

The move constructor creates an ApplicationWindowOptionsControl by transferring the underlying impl of the rvalue reference to this ApplicationWindowOptionsControl thereby avoiding a copy and allocation.

Parameters
in_thatAn rvalue reference to an ApplicationWindowOptionsControl to take the impl from.
HPS::ApplicationWindowOptionsControl::~ApplicationWindowOptionsControl ( )

Releases a reference to the database object this control is tied to.

Member Function Documentation

HPS::Type HPS::ApplicationWindowOptionsControl::ObjectType ( ) const
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS::Control.

ApplicationWindowOptionsControl& HPS::ApplicationWindowOptionsControl::operator= ( ApplicationWindowOptionsControl &&  in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this ApplicationWindowOptionsControl thereby avoiding a copy.

Parameters
in_thatAn rvalue reference to an ApplicationWindowOptionsControl to take the impl from.
Returns
A reference to this ApplicationWindowOptionsControl.
ApplicationWindowOptionsControl& HPS::ApplicationWindowOptionsControl::operator= ( ApplicationWindowOptionsControl const &  in_that)

Share the underlying smart-pointer of the ApplicationWindowOptionsControl source.

Parameters
in_thatThe ApplicationWindowOptionsControl source of the assignment.
Returns
A reference to this ApplicationWindowOptionsControl.
ApplicationWindowOptionsControl& HPS::ApplicationWindowOptionsControl::SetFallbackFonts ( UTF8Array const &  in_fonts)

Supplies an array of fonts to be used as fallbacks for when a character can not be found in the active font.

Parameters
in_fontsAn array of UTF8 encoded strings that correspond to the fallback fonts being used.
ApplicationWindowOptionsControl& HPS::ApplicationWindowOptionsControl::SetPlatformData ( PlatformData  in_platform_data)

Sets the platform specific data for the associated application window.

Parameters
in_platform_dataPlatform specific data for the associated application window.
Returns
A reference to this ApplicationWindowOptionsControl.
ApplicationWindowOptionsControl& HPS::ApplicationWindowOptionsControl::SetWindowHandle ( WindowHandle  in_window_handle)

Sets the window handle for the associated application window. Used to rebind the application window to a new window handle.

Parameters
in_window_handleHandle to the new WindowHandle that Visualize will draw into.
Returns
A reference to this ApplicationWindowOptionsControl.
bool HPS::ApplicationWindowOptionsControl::ShowAntiAliasCapable ( bool &  out_state,
unsigned int &  out_samples 
) const

Shows the whether this application window is anti-alias capable, and if so, how many samples it uses for anti-aliasing.

Parameters
out_stateWhether this application window is anti-alias capable.
out_samplesThe number of anti-alias samples supported by this application window.
Returns
true if any anti-alias options were set, false otherwise.
bool HPS::ApplicationWindowOptionsControl::ShowDriver ( Window::Driver out_driver) const

Shows the driver for the associated application window.

Parameters
out_driverThe driver for the associated application window.
Returns
true if a driver was set, false otherwise.
size_t HPS::ApplicationWindowOptionsControl::ShowFallbackFonts ( UTF8Array &  out_fonts) const

Returns an array of fonts set to be used as fallbacks for when a character can not be found in the active font.

Parameters
out_fontsAn array of UTF8 encoded strings that correspond to the fallback fonts being used.
bool HPS::ApplicationWindowOptionsControl::ShowFramebufferRetention ( bool &  out_retain) const

Shows the framebuffer retention setting for the associated application window.

Parameters
out_retainThe framebuffer retention setting for the associated application window.
Returns
true if framebuffer retention option was set, false otherwise.
bool HPS::ApplicationWindowOptionsControl::ShowPlatformData ( PlatformData &  out_platform_data) const

Shows the platform specific data for the associated application window.

Parameters
out_platform_dataThe platform specific data for the associated application window.
Returns
true if platform specific data was set, false otherwise.
bool HPS::ApplicationWindowOptionsControl::ShowWindowHandle ( WindowHandle &  out_window_handle) const

Shows the window handle for the associated application window.

Parameters
out_window_handleThe window handle for the associated application window.
Returns
true if a window handle was set, false otherwise.
ApplicationWindowOptionsControl& HPS::ApplicationWindowOptionsControl::UnsetFallbackFonts ( )

Unsets any fonts currently used as fallback fonts.


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