Home | History | Annotate | Download | only in dbus

Lines Matching defs:Property

32 // member for each property defined as an instance of the Property<> class,
35 // property defined to associate them with their string name.
41 // dbus::Property<std::string> name;
42 // dbus::Property<uint16_t> version;
43 // dbus::Property<dbus::ObjectPath> parent;
44 // dbus::Property<std::vector<std::string> > children;
102 // the current value of the name property would be:
117 // the property value, and whether it emits a signal or a Get() call is
125 // in property.cc because template methods use them.
135 // the Property<> template that are not type-specific, such as the
136 // associated PropertySet, property name, and the type-unsafe parts
143 // Initializes the |property_set| and property |name| so that method
151 // Retrieves the name of this property, this may be useful in observers
158 // // Handle version property changing
163 // Returns true if property is valid, false otherwise.
166 // Allows to mark Property as valid or invalid.
181 // to replace the property value with the set value without using a
186 // Retrieves the associated property set.
196 // Name of the property.
208 // RegisterProperty() for each property defined.
216 // argument specifies the name of the property changed.
219 // Constructs a property set, where |object_proxy| specifies the proxy for
232 // Registers a property, generally called from the subclass constructor;
233 // pass the |name| of the property as used in method calls and signals,
234 // and the pointer to the |property| member of the structure. This will
236 void RegisterProperty(const std::string& name, PropertyBase* property);
238 // Connects property change notification signals to the object, generally
244 // a property is changed. Sub-classes may override if the property
253 // calling value() on the property.
256 // Requests an updated value from the remote object for |property|
261 virtual void Get(PropertyBase* property, GetCallback callback);
262 virtual void OnGet(PropertyBase* property, GetCallback callback,
267 virtual bool GetAndBlock(PropertyBase* property);
272 // properties, either ignore or obtain each property value individually.
277 // new property value was accepted by the remote object.
280 // Requests that the remote object for |property| change the property to
285 virtual void Set(PropertyBase* property, SetCallback callback);
286 virtual void OnSet(PropertyBase* property, SetCallback callback,
291 virtual bool SetAndBlock(PropertyBase* property);
298 // Updates a single property by reading a string with the name and a
300 // is in incorrect format, or property type doesn't match.
303 // Calls the property changed callback passed to the constructor, used
305 // UpdatePropertyFromReader(). Takes the |name| of the changed property.
308 // Retrieves the object proxy this property set was initialized with,
310 // and for Property<>. Not permitted with const references to this class.
313 // Retrieves the interface of this property set.
317 // Get a weak pointer to this property set, provided so that sub-classes
333 // Interface of property, e.g. "org.chromium.ExampleService", this is
338 // Callback for property changes.
343 // restricts property access via this map to type-unsafe and non-specific
355 // Property template, this defines the type-specific and type-safe methods
360 // all calls to that method, PropertySet::Get() and property changed signals
362 // property.
366 // rather than incurring a round-trip to the remote object for each property
379 class CHROME_DBUS_EXPORT Property : public PropertyBase {
381 Property() {}
382 ~Property() override {}
400 // Requests that the remote object change the property value to |value|,
427 // to replace the property value with the set value without using a
435 // value of a property.
442 // |set_value_| of a property.
446 // Current cached value of the property.
449 // Replacement value of the property.
463 CHROME_DBUS_EXPORT Property<uint8_t>::Property();
465 CHROME_DBUS_EXPORT bool Property<uint8_t>::PopValueFromReader(
468 CHROME_DBUS_EXPORT void Property<uint8_t>::AppendSetValueToWriter(
470 extern template class CHROME_DBUS_EXPORT Property<uint8_t>;
473 CHROME_DBUS_EXPORT Property<bool>::Property();
475 CHROME_DBUS_EXPORT bool Property<bool>::PopValueFromReader(
478 CHROME_DBUS_EXPORT void Property<bool>::AppendSetValueToWriter(
480 extern template class CHROME_DBUS_EXPORT Property<bool>;
483 CHROME_DBUS_EXPORT Property<int16_t>::Property();
485 CHROME_DBUS_EXPORT bool Property<int16_t>::PopValueFromReader(
488 CHROME_DBUS_EXPORT void Property<int16_t>::AppendSetValueToWriter(
490 extern template class CHROME_DBUS_EXPORT Property<int16_t>;
493 CHROME_DBUS_EXPORT Property<uint16_t>::Property();
495 CHROME_DBUS_EXPORT bool Property<uint16_t>::PopValueFromReader(
498 CHROME_DBUS_EXPORT void Property<uint16_t>::AppendSetValueToWriter(
500 extern template class CHROME_DBUS_EXPORT Property<uint16_t>;
503 CHROME_DBUS_EXPORT Property<int32_t>::Property();
505 CHROME_DBUS_EXPORT bool Property<int32_t>::PopValueFromReader(
508 CHROME_DBUS_EXPORT void Property<int32_t>::AppendSetValueToWriter(
510 extern template class CHROME_DBUS_EXPORT Property<int32_t>;
513 CHROME_DBUS_EXPORT Property<uint32_t>::Property();
515 CHROME_DBUS_EXPORT bool Property<uint32_t>::PopValueFromReader(
518 CHROME_DBUS_EXPORT void Property<uint32_t>::AppendSetValueToWriter(
520 extern template class CHROME_DBUS_EXPORT Property<uint32_t>;
523 CHROME_DBUS_EXPORT Property<int64_t>::Property();
525 CHROME_DBUS_EXPORT bool Property<int64_t>::PopValueFromReader(
528 CHROME_DBUS_EXPORT void Property<int64_t>::AppendSetValueToWriter(
530 extern template class CHROME_DBUS_EXPORT Property<int64_t>;
533 CHROME_DBUS_EXPORT Property<uint64_t>::Property();
535 CHROME_DBUS_EXPORT bool Property<uint64_t>::PopValueFromReader(
538 CHROME_DBUS_EXPORT void Property<uint64_t>::AppendSetValueToWriter(
540 extern template class CHROME_DBUS_EXPORT Property<uint64_t>;
543 CHROME_DBUS_EXPORT Property<double>::Property();
545 CHROME_DBUS_EXPORT bool Property<double>::PopValueFromReader(
548 CHROME_DBUS_EXPORT void Property<double>::AppendSetValueToWriter(
550 extern template class CHROME_DBUS_EXPORT Property<double>;
553 CHROME_DBUS_EXPORT bool Property<std::string>::PopValueFromReader(
556 CHROME_DBUS_EXPORT void Property<std::string>::AppendSetValueToWriter(
558 extern template class CHROME_DBUS_EXPORT Property<std::string>;
561 CHROME_DBUS_EXPORT bool Property<ObjectPath>::PopValueFromReader(
564 CHROME_DBUS_EXPORT void Property<ObjectPath>::AppendSetValueToWriter(
566 extern template class CHROME_DBUS_EXPORT Property<ObjectPath>;
569 CHROME_DBUS_EXPORT bool Property<std::vector<std::string>>::PopValueFromReader(
572 CHROME_DBUS_EXPORT void Property<
574 extern template class CHROME_DBUS_EXPORT Property<std::vector<std::string>>;
577 CHROME_DBUS_EXPORT bool Property<std::vector<ObjectPath>>::PopValueFromReader(
580 CHROME_DBUS_EXPORT void Property<
582 extern template class CHROME_DBUS_EXPORT Property<std::vector<ObjectPath>>;
585 CHROME_DBUS_EXPORT bool Property<std::vector<uint8_t>>::PopValueFromReader(
588 CHROME_DBUS_EXPORT void Property<std::vector<uint8_t>>::AppendSetValueToWriter(
590 extern template class CHROME_DBUS_EXPORT Property<std::vector<uint8_t>>;
594 Property<std::map<std::string, std::string>>::PopValueFromReader(
598 Property<std::map<std::string, std::string>>::AppendSetValueToWriter(
601 Property<std::map<std::string, std::string>>;
605 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>::
609 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>::
612 Property<std::vector<std::pair<std::vector<uint8_t>, uint16_t>>>;
616 Property<std::unordered_map<std::string, std::vector<uint8_t>>>::
620 Property<std::unordered_map<std::string, std::vector<uint8_t>>>::
623 Property<std::unordered_map<std::string, std::vector<uint8_t>>>;
627 Property<std::unordered_map<uint16_t, std::vector<uint8_t>>>::
631 Property<std::unordered_map<uint16_t, std::vector<uint8_t>>>::
634 Property<std::unordered_map<uint16_t, std::vector<uint8_t>>>;