Aspera Developer Documentation

Functor Class Reference

Inherited by CallbackFunctor.

List of all members.


Detailed Description

A class providing an abstract base for FASP functors.

Public Member Functions

virtual ~Functor ()
 Destructs this FASP functor.
virtual FunctorClone ()=0
virtual void operator() (callback_event_e cb_event, const JobStats *j_stats, const FileStats *f_stats)=0
virtual bool CompareWith (const Functor *other)=0

Member Function Documentation

virtual Functor* Clone (  )  [pure virtual]

Clones this FASP functor.

Returns:
a clone of this FASP functor

Implemented in CallbackFunctor.

virtual void operator() ( callback_event_e  cb_event,
const JobStats j_stats,
const FileStats f_stats 
) [pure virtual]

Overloads the "()" operator (the function call operator) for this FASP functor.

Parameters:
cb_event the event on which the callback is performed
j_stats the FASP Job stats
f_stats the current FASP Job file stats

Implemented in CallbackFunctor.

virtual bool CompareWith ( const Functor other  )  [pure virtual]

Compare this instance of Functor with the parameter

Parameters:
other instance of function to compare with

Implemented in CallbackFunctor.


Copyright © 2005 - 2008 Aspera, Inc. | asperasoft.com