|Non-Confidential||PDF version||ARM 100965_1101_00_en|
|Home > SystemC Export with Multiple Instantiation > Scheduler API > sg::SchedulerObject class|
This section describes the
SchedulerObject class. It is the base class for scheduler objects and interfaces. This interface does not allow object destruction.
This method returns the name of the instance that implements the object or interface. The intended use is debugging.
const char *getName() const;
Although ARM does not guarantee this name to be unique or hierarchical, ARM recommends including or using the hierarchical component name. The caller must not free/delete the returned string. This object owns the string. The pointer is valid as long as the object implementing this interface exists. If the caller cannot track the lifetime of this object and wants to remember the name, it must copy it.