Changed SMState interface (how the ownership of the image is transferred)

git-svn-id: http://rtabmap.googlecode.com/svn/branches/0.3/rtabmap@70 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2011-06-07 19:15:27 +00:00
parent 4ceeb78c8b
commit a0576be506
6 changed files with 36 additions and 36 deletions
+2
View File
@@ -1243,6 +1243,7 @@ void Rtabmap::process()
delete smState;
}
// ownership is transferred
void Rtabmap::addSMState(SMState * data)
{
ULOGGER_DEBUG("");
@@ -1361,6 +1362,7 @@ void Rtabmap::setWorkingDirectory(std::string path)
}
}
// ownership is transferred
void Rtabmap::process(SMState * data)
{
if(!this->isRunning())