Home | History | Annotate | Download | only in dbus

Lines Matching refs:Property

27 // member for each property defined as an instance of the Property<> class,
30 // property defined to associate them with their string name.
36 // dbus::Property<std::string> name;
37 // dbus::Property<uint16> version;
38 // dbus::Property<dbus::ObjectPath> parent;
39 // dbus::Property<std::vector<std::string> > children;
97 // the current value of the name property would be:
112 // the property value, and whether it emits a signal or a Get() call is
120 // in property.cc because template methods use them.
130 // the Property<> template that are not type-specific, such as the
131 // associated PropertySet, property name, and the type-unsafe parts
137 // Initializes the |property_set| and property |name| so that method
145 // Retrieves the name of this property, this may be useful in observers
152 // // Handle version property changing
169 // to replace the property value with the set value without using a
174 // Retrieves the associated property set.
182 // Name of the property.
194 // RegisterProperty() for each property defined.
202 // argument specifies the name of the property changed.
205 // Constructs a property set, where |object_proxy| specifies the proxy for
218 // Registers a property, generally called from the subclass constructor;
219 // pass the |name| of the property as used in method calls and signals,
220 // and the pointer to the |property| member of the structure. This will
222 void RegisterProperty(const std::string& name, PropertyBase* property);
224 // Connects property change notification signals to the object, generally
230 // a property is changed. Sub-classes may override if the property
239 // calling value() on the property.
242 // Requests an updated value from the remote object for |property|
247 virtual void Get(PropertyBase* property, GetCallback callback);
248 virtual void OnGet(PropertyBase* property, GetCallback callback,
254 // properties, either ignore or obtain each property value individually.
259 // new property value was accepted by the remote object.
262 // Requests that the remote object for |property| change the property to
267 virtual void Set(PropertyBase* property, SetCallback callback);
268 virtual void OnSet(PropertyBase* property, SetCallback callback,
276 // Updates a single property by reading a string with the name and a
278 // is in incorrect format, or property type doesn't match.
281 // Calls the property changed callback passed to the constructor, used
283 // UpdatePropertyFromReader(). Takes the |name| of the changed property.
286 // Retrieves the object proxy this property set was initialized with,
288 // and for Property<>. Not permitted with const references to this class.
291 // Retrieves the interface of this property set.
295 // Get a weak pointer to this property set, provided so that sub-classes
307 // Interface of property, e.g. "org.chromium.ExampleService", this is
312 // Callback for property changes.
317 // restricts property access via this map to type-unsafe and non-specific
329 // Property template, this defines the type-specific and type-safe methods
334 // all calls to that method, PropertySet::Get() and property changed signals
336 // property.
340 // rather than incurring a round-trip to the remote object for each property
353 class CHROME_DBUS_EXPORT Property : public PropertyBase {
355 Property() {}
367 // Requests that the remote object change the property value to |value|,
387 // to replace the property value with the set value without using a
395 // value of a property.
402 // Current cached value of the property.
405 // Replacement value of the property.
409 template <> Property<uint8>::Property();
410 template <> bool Property<uint8>::PopValueFromReader(MessageReader* reader);
411 template <> void Property<uint8>::AppendSetValueToWriter(MessageWriter* writer);
413 template <> Property<bool>::Property();
414 template <> bool Property<bool>::PopValueFromReader(MessageReader* reader);
415 template <> void Property<bool>::AppendSetValueToWriter(MessageWriter* writer);
417 template <> Property<int16>::Property();
418 template <> bool Property<int16>::PopValueFromReader(MessageReader* reader);
419 template <> void Property<int16>::AppendSetValueToWriter(MessageWriter* writer);
421 template <> Property<uint16>::Property();
422 template <> bool Property<uint16>::PopValueFromReader(MessageReader* reader);
423 template <> void Property<uint16>::AppendSetValueToWriter(
426 template <> Property<int32>::Property();
427 template <> bool Property<int32>::PopValueFromReader(MessageReader* reader);
428 template <> void Property<int32>::AppendSetValueToWriter(MessageWriter* writer);
430 template <> Property<uint32>::Property();
431 template <> bool Property<uint32>::PopValueFromReader(MessageReader* reader);
432 template <> void Property<uint32>::AppendSetValueToWriter(
435 template <> Property<int64>::Property();
436 template <> bool Property<int64>::PopValueFromReader(MessageReader* reader);
437 template <> void Property<int64>::AppendSetValueToWriter(MessageWriter* writer);
439 template <> Property<uint64>::Property();
440 template <> bool Property<uint64>::PopValueFromReader(MessageReader* reader);
441 template <> void Property<uint64>::AppendSetValueToWriter(
444 template <> Property<double>::Property();
445 template <> bool Property<double>::PopValueFromReader(MessageReader* reader);
446 template <> void Property<double>::AppendSetValueToWriter(
449 template <> bool Property<std::string>::PopValueFromReader(
451 template <> void Property<std::string>::AppendSetValueToWriter(
454 template <> bool Property<ObjectPath>::PopValueFromReader(
456 template <> void Property<ObjectPath>::AppendSetValueToWriter(
459 template <> bool Property<std::vector<std::string> >::PopValueFromReader(
461 template <> void Property<std::vector<std::string> >::AppendSetValueToWriter(
464 template <> bool Property<std::vector<ObjectPath> >::PopValueFromReader(
466 template <> void Property<std::vector<ObjectPath> >::AppendSetValueToWriter(
469 template <> bool Property<std::vector<uint8> >::PopValueFromReader(
471 template <> void Property<std::vector<uint8> >::AppendSetValueToWriter(