20,741
edits
Line 60: | Line 60: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
class | class LinuxMemoryInterface { | ||
+public: | +public: | ||
+ | + LinuxMemoryInterface() {} | ||
+ typedef map<const char*, double> RamMap; | + typedef map<const char*, double> RamMap; | ||
+//protected: | +//protected: | ||
Line 87: | Line 87: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
+ | + LinuxMemoryInterface() { | ||
+ SG_LOG(SG_GENERAL, SG_ALERT, "TODO: Check for GPU vendor here, and dynamically allocate correct class"); | + SG_LOG(SG_GENERAL, SG_ALERT, "TODO: Check for GPU vendor here, and dynamically allocate correct class"); | ||
+ } | + } |