Game Develop Core: gd::EventMetadata Class Reference

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- Class List
- Class Index
- Class Hierarchy

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
Classes | Public Member Functions | Public Attributes | List of all members
gd::EventMetadata Class Reference

Describe an event provided by an extension of a platform. More...

`#include <EventMetadata.h>`

## Classes

class | CodeGenerator
| Base class used to define the code generated for a single event. More...

## Public Member Functions

void | SetCodeGenerator (boost::shared_ptr< gd::EventMetadata::CodeGenerator > codeGenerator)
| EventMetadata (const std::string &name_, const std::string &fullname_, const std::string &description_, const std::string &group_, const std::string &smallicon_, boost::shared_ptr< gd::BaseEvent > instance)
const std::string & | GetFullName () const
const std::string & | GetDescription () const
const std::string & | GetGroup () const
const wxBitmap & | GetBitmapIcon () const

## Public Attributes

std::string | fullname
std::string | description
std::string | group
wxBitmap | smallicon
boost::shared_ptr< gd::BaseEvent > | instance
boost::shared_ptr < gd::EventMetadata::CodeGenerator > | codeGeneration

## Detailed Description

Describe an event provided by an extension of a platform.

Extensions writers, you should most of the time be using PlatformExtension::AddEvent method to add events.

## Member Function Documentation

void gd::EventMetadata::SetCodeGenerator | ( | boost::shared_ptr< gd::EventMetadata::CodeGenerator > | codeGenerator) |  |

inline

Set the code generator used when generating code from events.

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

- EventMetadata.h
- EventMetadata.cpp