the dialog generator/handler
More...
#include <UIFactory.h>
|
void | parse (const Atlas::Message::Element &) |
|
void | clear () |
| purge all server-generated classes
|
|
Factory * | findFactory (const Atlas::Message::Element &id) const |
|
Factory * | findFactory (const std::string &id) const |
|
bool | bind (Factory *f) |
|
virtual void | display (Element *, const std::string &id)=0 |
|
virtual void | createConsoleElement (const Atlas::Objects::Entity::UIEntity &)=0 |
|
|
template<class C > |
struct | Bind |
|
the dialog generator/handler
§ Bind
Initial value:{
public:
Bind(Bindings& b) : _b(b) {}
bool slot(const std::string& id)
{return _b.bind(new SlotFactory(id, new SlotFactory::Gen<C>()));}
bool element(const std::string& id)
{return _b.bind(new Factory(id, new Factory::Gen<C>()));}
bool frame()
{return _b.bind(new FrameFactory(new FrameFactory::Gen<C>()));}
private:
Bindings& _b
The documentation for this class was generated from the following file: