Beatmup
|
Pointer to a Fragment. More...
#include <fragment.h>
Public Member Functions | |
void | operator= (const FragmentPtr &) |
FragmentPtr () | |
Initialize to null. More... | |
FragmentPtr (Fragment &fragment, int offset, int length) | |
FragmentPtr (const FragmentPtr &) | |
FragmentPtr (FragmentPtr &&) | |
~FragmentPtr () | |
void | editData () |
bool | isNull () const |
void | nullify () |
Public Attributes | |
Fragment * | fragment |
int | offset |
offset in samples inside the fragment since its beginning More... | |
int | length |
number of samples to use from the fragment More... | |
Pointer to a Fragment.
Handles reference counting of the pointer Fragment.
Definition at line 67 of file fragment.h.
FragmentPtr::FragmentPtr | ( | ) |
Initialize to null.
Definition at line 71 of file fragment.cpp.
FragmentPtr::FragmentPtr | ( | Fragment & | fragment, |
int | offset, | ||
int | length | ||
) |
Definition at line 78 of file fragment.cpp.
FragmentPtr::FragmentPtr | ( | const FragmentPtr & | src | ) |
Definition at line 85 of file fragment.cpp.
FragmentPtr::FragmentPtr | ( | FragmentPtr && | src | ) |
FragmentPtr::~FragmentPtr | ( | ) |
Definition at line 108 of file fragment.cpp.
void FragmentPtr::operator= | ( | const FragmentPtr & | src | ) |
Definition at line 58 of file fragment.cpp.
void FragmentPtr::editData | ( | ) |
Definition at line 114 of file fragment.cpp.
|
inline |
Definition at line 85 of file fragment.h.
void FragmentPtr::nullify | ( | ) |
Fragment* Beatmup::Fragments::FragmentPtr::fragment |
Definition at line 69 of file fragment.h.
int Beatmup::Fragments::FragmentPtr::offset |
offset in samples inside the fragment since its beginning
Definition at line 70 of file fragment.h.
int Beatmup::Fragments::FragmentPtr::length |
number of samples to use from the fragment
Definition at line 71 of file fragment.h.