#include <sequenceaudiotrackview.h>
Public Member Functions | |
| AudioSegmentClipboard (const rttr::type &type, std::string sequenceName) | |
| const std::string & | getSequenceName () const |
Public Member Functions inherited from Clipboard | |
| Clipboard (const rttr::type &trackType) | |
| virtual | ~Clipboard ()=default |
| void | addObject (const rtti::Object *object, const std::string &sequenceName, utility::ErrorState &errorState) |
| void | addObject (const rtti::Object *object, utility::ErrorState &errorState) |
| template<typename T > | |
| std::vector< T * > | deserialize (std::vector< std::unique_ptr< rtti::Object >> &createdObjects, utility::ErrorState &errorState) |
| template<typename T > | |
| bool | isClipboard () |
| template<typename T > | |
| T * | getDerived () |
| std::vector< std::string > | getObjectIDs () const |
| bool | containsObject (const std::string &objectID, const std::string &sequenceName) const |
| void | removeObject (const std::string &objectID) |
| int | getObjectCount () const |
| rttr::type | getTrackType () const |
| bool | save (const std::string &filePath, utility::ErrorState &errorState) |
| bool | load (const std::string &filePath, utility::ErrorState &errorState) |
Additional Inherited Members | |
Protected Attributes inherited from Clipboard | |
| std::map< std::string, std::string > | mSerializedObjects |
| rttr::type | mTrackType |
| std::string | mSequenceName |
An AudioSegmentClipboard can contain multiple serialized audio track segments
| AudioSegmentClipboard | ( | const rttr::type & | type, |
| std::string | sequenceName | ||
| ) |
Constructor
| type | the segment type, must be of SequenceTrackSegmentAudio |
| sequenceName | the sequence name |
| const std::string& getSequenceName | ( | ) | const |
returns sequence name that contains serialized segments