#include <KeyC.h>
Inheritance diagram for KeyC:
Public Methods | |
virtual Edit::DataBlockI * | create () |
Create new key with zero no channels. | |
virtual Edit::DataBlockI * | create (Edit::EditableI *pOriginal) |
Creates new file handle (used internally), see Edit::EditableI::create(). | |
virtual void | copy (Edit::EditableI *pEditable) |
Deep copy from a data block, see Edit::DataBlockI::copy(). | |
virtual void | restore (Edit::EditableI *pEditable) |
Shallow copy from a editable, see Edit::EditableI::restore(). | |
virtual PajaTypes::int32 | get_time () |
Returns the time of the key. | |
virtual void | set_time (PajaTypes::int32 i32Time) |
Sets the time of the key. | |
virtual void | set_flags (PajaTypes::int32 i32Flags) |
Sets the effect flags. | |
virtual void | add_flags (PajaTypes::int32 i32Flags) |
Sets only specified flags. | |
virtual void | del_flags (PajaTypes::int32 i32Flags) |
Removes only specified flags. | |
virtual void | toggle_flags (PajaTypes::int32 i32Flags) |
Toggles only specified flags. | |
virtual PajaTypes::int32 | get_flags () |
Returns key flags. | |
virtual PajaTypes::uint32 | save (FileIO::SaveC *pSave) |
Serialize the key to a Demopaja output stream. | |
virtual PajaTypes::uint32 | load (FileIO::LoadC *pLoad) |
Serialize the key from a Demopaja input stream. | |
Static Public Methods | |
KeyC * | create_new () |
Create new key with zero no channels. | |
Protected Methods | |
KeyC () | |
Default constructor. | |
KeyC (PajaTypes::int32 i32Time) | |
Creates new key and assign it the specified time. | |
KeyC (Edit::EditableI *pOriginal) | |
Constructor with reference to the original. | |
virtual | ~KeyC () |
Default destructor. | |
Protected Attributes | |
PajaTypes::int32 | m_i32Flags |
PajaTypes::int32 | m_i32Time |
Key class defines the keys used in controllers. There are two type of keys: Float keys and file keys. The KeyC class is used in cases where only the time value is used.
Use key flags to indentity the different key types.
This class is implemented by the system.
|
Default constructor.
|
|
Creates new key and assign it the specified time.
|
|
Constructor with reference to the original.
|
|
Default destructor.
|
|
Sets only specified flags.
|
|
Deep copy from a data block, see Edit::DataBlockI::copy().
Implements EditableI. |
|
Creates new file handle (used internally), see Edit::EditableI::create().
Implements EditableI. |
|
Create new key with zero no channels.
Implements EditableI. |
|
Create new key with zero no channels.
|
|
Removes only specified flags.
|
|
Returns key flags.
|
|
Returns the time of the key.
|
|
Serialize the key from a Demopaja input stream.
Implements EditableI. |
|
Shallow copy from a editable, see Edit::EditableI::restore().
Implements EditableI. |
|
Serialize the key to a Demopaja output stream.
Implements EditableI. |
|
Sets the effect flags. Be careful to use this method. There are some flags, which have to be in place to make the key work correctly. Use add, del or toggle flags methods instead. |
|
Sets the time of the key.
|
|
Toggles only specified flags.
|