Elaztek Developer Hub
Blamite Game Engine - Strings  00386.06.16.23.0646.blamite
A library containing general purpose utilities and classes for use in multiple projects.
ConfigurationReloadEvent Class Reference

Class representing a configuration reload event. More...

#include <ConfigurationReloadEvent.h>

+ Inheritance diagram for ConfigurationReloadEvent:
+ Collaboration diagram for ConfigurationReloadEvent:

Public Member Functions

 ConfigurationReloadEvent (std::string _filename)
 Constructs a new configuration reload event. More...
 
std::string GetFilename ()
 Retrieves the name of the file that was reloaded. More...
 
- Public Member Functions inherited from BlamEvent
 BlamEvent (BlamEventType type)
 Constructs a new event with the specified type. More...
 
BlamEventType GetEventType ()
 Retrieves the type of the event. More...
 
void SetCancelled (bool cancel)
 Sets whether or not the event should be cancelled. More...
 
bool IsCancelled ()
 Determines whether or not the event has been cancelled. More...
 

Detailed Description

Class representing a configuration reload event.

This event is fired when a configuration file has been reloaded during runtime. It can be used to reflect configuration changes in real-time.

Constructor & Destructor Documentation

◆ ConfigurationReloadEvent()

ConfigurationReloadEvent::ConfigurationReloadEvent ( std::string  _filename)

Constructs a new configuration reload event.

Parameters
_filename- The name of the file that was reloaded.

Member Function Documentation

◆ GetFilename()

std::string ConfigurationReloadEvent::GetFilename ( )

Retrieves the name of the file that was reloaded.

Returns
The name of the configuration file that was reloaded.

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