setAttributes()

Write a set of attribute assignments and removals atomically.

Synopsis:

#include <qpps/object.h>
 
bool setAttributes( const Changeset &changes );

Arguments:

changes
A Changeset listing all requested attribute assignments and removals.

Description:

Write a set of attribute assignments and removals atomically. This way, subscribers won't see a state with only some changes applied.

Returns:

Returns true if the PPS object was updated successfully, false if an error occurred (call errorString() to get more information).