Contents

setName(const char *, const IORegistryPlane *)

Sets a name for the registry entry, in a particular plane, or globally.

Declaration

virtual void setName(
 const char *name, 
 const IORegistryPlane *plane = 0 );

Parameters

  • name:

    A const C-string name which will be copied.

  • plane:

    The plane object, or zero to set the global name.

Overview

Entries can be named in a particular plane, or globally. If the plane is specified the name applies only to that plane, otherwise the global name is set. The global name defaults to the entry's meta class name if it has not been named.

See Also

Miscellaneous