Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102827395
compute.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 24, 14:45
Size
816 B
Mime Type
text/x-c++
Expires
Wed, Feb 26, 14:45 (2 d)
Engine
blob
Format
Raw Data
Handle
24381406
Attached To
R7571 SP4E-TB-TL-FR
compute.hh
View Options
#ifndef __COMPUTE__HH__
#define __COMPUTE__HH__
/* -------------------------------------------------------------------------- */
#include "system.hh"
/* -------------------------------------------------------------------------- */
//! Base class for all compute
class Compute {
public:
//! Virtual destructor needed because we have subclasses
virtual ~Compute() = default;
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
//! Compute is pure virtual
virtual void compute(System& system) = 0;
};
/* -------------------------------------------------------------------------- */
#endif //__COMPUTE__HH__
Event Timeline
Log In to Comment