wave.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Gav Wood                                        *
00003  *   gav@cs.york.ac.uk                                                     *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU Library General Public License as       *
00007  *   published by the Free Software Foundation; either version 2 of the    *
00008  *   License, or (at your option) any later version.                       *
00009  ***************************************************************************/
00010 #ifndef _SIGNALTYPES_WAVE_H
00011 #define _SIGNALTYPES_WAVE_H
00012 
00013 #ifdef __GEDDEI_BUILD
00014 #include "signaltype.h"
00015 #else
00016 #include <geddei/signaltype.h>
00017 #endif
00018 using namespace Geddei;
00019 
00020 namespace SignalTypes
00021 {
00022 
00031 class Wave: public SignalType
00032 {
00033  virtual const uint id() const { return 1; }
00034  virtual SignalType *copyBE() const { return new Wave(theFrequency); }
00035 
00036 public:
00045  Wave(const float frequency = 0) : SignalType(1, frequency) {}
00046 };
00047 
00048 };
00049 
00050 #endif

Generated on Thu Jul 13 06:56:33 2006 for Exscalibar by  doxygen 1.4.7