Sha256: 3761bd4a272e293641ef100d42bffa82cb505ce7d8cef9e311d3e0f7d95ef857

Contents?: true

Size: 1.34 KB

Versions: 17

Compression:

Stored size: 1.34 KB

Contents

// -*- c++ -*-
#pragma once
#ifndef __BEEPS_RUBY_PROCESSOR_H__
#define __BEEPS_RUBY_PROCESSOR_H__


#include <rucy/rucy.h>
#include <rucy/class.h>
#include <rucy/extension.h>
#include <rucy/exception.h>
#include <beeps/processor.h>


namespace Beeps
{


	Rucy::Class processor_class ();
	// class Beeps::Processor

	Rucy::Class sine_wave_class ();
	// class Beeps::SineWave

	Rucy::Class square_wave_class ();
	// class Beeps::SineWave

	Rucy::Class sawtooth_wave_class ();
	// class Beeps::SawtoothWave

	Rucy::Class file_in_class ();
	// class Beeps::FileIn


}// Beeps


RUCY_DECLARE_VALUE_FROM_TO(Beeps::Processor)

RUCY_DECLARE_VALUE_FROM_TO(Beeps::SineWave)

RUCY_DECLARE_VALUE_FROM_TO(Beeps::SquareWave)

RUCY_DECLARE_VALUE_FROM_TO(Beeps::SawtoothWave)

RUCY_DECLARE_VALUE_FROM_TO(Beeps::FileIn)


namespace Rucy
{


	template <> inline Class
	get_ruby_class<Beeps::Processor> ()
	{
		return Beeps::processor_class();
	}

	template <> inline Class
	get_ruby_class<Beeps::SineWave> ()
	{
		return Beeps::sine_wave_class();
	}

	template <> inline Class
	get_ruby_class<Beeps::SquareWave> ()
	{
		return Beeps::square_wave_class();
	}

	template <> inline Class
	get_ruby_class<Beeps::SawtoothWave> ()
	{
		return Beeps::sawtooth_wave_class();
	}

	template <> inline Class
	get_ruby_class<Beeps::FileIn> ()
	{
		return Beeps::file_in_class();
	}


}// Rucy


#endif//EOH

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
beeps-0.1.28 include/beeps/ruby/processor.h
beeps-0.1.27 include/beeps/ruby/processor.h
beeps-0.1.26 include/beeps/ruby/processor.h
beeps-0.1.25 include/beeps/ruby/processor.h
beeps-0.1.24 include/beeps/ruby/processor.h
beeps-0.1.23 include/beeps/ruby/processor.h
beeps-0.1.22 include/beeps/ruby/processor.h
beeps-0.1.21 include/beeps/ruby/processor.h
beeps-0.1.20 include/beeps/ruby/processor.h
beeps-0.1.18 include/beeps/ruby/processor.h
beeps-0.1.16 include/beeps/ruby/processor.h
beeps-0.1.15 include/beeps/ruby/processor.h
beeps-0.1.14 include/beeps/ruby/processor.h
beeps-0.1.13 include/beeps/ruby/processor.h
beeps-0.1.12 include/beeps/ruby/processor.h
beeps-0.1.11 include/beeps/ruby/processor.h
beeps-0.1.10 include/beeps/ruby/processor.h