[Liblas-commits] hg-main-tree: start of pipeline creation support
liblas-commits at liblas.org
liblas-commits at liblas.org
Fri Jun 24 12:03:43 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/7e8d40e09223
changeset: 807:7e8d40e09223
user: Michael P. Gerlek <mpg at flaxen.com>
date: Fri Jun 24 09:02:06 2011 -0700
description:
start of pipeline creation support
diffstat:
include/pdal/PipelineManager.hpp | 56 +++++++++++++++++++++++++++++++++++++++
src/CMakeLists.txt | 8 +++--
src/PipelineManager.cpp | 41 ++++++++++++++++++++++++++++
test/unit/CMakeLists.txt | 1 +
test/unit/PipelineManagerTest.cpp | 49 ++++++++++++++++++++++++++++++++++
5 files changed, 152 insertions(+), 3 deletions(-)
diffs (211 lines):
diff -r 97df63460e54 -r 7e8d40e09223 include/pdal/PipelineManager.hpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/include/pdal/PipelineManager.hpp Fri Jun 24 09:02:06 2011 -0700
@@ -0,0 +1,56 @@
+/******************************************************************************
+* Copyright (c) 2011, Michael P. Gerlek (mpg at flaxen.com)
+*
+* All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following
+* conditions are met:
+*
+* * Redistributions of source code must retain the above copyright
+* notice, this list of conditions and the following disclaimer.
+* * Redistributions in binary form must reproduce the above copyright
+* notice, this list of conditions and the following disclaimer in
+* the documentation and/or other materials provided
+* with the distribution.
+* * Neither the name of Hobu, Inc. or Flaxen Geo Consulting nor the
+* names of its contributors may be used to endorse or promote
+* products derived from this software without specific prior
+* written permission.
+*
+* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+* OF SUCH DAMAGE.
+****************************************************************************/
+
+#ifndef INCLUDED_PIPELINEMANAGER_HPP
+#define INCLUDED_PIPELINEMANAGER_HPP
+
+#include <pdal/pdal.hpp>
+
+#include <string>
+
+namespace pdal
+{
+
+class PDAL_DLL PipelineManager
+{
+public:
+
+private:
+ PipelineManager& operator=(const PipelineManager&); // not implemented
+ PipelineManager(const PipelineManager&); // not implemented
+};
+
+} // namespace pdal
+
+#endif
diff -r 97df63460e54 -r 7e8d40e09223 src/CMakeLists.txt
--- a/src/CMakeLists.txt Thu Jun 23 08:21:50 2011 -0500
+++ b/src/CMakeLists.txt Fri Jun 24 09:02:06 2011 -0700
@@ -33,8 +33,8 @@
${PDAL_HEADERS_DIR}/FilterIterator.hpp
${PDAL_HEADERS_DIR}/Iterator.hpp
${PDAL_HEADERS_DIR}/MetadataRecord.hpp
- ${PDAL_HEADERS_DIR}/Vector.hpp
${PDAL_HEADERS_DIR}/Options.hpp
+ ${PDAL_HEADERS_DIR}/PipelineManager.hpp
${PDAL_HEADERS_DIR}/PointBuffer.hpp
${PDAL_HEADERS_DIR}/PointBufferCache.hpp
${PDAL_HEADERS_DIR}/Range.hpp
@@ -44,6 +44,7 @@
${PDAL_HEADERS_DIR}/SpatialReference.hpp
${PDAL_HEADERS_DIR}/Stage.hpp
${PDAL_HEADERS_DIR}/Utils.hpp
+ ${PDAL_HEADERS_DIR}/Vector.hpp
${PDAL_HEADERS_DIR}/Writer.hpp
${PDAL_HEADERS_DIR}/XMLSchema.hpp
)
@@ -61,10 +62,10 @@
FilterIterator.cpp
Iterator.cpp
MetadataRecord.cpp
- Vector.cpp
+ Options.cpp
+ PipelineManager.cpp
PointBuffer.cpp
PointBufferCache.cpp
- Options.cpp
Range.cpp
Schema.cpp
SchemaLayout.cpp
@@ -72,6 +73,7 @@
SpatialReference.cpp
Stage.cpp
Utils.cpp
+ Vector.cpp
Writer.cpp
${PDAL_XML_SRC}
)
diff -r 97df63460e54 -r 7e8d40e09223 src/PipelineManager.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/PipelineManager.cpp Fri Jun 24 09:02:06 2011 -0700
@@ -0,0 +1,41 @@
+/******************************************************************************
+* Copyright (c) 2011, Michael P. Gerlek (mpg at flaxen.com)
+*
+* All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following
+* conditions are met:
+*
+* * Redistributions of source code must retain the above copyright
+* notice, this list of conditions and the following disclaimer.
+* * Redistributions in binary form must reproduce the above copyright
+* notice, this list of conditions and the following disclaimer in
+* the documentation and/or other materials provided
+* with the distribution.
+* * Neither the name of Hobu, Inc. or Flaxen Geo Consulting nor the
+* names of its contributors may be used to endorse or promote
+* products derived from this software without specific prior
+* written permission.
+*
+* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+* OF SUCH DAMAGE.
+****************************************************************************/
+
+#include <pdal/PipelineManager.hpp>
+
+namespace pdal
+{
+
+
+} // namespace pdal
diff -r 97df63460e54 -r 7e8d40e09223 test/unit/CMakeLists.txt
--- a/test/unit/CMakeLists.txt Thu Jun 23 08:21:50 2011 -0500
+++ b/test/unit/CMakeLists.txt Fri Jun 24 09:02:06 2011 -0700
@@ -30,6 +30,7 @@
LiblasReaderTest.cpp
LiblasWriterTest.cpp
MosaicFilterTest.cpp
+ PipelineManagerTest.cpp
PointBufferCacheTest.cpp
PointBufferTest.cpp
QFITReaderTest.cpp
diff -r 97df63460e54 -r 7e8d40e09223 test/unit/PipelineManagerTest.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test/unit/PipelineManagerTest.cpp Fri Jun 24 09:02:06 2011 -0700
@@ -0,0 +1,49 @@
+/******************************************************************************
+* Copyright (c) 2011, Michael P. Gerlek (mpg at flaxen.com)
+*
+* All rights reserved.
+*
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that the following
+* conditions are met:
+*
+* * Redistributions of source code must retain the above copyright
+* notice, this list of conditions and the following disclaimer.
+* * Redistributions in binary form must reproduce the above copyright
+* notice, this list of conditions and the following disclaimer in
+* the documentation and/or other materials provided
+* with the distribution.
+* * Neither the name of Hobu, Inc. or Flaxen Geo Consulting nor the
+* names of its contributors may be used to endorse or promote
+* products derived from this software without specific prior
+* written permission.
+*
+* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
+* OF SUCH DAMAGE.
+****************************************************************************/
+
+#include <boost/test/unit_test.hpp>
+
+#include <pdal/PipelineManager.hpp>
+
+using namespace pdal;
+
+BOOST_AUTO_TEST_SUITE(PipelineManagerTest)
+
+BOOST_AUTO_TEST_CASE(test1)
+{
+ return;
+}
+
+
+BOOST_AUTO_TEST_SUITE_END()
More information about the Liblas-commits
mailing list