Aspera Developer Documentation
Public Member Functions | List of all members
Functor Class Referenceabstract

A class providing an abstract base for FASP functors. More...

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
 

Detailed Description

A class providing an abstract base for FASP functors.

Member Function Documentation

virtual Functor* Clone ( )
pure virtual

Clones this FASP functor.

Returns
a clone of this FASP functor

Implemented in CallbackFunctor< T >.

virtual bool CompareWith ( const Functor other)
pure virtual

Compare this instance of Functor with the parameter

Parameters
otherinstance of function to compare with

Implemented in CallbackFunctor< T >.

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_eventthe event on which the callback is performed
j_statsthe FASP Job stats
f_statsthe current FASP Job file stats

Implemented in CallbackFunctor< T >.


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