i6engine  1.0
i6e::api::components::Component_CreateCallback_Create Struct Reference

creates a Component on Object with id goid and Component id coid with registered template name tpl and attributes of params and calls callback afterwards More...

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

Public Member Functions

 Component_CreateCallback_Create (const int64_t goid, const int64_t coid, const core::IPKey &r, const std::string &t, const attributeMap &p, const boost::function< void(ComPtr)> &cb)
 
Component_CreateCallback_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

std::string tpl
 
attributeMap params
 
core::IPKey receiver
 
boost::function< void(ComPtr)> callback
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

creates a Component on Object with id goid and Component id coid with registered template name tpl and attributes of params and calls callback afterwards

Note
not for multiplayer!

Definition at line 115 of file ComponentConfig.h.

Constructor & Destructor Documentation

i6e::api::components::Component_CreateCallback_Create::Component_CreateCallback_Create ( const int64_t  goid,
const int64_t  coid,
const core::IPKey r,
const std::string &  t,
const attributeMap p,
const boost::function< void(ComPtr)> &  cb 
)

Member Function Documentation

Component_CreateCallback_Create* i6e::api::components::Component_CreateCallback_Create::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 121 of file ComponentConfig.h.

Member Data Documentation

boost::function<void(ComPtr)> i6e::api::components::Component_CreateCallback_Create::callback

Definition at line 119 of file ComponentConfig.h.

attributeMap i6e::api::components::Component_CreateCallback_Create::params

Definition at line 117 of file ComponentConfig.h.

core::IPKey i6e::api::components::Component_CreateCallback_Create::receiver

Definition at line 118 of file ComponentConfig.h.

std::string i6e::api::components::Component_CreateCallback_Create::tpl

Definition at line 116 of file ComponentConfig.h.


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