Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61596194
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
Tue, May 7, 17:17
Size
816 B
Mime Type
text/x-c++
Expires
Thu, May 9, 17:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17201295
Attached To
R7581 SP4E Homework
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