Contents

getName

Returns the name assigned to the registry entry as a C-string.

Declaration

virtual const char * getName(
 const IORegistryPlane *plane = 0 ) const;

Parameters

  • plane:

    The plane object, or zero for the global name.

Return Value

A C-string name, valid while the entry is retained.

Overview

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

See Also

Miscellaneous