AuboCaps  0.4.1
arcs::aubo_scope::KeyboardInputCallback< T > Struct Template Referenceabstract

Callback used when the virtual keyboard/keypad is exited by the end user. More...

#include <keyboard_input_callback.h>

Public Member Functions

virtual void onOk (T value)=0
 This method is called if the end user accepts the keyboard/keypad input. More...
 
virtual void onCancel ()
 This method is called if the end user cancels the input. More...
 

Detailed Description

template<typename T>
struct arcs::aubo_scope::KeyboardInputCallback< T >

Callback used when the virtual keyboard/keypad is exited by the end user.

Override this abstract class to execute custom code when the end user accepts or cancels the input.

Parameters
<T>The (generic) type parameter for the interface representing the type of input data entered by the end user, e.g. Integer and Double.

Definition at line 17 of file keyboard_input_callback.h.

Member Function Documentation

template<typename T >
virtual void arcs::aubo_scope::KeyboardInputCallback< T >::onCancel ( )
inlinevirtual

This method is called if the end user cancels the input.

Overriding this method is optional.

Definition at line 31 of file keyboard_input_callback.h.

template<typename T >
virtual void arcs::aubo_scope::KeyboardInputCallback< T >::onOk ( value)
pure virtual

This method is called if the end user accepts the keyboard/keypad input.

Overriding this method is mandatory.

Parameters
valueaccepted value.

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