Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
TimingSegment Struct Referenceabstract

The base timing segment for make glorious benefit wolfman XXX: this should be an abstract class. More...

#include <TimingSegments.h>

Inheritance diagram for TimingSegment:
Inheritance graph
[legend]

Public Member Functions

virtual auto GetType () const -> TimingSegmentType
 
virtual auto GetEffectType () const -> SegmentEffectType
 
virtual auto Copy () const -> TimingSegment *=0
 
virtual auto IsNotable () const -> bool=0
 
virtual void DebugPrint () const
 
 TimingSegment (int iRow=ROW_INVALID)
 
 TimingSegment (float fBeat)
 
 TimingSegment (const TimingSegment &other)
 
virtual void Scale (int start, int length, int newLength)
 Scales itself.
 
auto GetRow () const -> int
 
void SetRow (int iRow)
 
auto GetBeat () const -> float
 
void SetBeat (float fBeat)
 
virtual auto ToString (int) const -> std::string
 
virtual auto GetValues () const -> std::vector< float >
 
auto operator< (const TimingSegment &other) const -> bool
 
virtual auto operator== (const TimingSegment &other) const -> bool
 
virtual auto operator!= (const TimingSegment &other) const -> bool
 

Static Public Attributes

static const double EPSILON = 1e-6
 

Detailed Description

The base timing segment for make glorious benefit wolfman XXX: this should be an abstract class.

Member Function Documentation

◆ Scale()

void TimingSegment::Scale ( int  start,
int  length,
int  newLength 
)
virtual

Scales itself.

Parameters
startStarting row
lengthLength in rows
newLengthThe new length in rows

Reimplemented in FakeSegment, WarpSegment, and SpeedSegment.


The documentation for this struct was generated from the following files: