cgv
|
Public Member Functions | |
gui_config_file_observer (const std::string &fn, const std::string &c) | |
void | add_view (const config_file_view &cfv) |
void | inc_out_of_date_count () |
void | update_view (cgv::gui::view_ptr v) |
void | update_config_file () |
void | multi_observe (base_ptr bp, const std::string &property_assignments, size_t off) |
to be implemented method that adds permanent registration for a list of property assignments | |
Protected Attributes | |
std::string | file_name |
std::string | content |
std::vector< config_file_view > | views |
unsigned | nr_out_of_date |
Definition at line 24 of file config_file.cxx.
|
inline |
Definition at line 32 of file config_file.cxx.
|
inline |
Definition at line 36 of file config_file.cxx.
|
inline |
Definition at line 41 of file config_file.cxx.
|
virtual |
to be implemented method that adds permanent registration for a list of property assignments
Implements cgv::base::config_file_observer.
Definition at line 154 of file config_file.cxx.
References cgv::utils::bite_all(), cgv::utils::is_digit(), cgv::utils::is_integer(), cgv::base::base::self_reflect(), cgv::base::base::set_void(), cgv::type::info::TI_BOOL, cgv::type::info::TI_FLT32, cgv::type::info::TI_FLT64, cgv::type::info::TI_INT16, cgv::type::info::TI_INT32, cgv::type::info::TI_INT64, cgv::type::info::TI_INT8, cgv::type::info::TI_STRING, cgv::type::info::TI_UINT16, cgv::type::info::TI_UINT32, cgv::type::info::TI_UINT64, cgv::type::info::TI_UINT8, and cgv::utils::to_string().
|
inline |
Definition at line 55 of file config_file.cxx.
|
inline |
Definition at line 45 of file config_file.cxx.
|
protected |
Definition at line 28 of file config_file.cxx.
|
protected |
Definition at line 27 of file config_file.cxx.
|
protected |
Definition at line 30 of file config_file.cxx.
|
protected |
Definition at line 29 of file config_file.cxx.