Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F65635081
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
Wed, Jun 5, 04:38
Size
816 B
Mime Type
text/x-c++
Expires
Fri, Jun 7, 04:38 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17896217
Attached To
R9482 SP4E_Homework_Ashtari_Sieber
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