Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Synced1 Class Reference

Normalized unit synchronization observer. More...

#include <Sync.h>

Inheritance diagram for Synced1:
SineD< Tv, Synced1 > SineR< Tv, Synced1 >

List of all members.

Public Member Functions

double spu () const
 Returns local samples/unit.
double ups () const
 Returns local units/sample.
virtual void onResync (double ratioSPU)
 Notification that subject's samples/unit has changed.
void spu (double val)
 Set local samples/unit.
void ups (double val)
 Set local units/sample.

Detailed Description

Normalized unit synchronization observer.


Member Function Documentation

virtual void onResync ( double  ratioSPU) [virtual]

Notification that subject's samples/unit has changed.

Any instance state that depends on the samples/unit ratio should be updated here. The ratio of the new to the old samples/unit is passed in.


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