TGLPShapeRef Base class for references to TGLPysicalShape that need to be notified when the shape is destroyed. Could also deliver 'change' notifications.
TGLPShapeRef() | |
TGLPShapeRef(TGLPhysicalShape* shape) | |
virtual | ~TGLPShapeRef() |
static TClass* | Class() |
TGLPhysicalShape* | GetPShape() const |
virtual TClass* | IsA() const |
virtual void | PShapeModified() |
virtual void | SetPShape(TGLPhysicalShape* shape) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
TGLPShapeRef(const TGLPShapeRef&) | |
TGLPShapeRef& | operator=(const TGLPShapeRef&) |
TGLPhysicalShape* | fPShape | Pointer to referenced physical shape. |
TGLPShapeRef* | fNextPSRef | Internal pointer to the next reference (used by TGLPhysicalShape directly). |
Set the shape. Unreference the old and reference the new. This is virtual so that sub-classes can perform other tasks on change. This function should be called first from there. This is also called from destructor of the refereced physical shape with 0 argument.
This is called from physical shape when it is modified. Sub-classes can override and take appropriate action.