|
CriWare Unreal Engine
Plug-ins for CriWare solutions.
|
#include <AtomMixerClock.h>
公開メンバ関数 | |
| FQuartzClockProxy () | |
| FQuartzClockProxy (const FName &Name) | |
| CRI_API | FQuartzClockProxy (TSharedPtr< FQuartzClock, ESPMode::ThreadSafe > InClock) |
| CRI_API bool | DoesClockExist () const |
| CRI_API float | GetBeatProgressPercent (const EQuartzCommandQuantization &QuantizationType) const |
| FName | GetClockName () const |
| CRI_API FQuartzTransportTimeStamp | GetCurrentClockTimestamp () const |
| CRI_API float | GetDurationOfQuantizationTypeInSeconds (const EQuartzCommandQuantization &QuantizationType, float Multiplier) const |
| CRI_API float | GetEstimatedClockRunTimeSeconds () const |
| CRI_API Audio::FQuartzClockTickRate | GetTickRate () const |
| CRI_API bool | IsClockRunning () const |
| CRI_API bool | IsValid () const |
| operator bool () const | |
| operator const FName & () const | |
| bool | operator== (const FName &Name) const |
| CRI_API bool | SendCommandToClock (TFunction< void(FQuartzClock *)> InCommand) |
限定公開変数類 | |
| TWeakPtr< FQuartzClock, ESPMode::ThreadSafe > | ClockWeakPtr |
非公開変数類 | |
| FName | ClockId |
| FQuartzClockCommandQueueWeakPtr | SharedQueue |
This class is a C++ handle to the underlying clock. It is mostly a wrapper around a TWeakPtr<FQuartzClock> and FQuartzClockCommandQueueType The getters query the underlying FQuartzClock directly, which returns values updated during the last audio-engine tick If you need to add more getters, add copies of the members in question to FQuartzClock::FQuartzClockState and update FQuartzClock::UpdateCachedState() for thread-safe access (or manually protect access w/ CachedClockStateCritSec) SendCommandToClock() can be used to execute lambdas at the beginning of the next clock tick. These lambdas can call FQuartzClock's public methods safely. Your lambda will take an FQuartzClock* as an argument, which will be passed in by the FQuartzClock itself when it pumps the command queue.
|
inline |
|
inline |
| Atom::FQuartzClockProxy::FQuartzClockProxy | ( | TSharedPtr< FQuartzClock, ESPMode::ThreadSafe > | InClock | ) |
| bool Atom::FQuartzClockProxy::DoesClockExist | ( | ) | const |
| float Atom::FQuartzClockProxy::GetBeatProgressPercent | ( | const EQuartzCommandQuantization & | QuantizationType | ) | const |
|
inline |
| FQuartzTransportTimeStamp Atom::FQuartzClockProxy::GetCurrentClockTimestamp | ( | ) | const |
| float Atom::FQuartzClockProxy::GetDurationOfQuantizationTypeInSeconds | ( | const EQuartzCommandQuantization & | QuantizationType, |
| float | Multiplier ) const |
| float Atom::FQuartzClockProxy::GetEstimatedClockRunTimeSeconds | ( | ) | const |
| Audio::FQuartzClockTickRate Atom::FQuartzClockProxy::GetTickRate | ( | ) | const |
| bool Atom::FQuartzClockProxy::IsClockRunning | ( | ) | const |
| bool Atom::FQuartzClockProxy::IsValid | ( | ) | const |
|
inline |
|
inline |
|
inline |
| bool Atom::FQuartzClockProxy::SendCommandToClock | ( | TFunction< void(FQuartzClock *)> | InCommand | ) |
|
private |
|
protected |
|
private |