Apache Ignite C++
Public Member Functions | Friends | List of all members
ignite::compute::ComputeFunc< R > Class Template Referenceabstract

Interface for a simple compute function that can be serialized and called on the remote nodes. More...

#include <compute_func.h>

Public Member Functions

virtual ~ComputeFunc ()
 Destructor.
 
virtual R Call ()=0
 Called upon execution by compute. More...
 

Friends

class ignite::IgniteBinding
 

Detailed Description

template<typename R>
class ignite::compute::ComputeFunc< R >

Interface for a simple compute function that can be serialized and called on the remote nodes.

ignite::binary::BinaryType class template should be specialized for any class, inheriting from this class.

Template Parameters
RCall return type. BinaryType should be specialized for the type if it is not primitive.

Member Function Documentation

template<typename R >
virtual R ignite::compute::ComputeFunc< R >::Call ( )
pure virtual

Called upon execution by compute.

Returns
Computation result.

The documentation for this class was generated from the following file: