pcspace.hh

Go to the documentation of this file.
00001 /*************************************************************************
00002 
00003 Copyright Rice University, 2004, 2005, 2006
00004 All rights reserved.
00005 
00006 Permission is hereby granted, free of charge, to any person obtaining a
00007 copy of this software and associated documentation files (the "Software"),
00008 to deal in the Software without restriction, including without limitation
00009 the rights to use, copy, modify, merge, publish, distribute, and/or sell
00010 copies of the Software, and to permit persons to whom the Software is
00011 furnished to do so, provided that the above copyright notice(s) and this
00012 permission notice appear in all copies of the Software and that both the
00013 above copyright notice(s) and this permission notice appear in supporting
00014 documentation.
00015 
00016 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
00017 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00018 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY
00019 RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
00020 NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
00021 DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
00022 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
00023 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
00024 THIS SOFTWARE.
00025 
00026 Except as contained in this notice, the name of a copyright holder shall
00027 not be used in advertising or otherwise to promote the sale, use or other
00028 dealings in this Software without prior written authorization of the
00029 copyright holder.
00030 
00031 **************************************************************************/
00032 
00033 #ifndef __RVL_PC_SP
00034 #define __RVL_PC_SP
00035 
00036 #include "contentpackage.hh"
00037 #include "space.hh"
00038 #include "locallinalg.hh"
00039 
00040 namespace RVL {
00041 
00050   template<typename DataType, typename MetaType>
00051   class PackageContainerSpace: public StdSpace<DataType> {
00052 
00053   private:
00054   
00055     RVLLinearAlgebraPackage<float> lin;
00056 
00057   public:
00058 
00059     PackageContainerSpace() {}
00060     PackageContainerSpace(const PackageContainerSpace &) {}
00061     virtual ~PackageContainerSpace() {}
00062 
00064     virtual PackageContainerFactory<DataType,MetaType> 
00065     const & getPCF() const = 0;
00066     DataContainerFactory const & getDCF() const { return getPCF(); }
00067 
00068   };
00069 
00070 }
00071 
00072 #endif

Generated on 5 Jan 2017 for LocalRVL by  doxygen 1.4.7