Mixin class for types that store, update, and return "small" objects, meaning effectively those with usable copy semantics. More...
#include <data.hh>
Inherited by RVL::FunctionObjectScalarRedn< Scalar >.
Public Member Functions | |
ScalarRedn (Scalar _val) | |
main constructor. | |
virtual | ~ScalarRedn () |
virtual void | setValue ()=0 |
post-construction (re)initialization - default is undefined, so pure virtual | |
virtual void | setValue (Scalar _val) |
post-construction (re)initialization | |
virtual Scalar | getValue () const |
access - virtual so that additional behaviour may be added in child class overrides, for expl cross-process reduction |
Mixin class for types that store, update, and return "small" objects, meaning effectively those with usable copy semantics.
Appends a simple implemented container attribute, which has the added effect of testing for the existence of assignment at compile time. Intended for use with FOCE to create reduction function objects.
Definition at line 101 of file data.hh.
RVL::ScalarRedn< Scalar >::ScalarRedn | ( | Scalar | _val | ) |
virtual RVL::ScalarRedn< Scalar >::~ScalarRedn | ( | ) | [virtual] |
virtual void RVL::ScalarRedn< Scalar >::setValue | ( | ) | [pure virtual] |
post-construction (re)initialization - default is undefined, so pure virtual
virtual void RVL::ScalarRedn< Scalar >::setValue | ( | Scalar | _val | ) | [virtual] |
virtual Scalar RVL::ScalarRedn< Scalar >::getValue | ( | ) | const [virtual] |