cgv
|
convenience class to register a factory of the given class type that must be derived from cgv::gui::help_menu_entry More...
#include <help_menu_entry.h>
Public Member Functions | |
help_menu_entry_registration (const std::string &_created_type_name, const std::string &_menu_entry_name="") | |
this registers an instance of a factory implementation that only takes classes derived from cgv::gui::help_menu_entry the instance will be automatically registered as a singleton under the 'Help' section in the menu bar | |
convenience class to register a factory of the given class type that must be derived from cgv::gui::help_menu_entry
Definition at line 103 of file help_menu_entry.h.
|
inline |
this registers an instance of a factory implementation that only takes classes derived from cgv::gui::help_menu_entry the instance will be automatically registered as a singleton under the 'Help' section in the menu bar
parameters:
_created_type_name
... name of the type of the instances created by the factory_menu_entry_name
... name to show in the menu bar dropdown Definition at line 110 of file help_menu_entry.h.
References cgv::base::register_object().