diff options
author | Tom Rondeau <trondeau@vt.edu> | 2012-10-31 11:04:49 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2012-10-31 11:04:49 -0400 |
commit | 0353e0b56734c62884c7fd6d3634a28bafbae74f (patch) | |
tree | 3bcbf7718c0d898938b5e143a4f55dc410a6f626 /gr-analog/include/analog/sig_source_waveform.h | |
parent | c8b0062aeb430e9e8655014a430e5a8899278881 (diff) |
analog: adding sig_source to gr-analog with QA and GRC.
Diffstat (limited to 'gr-analog/include/analog/sig_source_waveform.h')
-rw-r--r-- | gr-analog/include/analog/sig_source_waveform.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gr-analog/include/analog/sig_source_waveform.h b/gr-analog/include/analog/sig_source_waveform.h new file mode 100644 index 0000000000..3a9edb8f37 --- /dev/null +++ b/gr-analog/include/analog/sig_source_waveform.h @@ -0,0 +1,41 @@ +/* -*- c++ -*- */ +/* + * Copyright 2004,2012 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with GNU Radio; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 51 Franklin Street, + * Boston, MA 02110-1301, USA. + */ + +#ifndef INCLUDED_ANALOG_SIG_SOURCE_WAVEFORM_H +#define INCLUDED_ANALOG_SIG_SOURCE_WAVEFORM_H + +namespace gr { + namespace analog { + + typedef enum { + GR_CONST_WAVE = 100, + GR_SIN_WAVE, + GR_COS_WAVE, + GR_SQR_WAVE, + GR_TRI_WAVE, + GR_SAW_WAVE + } gr_waveform_t; + + } /* namespace analog */ +} /* namespace gr */ + +#endif /* INCLUDED_ANALOG_SIG_SOURCE_WAVEFORM_H */ |