#include </opt/build/repo/nap/system_modules/napportal/src/portalitemcolor.h>
| Public Member Functions | |
| virtual bool | init (utility::ErrorState &error) override | 
| virtual void | onDestroy () override | 
| virtual bool | processUpdate (const APIEvent &event, utility::ErrorState &error) override | 
| virtual APIEventPtr | getDescriptor () const override | 
| virtual APIEventPtr | getValue () const override | 
| virtual void | onParameterUpdate (T value) | 
|  Public Member Functions inherited from Resource | |
| Resource () | |
|  Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () | 
| Object (Object &)=delete | |
| Object & | operator= (const Object &)=delete | 
| Object (Object &&)=delete | |
| Object & | operator= (Object &&)=delete | 
| Public Attributes | |
| Slot< T > | mParameterUpdateSlot = { this, &PortalItemColor::onParameterUpdate } | 
| ResourcePtr< ParameterSimple< T > > | mParameter | 
| Property: 'Parameter' the parameter linked to this portal item.  More... | |
|  Public Attributes inherited from PortalItem | |
| Signal< const PortalItem & > | updateSignal | 
|  Public Attributes inherited from Object | |
| std::string | mID | 
| Property: 'mID' unique name of the object. Used as an identifier by the system.  More... | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) | 
Represents any color item in a NAP portal.
| 
 | overridevirtual | 
Implements PortalItem.
| 
 | overridevirtual | 
Implements PortalItem.
| 
 | overridevirtual | 
Subscribes to the parameter changed signal
| error | contains the error message when initialization fails | 
Reimplemented from Object.
| 
 | overridevirtual | 
Unsubscribes from the parameter changed signal
Reimplemented from Object.
| 
 | virtual | 
Called when the parameter value changes, sends the update as an API event
| value | the updated value of the parameter | 
| 
 | overridevirtual | 
Processes an update type API event.
| event | The event to be processed | 
| error | contains information when processing fails | 
Implements PortalItem.
| ResourcePtr<ParameterSimple<T> > mParameter | 
Property: 'Parameter' the parameter linked to this portal item.
| Slot<T> mParameterUpdateSlot = { this, &PortalItemColor::onParameterUpdate } | 
Slot which is called when the parameter value changes