#include <FCDPlaceHolder.h>
Inheritance diagram for FCDPlaceHolder:
Public Member Functions | |
FCDPlaceHolder (FCDocument *document, FCDocument *target=NULL) | |
Constructor. | |
virtual | ~FCDPlaceHolder () |
Destructor. | |
FCDocument * | GetTarget () const |
Retrieves the referenced FCollada document. | |
FCDocument * | GetTarget (bool loadIfMissing=true) |
Retrieves the referenced FCollada document. | |
void | LoadTarget (FCDocument *_target=NULL) |
[INTERNAL] Loads the referenced FCollada document. | |
void | UnloadTarget () |
Unloads and releases the referenced FCollada document. | |
bool | IsTargetLoaded () const |
Retrieves whether the FCollada document referenced by this placeholder is currently loaded and available. | |
const fstring & | GetFileUrl () const |
Retrieves the URL of the referenced FCollada document. | |
void | SetFileUrl (const fstring &url) |
Sets the URL of the referenced FCollada document. | |
void | AddExternalReference (FCDEntityReference *reference) |
[INTERNAL] Registers an entity reference into out document. | |
void | RemoveExternalReference (FCDEntityReference *reference) |
[INTERNAL] Removes an external reference from this placeholder's management list. | |
size_t | GetExternalReferenceCount () const |
Retrieves the number of external references that references entities contained within the referenced FCollada document. | |
const FCDEntityReference * | GetExternalReference (size_t index) const |
Retrieves an indexed external reference. | |
Protected Member Functions | |
void | OnObjectReleased (FUTrackable *object) |
[INTERNAL] Callback for the manual release of a loaded referenced FCollada document. |
This class is used to correctly support deferred external references. It contains the information necessary to find and open referenced FCollada documents and (re-)bind entity instances that use entities within the referenced FCollada document.
|
Constructor.
|
|
[INTERNAL] Registers an entity reference into out document. This external reference will be updated as the referenced FCollada document is loaded and unloaded.
|
|
Retrieves an indexed external reference.
|
|
Retrieves the number of external references that references entities contained within the referenced FCollada document.
|
|
Retrieves the URL of the referenced FCollada document.
|
|
Retrieves the referenced FCollada document.
|
|
Retrieves the referenced FCollada document.
|
|
Retrieves whether the FCollada document referenced by this placeholder is currently loaded and available.
|
|
[INTERNAL] Loads the referenced FCollada document.
|
|
[INTERNAL] Callback for the manual release of a loaded referenced FCollada document.
Implements FUTracker. |
|
[INTERNAL] Removes an external reference from this placeholder's management list.
|
|
Sets the URL of the referenced FCollada document.
|