Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
73 lines (57 sloc) 1.14 KB
/*
* Kernel.cpp
* SC++
*
* Created by Chad McKinney on 2/17/12.
*
*/
#include "PyrSched.h"
#include "Kernel.h"
namespace sc {
////////////
// Process
///////////
/*
Process::Process()
{
}*/
void Process::startup()
{
float64 time;
time = Process::elapsedTime();
}
void Process::run()
{
// This method is called when 'Run Main' is chosen from the menu.
// Override in class 'Main' to do whatever you want.
}
void Process::stop()
{
// This method is called when 'Stop Main' is chosen from the menu.
// Override in class 'Main' to do whatever you want.
}
void Process::shutdown()
{
// This method is called before recompiling or quitting.
// Override in class 'Main' to do whatever you want.
}
double Process::elapsedTime()
{
// return elapsedTime(); infinite recursion!
return 0; // just something to return until this gets worked out...
}
///////////////
// Interpreter
//////////////
Interpreter::Interpreter()
{
}
void Interpreter::setCmdLine(const char* _line)
{
this->cmdLine = _line;
}
const char* Interpreter::getCmdLine()
{
return this->cmdLine;
}
}