IEDLObject is an abstract base class that is used by all classes that are intended to be created via an EDL class factory.
More...
#include <iedlobject.h>
|
virtual const CClassID & | getClassID () const =0 |
| Returns class ID of IEDLObject.
|
|
virtual bool | init (CClassParams *pData) |
| The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
|
|
virtual bool | clone (IEDLObjectPtr &ptrObject, IEDLClassFactory *pFactory) |
| Create a copy of EDLObject.
|
|
virtual void | addRef () const =0 |
| Increases the reference count of the actual object pointed to. This would take place during an assignment or copying.
|
|
virtual bool | decRef () const =0 |
| Decreases the reference count of the actual object pointed to. When the reference count falls to Zero, it deletes the actual object pointed to.
|
|
virtual int32 | getRefCount () const =0 |
| Retrieve the current reference count of the actual object pointed to.
|
|
|
virtual | ~IRCObject () |
| Virtual destructor.
|
|
IEDLObject is an abstract base class that is used by all classes that are intended to be created via an EDL class factory.
IEDLObjects are always internally reference-counted so that any user of an IEDLObject does not need to consider memory-management/object-lifetime/object-deletion issues
◆ clone()
virtual bool IEDLObject::clone |
( |
IEDLObjectPtr & | ptrObject, |
|
|
IEDLClassFactory * | pFactory ) |
|
inlinevirtual |
Create a copy of EDLObject.
- Parameters
-
ptrObject | Smart pointer to the source object |
pFactory | Pointer to the EDL class factory |
- Returns
- bool Returns true on success
Reimplemented in IEDLTempStore.
◆ getClassID()
virtual const CClassID & IEDLObject::getClassID |
( |
| ) |
const |
|
pure virtual |
◆ init()
The init() method is called to perform any post-construction initialization of an IEDLObject that has been created by the EDL class factory, before it is actually returned by the factory.
- Parameters
-
pData | It is upto the caller/user of the class factory to construct any sub-class of CClassParams that must be supplied to this init() method |
- Returns
- bool Returns true on success
The documentation for this class was generated from the following file: