Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91900895
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
Fri, Nov 15, 14:25
Size
816 B
Mime Type
text/x-c++
Expires
Sun, Nov 17, 14:25 (2 d)
Engine
blob
Format
Raw Data
Handle
22342318
Attached To
R9490 Homework_sp4e_Peruzzo_SáezUribe
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