Apache Ignite C++
Public Member Functions | Protected 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

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

Protected Member Functions

IgniteGetIgnite ()
 

Friends

template<typename TF , typename TR >
class ignite::impl::compute::ComputeJobHolderImpl
 
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

◆ Call()

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: