diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-29 10:33:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-29 11:00:31 +0000 |
commit | a5ea9ddaad65853d1e14686ddb096da2e62731e0 (patch) | |
tree | 5b60dce2c1f144fd68efb96bc066fc280ee2f317 | |
parent | cf4416a68fb68f36cf9065c6d08d14dd22637b24 (diff) |
CollectingProcessor3D cannot be instantiated
-rw-r--r-- | drawinglayer/inc/drawinglayer/processor3d/baseprocessor3d.hxx | 37 | ||||
-rw-r--r-- | drawinglayer/source/processor3d/baseprocessor3d.cxx | 18 |
2 files changed, 0 insertions, 55 deletions
diff --git a/drawinglayer/inc/drawinglayer/processor3d/baseprocessor3d.hxx b/drawinglayer/inc/drawinglayer/processor3d/baseprocessor3d.hxx index 0dce67422140..16b6022435bd 100644 --- a/drawinglayer/inc/drawinglayer/processor3d/baseprocessor3d.hxx +++ b/drawinglayer/inc/drawinglayer/processor3d/baseprocessor3d.hxx @@ -79,43 +79,6 @@ namespace drawinglayer ////////////////////////////////////////////////////////////////////////////// -namespace drawinglayer -{ - namespace processor3d - { - /** CollectingProcessor3D class - - A processor which just collects all primitives given to it in - process(..) calls to maPrimitive3DSequence. This can e.g. be used to - hand around as instance over various methods where every called - method can add graphic content to it. - */ - class DRAWINGLAYER_DLLPUBLIC CollectingProcessor3D : public BaseProcessor3D - { - private: - primitive3d::Primitive3DSequence maPrimitive3DSequence; - - public: - virtual ~CollectingProcessor3D(); - - /// the central processing method - virtual void process(const primitive3d::Primitive3DSequence& rSource); - - /// helpers for adding to local sequence - void appendPrimitive3DReference(const primitive3d::Primitive3DReference& rSource) - { - primitive3d::appendPrimitive3DReferenceToPrimitive3DSequence(maPrimitive3DSequence, rSource); - } - - /// data access and reset - const primitive3d::Primitive3DSequence& getPrimitive3DSequence() const { return maPrimitive3DSequence; } - void reset() { maPrimitive3DSequence = primitive3d::Primitive3DSequence(); } - }; - } // end of namespace processor3d -} // end of namespace drawinglayer - -////////////////////////////////////////////////////////////////////////////// - #endif //_DRAWINGLAYER_PROCESSOR3D_BASEPROCESSOR3D_HXX // eof diff --git a/drawinglayer/source/processor3d/baseprocessor3d.cxx b/drawinglayer/source/processor3d/baseprocessor3d.cxx index 9abef4a4db62..9e1f16b85e94 100644 --- a/drawinglayer/source/processor3d/baseprocessor3d.cxx +++ b/drawinglayer/source/processor3d/baseprocessor3d.cxx @@ -85,24 +85,6 @@ namespace drawinglayer } // end of namespace drawinglayer ////////////////////////////////////////////////////////////////////////////// - -namespace drawinglayer -{ - namespace processor3d - { - CollectingProcessor3D::~CollectingProcessor3D() - { - } - - void CollectingProcessor3D::process(const primitive3d::Primitive3DSequence& rSource) - { - // accept everything - primitive3d::appendPrimitive3DSequenceToPrimitive3DSequence(maPrimitive3DSequence, rSource); - } - } // end of namespace processor3d -} // end of namespace drawinglayer - -////////////////////////////////////////////////////////////////////////////// // eof /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |