~ubuntu-branches/ubuntu/trusty/gnuradio/trusty-updates

« back to all changes in this revision

Viewing changes to gnuradio-core/src/lib/general/gr_kludge_copy.h

  • Committer: Package Import Robot
  • Author(s): A. Maitland Bottoms
  • Date: 2012-02-26 21:26:16 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120226212616-vsfkbi1158xshdql
Tags: 3.5.1-1
* new upstream version, re-packaged from scratch with modern tools
    closes: #642716, #645332, #394849, #616832, #590048, #642580,
    #647018, #557050, #559640, #631863
* CMake build

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef INCLUDED_GR_KLUDGE_COPY_H
24
24
#define INCLUDED_GR_KLUDGE_COPY_H
25
25
 
 
26
#include <gr_core_api.h>
26
27
#include <gr_sync_block.h>
27
28
 
28
29
class gr_kludge_copy;
29
30
typedef boost::shared_ptr<gr_kludge_copy> gr_kludge_copy_sptr;
30
31
 
31
 
gr_kludge_copy_sptr gr_make_kludge_copy(size_t itemsize);
 
32
GR_CORE_API gr_kludge_copy_sptr gr_make_kludge_copy(size_t itemsize);
32
33
 
33
34
/*!
34
35
 * \brief output[i] = input[i]
36
37
 *
37
38
 * This is a short term kludge to work around a problem with the hierarchical block impl.
38
39
 */
39
 
class gr_kludge_copy : public gr_sync_block
 
40
class GR_CORE_API gr_kludge_copy : public gr_sync_block
40
41
{
41
42
  size_t                d_itemsize;
42
43
 
43
 
  friend gr_kludge_copy_sptr gr_make_kludge_copy(size_t itemsize);
 
44
  friend GR_CORE_API gr_kludge_copy_sptr gr_make_kludge_copy(size_t itemsize);
44
45
  gr_kludge_copy(size_t itemsize);
45
46
 
46
47
 public: