registerClient()

Register a client to receive notifications of updates to a simulated PPS object.

Synopsis:

#include <qpps/simulator.h>
 
bool registerClient( const QString &objectPath, 
                     QObject *client, 
                     QString *errorMessage = 0 );

Arguments:

objectPath
The path of the simulated PPS object.
client
The client to register for update notifications related to the simulated object at objectPath.
errorMessage
A string for storing error messages. By default, no string is defined and error messages are discarded.

Description:

Register the client to receive notifications of updates to the simulated PPS object at objectPath. All attribute assignments and removals will be handled by the simulator; no PPS object will be created in the filesystem.

Returns:

Returns true if the client was registered successfully, false if an error occurred.