diff options
Diffstat (limited to 'src/allocate_queue.cpp')
-rw-r--r-- | src/allocate_queue.cpp | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/src/allocate_queue.cpp b/src/allocate_queue.cpp deleted file mode 100644 index 14bf6f5..0000000 --- a/src/allocate_queue.cpp +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright (c) 2017 TOYOTA MOTOR CORPORATION - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "allocate_queue.hpp" -#include <algorithm> - -using std::string; - -namespace wm { - - -AllocateRequestList::AllocateRequestList(){} -AllocateRequestList::~AllocateRequestList(){} - -bool AllocateRequestList::addClient(WMClient* client){ - return true; -} - -void AllocateRequestList::removeClient(const string &appid){ -} - -WMClient* AllocateRequestList::lookUpClient(const string &appid){ - return nullptr; -} - -unsigned AllocateRequestList::getSequenceNumber(const string &appid, const string &role, const string &area){ - return 0; -} - -unsigned AllocateRequestList::addAllocateRequest(WMRequest req){ - return 1; -} - -bool AllocateRequestList::requestFinished(){ - return true; -} - -unsigned AllocateRequestList::lookUpAllocatingApp(const char *appid){ - return 1; -} - -void AllocateRequestList::setEndDrawFinished(unsigned request_seq, const string &role){ - -} - -bool AllocateRequestList::endDrawFullfilled(unsigned request_seq){ - return false; -} - -void AllocateRequestList::removeRequest(unsigned req_seq){ - -} - -void AllocateRequestList::setCurrentSequence(unsigned req_seq){ - this->seq_num = req_seq; - if(0 == this->seq_num){ - this->seq_num = 1; - } -} - -bool AllocateRequestList::haveRequest(){ - return true; -} - -}
\ No newline at end of file |