Emergency 20 Dokumentation  4.2.0
em5::DecoratorInstancerSEKScan Class Reference

EMERGENCY 5 SEK scan decorator instancer. More...

#include <DecoratorInstancerSEKScan.h>

Inheritance diagram for em5::DecoratorInstancerSEKScan:

Public Member Functions

 DecoratorInstancerSEKScan ()
 Default constructor. More...
 
virtual ~DecoratorInstancerSEKScan ()
 Destructor. More...
 
virtual Rocket::Core::Decorator * InstanceDecorator (const Rocket::Core::String &name, const Rocket::Core::PropertyDictionary &properties) override
 Instances a decorator given the property tag and attributes from the RCSS file. More...
 
virtual void ReleaseDecorator (Rocket::Core::Decorator *decorator) override
 Releases the given decorator. More...
 
virtual void Release () override
 Releases the instancer. More...
 

Detailed Description

EMERGENCY 5 SEK scan decorator instancer.

Note
  • The decorator instancer basically exposes the variables a custom decorator has to the rcss properties, making adjustments through the rcss files possible.

Constructor & Destructor Documentation

em5::DecoratorInstancerSEKScan::DecoratorInstancerSEKScan ( )
inline

Default constructor.

virtual em5::DecoratorInstancerSEKScan::~DecoratorInstancerSEKScan ( )
virtual

Destructor.

Member Function Documentation

virtual Rocket::Core::Decorator* em5::DecoratorInstancerSEKScan::InstanceDecorator ( const Rocket::Core::String name,
const Rocket::Core::PropertyDictionary &  properties 
)
overridevirtual

Instances a decorator given the property tag and attributes from the RCSS file.

Parameters
[in]nameThe type of decorator desired. For example, "background-decorator: simple;" is declared as type "simple".
[in]propertiesAll RCSS properties associated with the decorator
Returns
The decorator if it was instanced successful, null pointer if an error occurred
virtual void em5::DecoratorInstancerSEKScan::Release ( )
overridevirtual

Releases the instancer.

virtual void em5::DecoratorInstancerSEKScan::ReleaseDecorator ( Rocket::Core::Decorator *  decorator)
overridevirtual

Releases the given decorator.

Parameters
[in]decoratorDecorator to release. This is guaranteed to have been constructed by this instancer.

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