28 lines
863 B
C++
28 lines
863 B
C++
|
|
#include "FrameLib_Once.h"
|
|
|
|
// Info
|
|
|
|
std::string FrameLib_Once::objectInfo(bool verbose)
|
|
{
|
|
return formatInfo("Schedules one frame at the begining of time, lasting forever: The output is an empty frame.",
|
|
"Schedules one frame at the begining of time, lasting forever.", verbose);
|
|
}
|
|
|
|
std::string FrameLib_Once::inputInfo(unsigned long idx, bool verbose)
|
|
{
|
|
return formatInfo("Synchronisation Input - input is ignored, but can be used for synchronisation purposes", "Synchronisation Input", verbose);
|
|
}
|
|
|
|
std::string FrameLib_Once::outputInfo(unsigned long idx, bool verbose)
|
|
{
|
|
return "Empty Trigger Frames";
|
|
}
|
|
|
|
// Schedule
|
|
|
|
FrameLib_Once::SchedulerInfo FrameLib_Once::schedule(bool newFrame, bool noAdvance)
|
|
{
|
|
return SchedulerInfo(FrameLib_TimeFormat::largest() - getValidTime(), getValidTime() == FrameLib_TimeFormat(1), true);
|
|
}
|