icinga2/lib/base/dynamicobject.ti
Michael Friedrich 7c0d93ea0a Add modified attributes for vars dictionary.
- new external commands
- raw values for 'vars'
- OnVarsChanged() signal for db_ido customvariablestatus updates
- refactor db_ido customvariable config updates

Refs #5956
Refs #5962
2014-04-16 17:52:12 +02:00

38 lines
808 B
Plaintext

namespace icinga
{
code {{{
class NameComposer {
public:
virtual String MakeName(const String& shortName, const Dictionary::Ptr props) const = 0;
};
}}}
abstract class DynamicObject
{
[config] String __name (Name);
[config] String name (ShortName) {
get {{{
if (m_ShortName.IsEmpty())
return GetName();
else
return m_ShortName;
}}}
};
[config, get_protected] String type (TypeName);
[config, get_protected] Array::Ptr templates;
[config] Dictionary::Ptr methods;
[config] Dictionary::Ptr vars (VarsRaw);
[config] Array::Ptr domains;
[config] Array::Ptr authorities;
[get_protected] bool active;
[get_protected] bool start_called;
[get_protected] bool stop_called;
Dictionary::Ptr authority_info;
[protected] Dictionary::Ptr extensions;
[state] Value override_vars;
};
}