Class SBCFunctorDivide0#
template <typename Output, typename Output1, typename Output2>
This class describes a functor that is the division of two functors.
#include "SBCFunctorDivide.hpp"
Inherits the following classes: SBCFunctor0< Output >
Public Functions#
Type | Name |
---|---|
SBCFunctorDivide0 (const SBCFunctor0< Output1 > * firstFunctor, const SBCFunctor0< Output2 > * secondFunctor) Builds a functor that will return the division of the result of the firstFunctor by the result of thesecondFunctor . The input functors are cloned internally. |
|
virtual SBCFunctorDivide0< Output, Output1, Output2 > * | clone () override const Clones the functor. |
virtual Output | operator() () override Performs the functor's operation and returns the result. |
virtual Output | operator() () override const Performs the functor's operation and returns the result. |
virtual | ~SBCFunctorDivide0 () Destructor. |
Public Functions Documentation#
function SBCFunctorDivide0#
Builds a functor that will return the division of the result of the firstFunctor
by the result of thesecondFunctor
. The input functors are cloned internally.
SBCFunctorDivide0::SBCFunctorDivide0 (
const SBCFunctor0< Output1 > * firstFunctor,
const SBCFunctor0< Output2 > * secondFunctor
)
function clone#
Clones the functor.
Implements SBCFunctor::clone
function operator() [1/2]#
Performs the functor's operation and returns the result.
function operator() [2/2]#
Performs the functor's operation and returns the result.
function ~SBCFunctorDivide0#
Destructor.