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

registers a template for a Widget More...

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

Public Member Functions

 GUI_WidgetTemplate_Create ()
 
 GUI_WidgetTemplate_Create (const std::string &n, const boost::function< api::GUIWidget *(const std::string &name, const std::string &style)> &f)
 
GUI_WidgetTemplate_Createcopy ()
 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::string name
 
boost::function< api::GUIWidget *(const std::string &name, const std::string &style)> func
 
- 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

registers a template for a Widget

Definition at line 360 of file GUIConfig.h.

Constructor & Destructor Documentation

i6e::api::gui::GUI_WidgetTemplate_Create::GUI_WidgetTemplate_Create ( )
inline

Definition at line 363 of file GUIConfig.h.

i6e::api::gui::GUI_WidgetTemplate_Create::GUI_WidgetTemplate_Create ( const std::string &  n,
const boost::function< api::GUIWidget *(const std::string &name, const std::string &style)> &  f 
)

Member Function Documentation

GUI_WidgetTemplate_Create* i6e::api::gui::GUI_WidgetTemplate_Create::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

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

Definition at line 365 of file GUIConfig.h.

Member Data Documentation

boost::function<api::GUIWidget * (const std::string & name, const std::string & style)> i6e::api::gui::GUI_WidgetTemplate_Create::func

Definition at line 362 of file GUIConfig.h.

std::string i6e::api::gui::GUI_WidgetTemplate_Create::name

Definition at line 361 of file GUIConfig.h.


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