VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
HumbleDialogWidgetInterface Class Referenceabstract

Interface for the HumbleDialogWidget. This class defines the implementation-agnostic interface for the HumbleDialogWidget. This interface is used by the HumbleDialogLogic to communicate with the widget without any understanding of how the widget was implemented.

Examples
Inheritance diagram for HumbleDialogWidgetInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void setText (const std::string &text)=0
 

Public Attributes

boost::signalslib::signal
< void(const std::string &text)> 
signal_processText
 

Member Function Documentation

virtual void HumbleDialogWidgetInterface::setText ( const std::string &  text)
pure virtual

Called by the logic to set the text in the widget.

Implemented in HumbleDialogWidget.

Member Data Documentation

boost::signalslib::signal<void (const std::string& text)> HumbleDialogWidgetInterface::signal_processText

Signal emitted when the user changes the text in the widget then presses the [Return] or [Enter] key. Connected to a slot in the logic.


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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)