channel.cpp 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright 2016 RWS Inc, All Rights Reserved
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of version 2 of the GNU General Public License as published by
  7. // the Free Software Foundation
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License along
  15. // with this program; if not, write to the Free Software Foundation, Inc.,
  16. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. //
  18. ////////////////////////////////////////////////////////////////////////////////
  19. //
  20. // channel.cpp
  21. // Project: RSPiX
  22. //
  23. // This module impliments the channel-related classes.
  24. //
  25. // History:
  26. // 02/01/97 MJR Started.
  27. //
  28. // 06/27/97 JMI #if 0'ed out RChannelSet which does not specify the
  29. // template arguments to its base class RChannel.
  30. //
  31. // 07/13/97 MJR Moved RChannelSet stuff out to a separate file that isn't
  32. // even part of RSPiX yet.
  33. // Moved a bunch of stuff from channel.h into here.
  34. //
  35. ////////////////////////////////////////////////////////////////////////////////
  36. #include "channel.h"
  37. // Usefull test code to make sure it will really compile. If templated stuff
  38. // isn't actually instantiated, the compiler will miss many (or all) errors.
  39. RChannel<short> test;
  40. RChannel<long> test2(RChannel_ArrayOfPtrs);
  41. ////////////////////////////////////////////////////////////////////////////////
  42. // EOF
  43. ////////////////////////////////////////////////////////////////////////////////