Used as a base class for classes that will own events-backed functions.
More...
#include <EventsFunctionsContainer.h>
Inherits gd::SerializableWithNameList< gd::EventsFunction >.
Inherited by gd::EventsFunctionsExtension.
|
enum | FunctionOwner { Extension
, Object
, Behavior
} |
|
Used as a base class for classes that will own events-backed functions.
- See also
- gd::EventsFunctionContainer
◆ GetEventsFunction() [1/4]
Get the function with the specified name.
- Warning
- Trying to access to a not existing function will result in undefined behavior.
◆ GetEventsFunction() [2/4]
Get the function with the specified name.
- Warning
- Trying to access to a not existing function will result in undefined behavior.
◆ GetEventsFunction() [3/4]
Get the function at the specified index in the list.
- Warning
- Trying to access to a not existing function will result in undefined behavior.
◆ GetEventsFunction() [4/4]
const gd::EventsFunction& gd::EventsFunctionsContainer::GetEventsFunction |
( |
std::size_t |
index | ) |
const |
|
inline |
Get the function at the specified index in the list.
- Warning
- Trying to access to a not existing function will result in undefined behavior.
◆ GetOwner()
FunctionOwner gd::EventsFunctionsContainer::GetOwner |
( |
| ) |
const |
|
inline |
Get the source of the function container.
- Note
- For instance, it can be useful to handle specific parameters for behaviors.
◆ Init()
Initialize object using another object. Used by copy-ctor and assign-op. Don't forget to update me if members were changed!
The documentation for this class was generated from the following file: