Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60214778
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
Sun, Apr 28, 09:02
Size
816 B
Mime Type
text/x-c++
Expires
Tue, Apr 30, 09:02 (2 d)
Engine
blob
Format
Raw Data
Handle
17201295
Attached To
R9484 sp4e-homework-lars-bertil
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