Om
1.0.0
A universal framework for multimedia simulation
|
#include <omSoundObjectEditor.h>
Public Member Functions | |
virtual const ResourceType & | getResourceType () const |
Return the resource type that this editor is able to edit. More... | |
virtual UTF8String | getResourceTypeDisplayName () const |
Return the display name that is used for this factory's resource type. More... | |
virtual ResourceCategory | getResourceTypeCategory () const |
Return the category of resource type this type belongs to. More... | |
virtual GUIImage | getResourceTypeIcon (const Vector2f &size) const |
Return an image that represents the icon for the resource type. More... | |
virtual OpaqueResource | newResource (Index subTypeIndex, ResourceSet &resourceSet) const |
Create a new default instance of this resource type in the resource set and return a pointer to the resource. More... | |
virtual Shared< ResourceTypeEditor > | newEditor (const OpaqueResource &resource, const EditorServices &services) const |
Create a new editor for a resource of this factory's resource type. More... | |
Public Member Functions inherited from om::editors::base::ResourceTypeEditorFactory | |
virtual | ~ResourceTypeEditorFactory () |
Destroy the resource type editor factory. More... | |
virtual EditorTypeFlags | getResourceTypeFlags () const |
Return an object containing boolean flags for this resource type. More... | |
virtual Size | getResourceSubTypeCount () const |
Return the number of subtypes there are for this type editor factory. More... | |
virtual ResourceSubType | getResourceSubType (Index subTypeIndex) const |
Return the name of the subtype with the specified index. More... | |
virtual ResourceSubType | getResourceSubType (const OpaqueResource &resource) const |
Return the index of the subtype for the given resource. More... | |
virtual Bool | getResourceSubTypeIndex (const ResourceSubType &subType, Index &subTypeIndex) const |
Get the index of the specified subtype. More... | |
virtual UTF8String | getResourceSubTypeDisplayName (Index subTypeIndex) const |
Return the display name of the subtype with the specified index. More... | |
virtual GUIImage | getResourceSubTypeIcon (Index subTypeIndex, const Vector2f &size) const |
Return an image that represents the icon for the resource sub type with the specified index. More... | |
virtual GUIImage | getResourceIcon (const OpaqueResource &resource, const Vector2f &size) const |
Return an image that represents the icon for the specified resource. More... | |
virtual OpaqueResource | newResource (const ResourceSubType &subType, ResourceSet &resourceSet) const |
Create a new default instance of this resource type in the resource set and return a pointer to the resource. More... | |
virtual Shared< SpatialObject > | getSpatialObject (const OpaqueResource &resource, const EditorServices &services) const |
Construct and return a pointer to the spatial representation of the specified resource object of this type. More... | |
|
virtual |
Return the resource type that this editor is able to edit.
Implements om::editors::base::ResourceTypeEditorFactory.
|
virtual |
Return the display name that is used for this factory's resource type.
Reimplemented from om::editors::base::ResourceTypeEditorFactory.
|
virtual |
Return the category of resource type this type belongs to.
Reimplemented from om::editors::base::ResourceTypeEditorFactory.
|
virtual |
Return an image that represents the icon for the resource type.
Reimplemented from om::editors::base::ResourceTypeEditorFactory.
|
virtual |
Create a new default instance of this resource type in the resource set and return a pointer to the resource.
Implements om::editors::base::ResourceTypeEditorFactory.
|
virtual |
Create a new editor for a resource of this factory's resource type.
If an editor is not able to be created for the resource, a NULL pointer is returned.
Reimplemented from om::editors::base::ResourceTypeEditorFactory.