class to map uio addresses into user space #535

Closed
meierj wants to merge 191 commits from eive:meier/uioMapper into master
2 changed files with 5 additions and 0 deletions
Showing only changes of commit 4202205182 - Show all commits

View File

@ -156,6 +156,10 @@ int CommandExecutor::getLastError() const {
return this->lastError; return this->lastError;
} }
CommandExecutor::States CommandExecutor::getCurrentState() const {
return state;
}
ReturnValue_t CommandExecutor::executeBlocking() { ReturnValue_t CommandExecutor::executeBlocking() {
while(fgets(readVec.data(), readVec.size(), currentCmdFile) != nullptr) { while(fgets(readVec.data(), readVec.size(), currentCmdFile) != nullptr) {
std::string output(readVec.data()); std::string output(readVec.data());

View File

@ -97,6 +97,7 @@ public:
*/ */
ReturnValue_t close(); ReturnValue_t close();
States getCurrentState() const;
int getLastError() const; int getLastError() const;
void printLastError(std::string funcName) const; void printLastError(std::string funcName) const;