i6engine  1.0
i6e::api::input::Input_SubscribeKeyEvent_Create Struct Reference

subscribes a key for one of the key states to call given method if state occures More...

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

Public Member Functions

 Input_SubscribeKeyEvent_Create ()
 Input_SubscribeKeyEvent_Create (const KeyCode &c, const KeyState t, const boost::function< void(void)> &f)
Input_SubscribeKeyEvent_Createcopy ()
 Copy method returning an exact copy of itself. More...
- 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

KeyCode code
KeyState type
boost::function< void(void)> func
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
IPKey _sender
int64_t _waitForId

Detailed Description

subscribes a key for one of the key states to call given method if state occures

Definition at line 96 of file InputConfig.h.

Constructor & Destructor Documentation

i6e::api::input::Input_SubscribeKeyEvent_Create::Input_SubscribeKeyEvent_Create ( )

Definition at line 100 of file InputConfig.h.

i6e::api::input::Input_SubscribeKeyEvent_Create::Input_SubscribeKeyEvent_Create ( const KeyCode &  c,
const KeyState  t,
const boost::function< void(void)> &  f 

Member Function Documentation

Input_SubscribeKeyEvent_Create* i6e::api::input::Input_SubscribeKeyEvent_Create::copy ( )

Copy method returning an exact copy of itself.

Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 102 of file InputConfig.h.

Member Data Documentation

KeyCode i6e::api::input::Input_SubscribeKeyEvent_Create::code

Definition at line 97 of file InputConfig.h.

boost::function<void(void)> i6e::api::input::Input_SubscribeKeyEvent_Create::func

Definition at line 99 of file InputConfig.h.

KeyState i6e::api::input::Input_SubscribeKeyEvent_Create::type

Definition at line 98 of file InputConfig.h.

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