#ifndef GENERIC_FUNCTOR_CLASS_11_21_2006__ #define GENERIC_FUNCTOR_CLASS_11_21_2006__ /** @file GenericFunctor.h @author Brian Magill @date 11/16/2006 $Date:$ $Revision:$ @copyright (©) Copyright 2006 by GATS Inc. 11864 Canon Blvd., Suite 101, Newport News, VA 23606 All Rights Reserved. No part of this software or publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise without the prior written permission of GATS Inc. @brief Balances the detector difference signals */ #include #include #include #include "MultiSignal.h" #include "GenTransform.hpp" #include "SigAlgoAbstract.h" //#include "GenAlgoAbstract.hpp" typedef boost::shared_ptr AlgoPtr; class GenericFunctor:public GenTransform { private: // std::string processName; // // vector gainVector; AlgoPtr algoPtr; // void errorHandler(std::string msg) const; public: GenericFunctor():algoPtr(){ }; explicit GenericFunctor(AlgoPtr aPtr) :algoPtr(aPtr){ }; GenericFunctor const & operator = (GenericFunctor const &rhs); GenericFunctor(GenericFunctor const &rhs) { algoPtr = rhs.algoPtr; }; ~GenericFunctor() { }; MultiSignal operator() (MultiSignal const &in) const; }; #endif