GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ADF::SharedFP Class Reference

A Shared Frame Pointer. More...

#include <Frame.h>

Public Member Functions

virtual FrameGetFrame () const
 
const PF_FactoryItemChangeGetFrameChangeFunction () const
 
const PF_FactoryItemChangeGetKeyChangeFunction () const
 
Bool_t IsFrameChangeable (FactoryItem item_from, FactoryItem item_to) const
 true if for that Frame the frame modification proposed is acceptable More...
 
Bool_t IsKeyChangeable (FactoryItem item_from, FactoryItem item_to) const
 true if for that Frame the key modification proposed is acceptable More...
 
virtual Bool_t IsValid () const
 true if it is a valid pointer More...
 
virtual FrameSetFrame (Frame *)
 change the frame, returns the current one More...
 
virtual void SetFrameChangeFunction (PF_FactoryItemChange pf)
 
virtual void SetKeyChangeFunction (PF_FactoryItemChange pf)
 
virtual void SetValid (Bool_t validity)
 true if it is a valid pointer More...
 
 SharedFP (Frame *f=0x0)
 
virtual ~SharedFP ()
 

Detailed Description

A Shared Frame Pointer.

The Frame is owned by the pointer. In case of delete, the frame is deleted. To avoid this:

SharedFP *sfp;
...
Frame *f = sfp->GetFrame(0x0);
delete sfp;
// nwow it is the charge of the user to delete f

Definition at line 597 of file Frame.h.


The documentation for this class was generated from the following files: