Marsyas  0.5.0-beta1
Public Member Functions
StrobeList Class Reference

#include <StrobeList.h>

Public Member Functions

void AddStrobe (int time, double weight)
 Add a strobe to the list (must be in order)
void DeleteFirstStrobe ()
 Delete a strobe from the list.
void printStrobes ()
void SetWeight (std::size_t strobe_number, double weight)
 Set the strobe weight.
void SetWorkingWeight (std::size_t strobe_number, double working_weight)
 Set the strobe's working weight.
void ShiftStrobes (int offset)
 Shift the position of all strobes by subtracting offset from the time value of each.
StrobePoint Strobe (std::size_t strobe_number)
 Return the strobe time (in samples, can be negative)
std::size_t strobe_count () const
 Get the number of strobes.
 StrobeList ()
 Create a new strobe list.
 ~StrobeList ()

Detailed Description

Definition at line 50 of file StrobeList.h.


Constructor & Destructor Documentation

StrobeList ( ) [inline]

Create a new strobe list.

Definition at line 54 of file StrobeList.h.

~StrobeList ( ) [inline]

Definition at line 58 of file StrobeList.h.


Member Function Documentation

void AddStrobe ( int  time,
double  weight 
) [inline]

Add a strobe to the list (must be in order)

Definition at line 81 of file StrobeList.h.

void DeleteFirstStrobe ( ) [inline]

Delete a strobe from the list.

Definition at line 90 of file StrobeList.h.

void printStrobes ( ) [inline]

Definition at line 108 of file StrobeList.h.

void SetWeight ( std::size_t  strobe_number,
double  weight 
) [inline]

Set the strobe weight.

Definition at line 69 of file StrobeList.h.

void SetWorkingWeight ( std::size_t  strobe_number,
double  working_weight 
) [inline]

Set the strobe's working weight.

Definition at line 75 of file StrobeList.h.

void ShiftStrobes ( int  offset) [inline]

Shift the position of all strobes by subtracting offset from the time value of each.

Definition at line 103 of file StrobeList.h.

StrobePoint Strobe ( std::size_t  strobe_number) [inline]

Return the strobe time (in samples, can be negative)

Definition at line 63 of file StrobeList.h.

std::size_t strobe_count ( ) const [inline]

Get the number of strobes.

Definition at line 96 of file StrobeList.h.


The documentation for this class was generated from the following file: