3#include <cgv/base/register.h>
5#include "base_provider.h"
18 std::string definition;
20 gui_definition(
const std::string& _def=
"",
const std::string& _opt=
"") : definition(_def), options(_opt) {}
27 typedef std::map<cgv::base::base_ptr,base_provider_ptr>
pvd_map_type;
45 void timer_event(
double,
double);
50 std::string get_type_name()
const;
54 void on_set(
void* member_ptr);
56 bool parse_gui_file(
const std::string& file_name);
66#include <cgv/config/lib_end.h>
base class for all classes that can be registered with support for dynamic properties (see also secti...
def_map_type defs_by_type
mappings from type to gui definitions
def_map_type::const_iterator def_map_iter
iterator type for map
def_map_type defs_by_name
mappings from name to gui definitions
pvd_map_type providers
store map to base_providers
std::map< cgv::base::base_ptr, base_provider_ptr > pvd_map_type
type of map from objects to base_providers
std::vector< cgv::base::base_ptr > unmatched_objects
keep track of unmatched objects
std::map< std::string, long long > gui_files
store read gui files with last write times
bool check_file_update
whether to check files
pvd_map_type::iterator pvd_map_iter
iterator type of base_provider map
std::map< std::string, gui_definition > def_map_type
type of mapping from strings to gui definitions
the self reflection handler is passed to the virtual self_reflect() method of cgv::base::base.
interfaces that allows to listen to registration events.
each gui definition consists of the textual definition as well as an options string