[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r3770 - gnuradio/branches/developers/jcorgan/cppwrap/g
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r3770 - gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native |
Date: |
Tue, 10 Oct 2006 17:17:36 -0600 (MDT) |
Author: jcorgan
Date: 2006-10-10 17:17:36 -0600 (Tue, 10 Oct 2006)
New Revision: 3770
Added:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.cc
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.h
Modified:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/Makefile.am
Log:
Added dummy gr_scheduler class. Right now this is here for ease of
compilation but will go into gnuradio-core/src/lib/runtime when done.
Modified:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/Makefile.am
===================================================================
---
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/Makefile.am
2006-10-10 22:33:17 UTC (rev 3769)
+++
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/Makefile.am
2006-10-10 23:17:36 UTC (rev 3770)
@@ -28,7 +28,8 @@
dialtone_SOURCES = \
dialtone.cc \
- gr_flow_graph.cc
+ gr_flow_graph.cc \
+ gr_scheduler.cc
dialtone_LDADD = $(GNURADIO_CORE_LIBS) \
$(top_builddir)/gr-audio-alsa/src/libgr_audio_alsa.la
Added:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.cc
===================================================================
---
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.cc
(rev 0)
+++
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.cc
2006-10-10 23:17:36 UTC (rev 3770)
@@ -0,0 +1,38 @@
+/*
+ * Copyright 2006 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 2, 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.
+ */
+
+#include <gr_scheduler.h>
+#include <gr_flow_graph.h>
+
+gr_scheduler_sptr gr_make_scheduler(gr_flow_graph_sptr fg)
+{
+ return gr_scheduler_sptr(new gr_scheduler(fg));
+}
+
+gr_scheduler::gr_scheduler(gr_flow_graph_sptr fg) :
+ d_fg(fg)
+{
+}
+
+gr_scheduler::~gr_scheduler()
+{
+ // NOP
+}
Property changes on:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.cc
___________________________________________________________________
Name: svn:eol-style
+ native
Added:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.h
===================================================================
---
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.h
(rev 0)
+++
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.h
2006-10-10 23:17:36 UTC (rev 3770)
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2006 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 2, 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_GR_SCHEDULER_H
+#define INCLUDED_GR_SCHEDULER_H
+
+#include <boost/shared_ptr.hpp>
+
+class gr_scheduler;
+typedef boost::shared_ptr<gr_scheduler> gr_scheduler_sptr;
+
+// Dupe to gr_flow_graph.h but we don't want to include it here
+class gr_flow_graph;
+typedef boost::shared_ptr<gr_flow_graph> gr_flow_graph_sptr;
+
+gr_scheduler_sptr gr_make_scheduler(gr_flow_graph_sptr fg);
+
+class gr_scheduler
+{
+private:
+ gr_flow_graph_sptr d_fg;
+
+ gr_scheduler(gr_flow_graph_sptr fg);
+ friend gr_scheduler_sptr gr_make_scheduler(gr_flow_graph_sptr fg);
+
+public:
+ ~gr_scheduler();
+};
+
+#endif /* INCLUDED_GR_SCHEDULER_H */
+
+
Property changes on:
gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native/gr_scheduler.h
___________________________________________________________________
Name: svn:eol-style
+ native
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r3770 - gnuradio/branches/developers/jcorgan/cppwrap/gnuradio-examples/native,
jcorgan <=