i6engine  1.0
i6e::api::gui::GUI_SetSelectedCallback Struct Reference

callback being called when selection in ToggleButton changes More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/GUIConfig.h>

Public Member Functions

 GUI_SetSelectedCallback (const std::string &name, const std::function< void(bool)> &c)
GUI_SetSelectedCallbackcopy ()
 Copy method returning an exact copy of itself. More...
- Public Member Functions inherited from i6e::api::gui::GUIUpdateMessageStruct
 GUIUpdateMessageStruct ()
 GUIUpdateMessageStruct (const std::string &name)
 ~GUIUpdateMessageStruct ()
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 MessageStruct ()
 Default constructor for MessageStruct. More...
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 MessageStruct (int64_t id, int64_t waitID)
virtual ~MessageStruct ()
 Virtual destructor. More...
int64_t getID () const
 returns the id More...
int64_t getWaitID () const
 returns the waitForId More...

Public Attributes

std::function< void(bool)> callback
- Public Attributes inherited from i6e::api::gui::GUIUpdateMessageStruct
std::string _name
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
IPKey _sender
int64_t _waitForId

Detailed Description

callback being called when selection in ToggleButton changes

Definition at line 509 of file GUIConfig.h.

Constructor & Destructor Documentation

i6e::api::gui::GUI_SetSelectedCallback::GUI_SetSelectedCallback ( const std::string &  name,
const std::function< void(bool)> &  c 

Definition at line 511 of file GUIConfig.h.

Member Function Documentation

GUI_SetSelectedCallback* i6e::api::gui::GUI_SetSelectedCallback::copy ( )

Copy method returning an exact copy of itself.

Copy of itself.

Reimplemented from i6e::api::gui::GUIUpdateMessageStruct.

Definition at line 513 of file GUIConfig.h.

Member Data Documentation

std::function<void(bool)> i6e::api::gui::GUI_SetSelectedCallback::callback

Definition at line 510 of file GUIConfig.h.

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