summaryrefslogtreecommitdiff
path: root/enhanced-position-service/commonapi-service/src/PositionFeedbackStubImpl.h
blob: 1f3ec0cb527186d944229b4f75b65f16adcb5602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**************************************************************************
* @licence app begin@
*
* SPDX-License-Identifier: MPL-2.0
*
* \ingroup EnhancedPositionService
* \author Marco Residori <marco.residori@xse.de>
*
* \copyright Copyright (C) 2015, XS Embedded GmbH
* 
* \license
* This Source Code Form is subject to the terms of the
* Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with
* this file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* @licence end@
**************************************************************************/

#ifndef POSITIONFEEDBACKSTUBIMPL_H_
#define POSITIONFEEDBACKSTUBIMPL_H_

#include <CommonAPI/CommonAPI.h>
#include <org/genivi/EnhancedPositionService/PositionFeedbackStubDefault.h>

using namespace org::genivi::EnhancedPositionService;

class PositionFeedbackStubImpl: public PositionFeedbackStubDefault {

public:
    PositionFeedbackStubImpl();
    virtual ~PositionFeedbackStubImpl();
    void GetVersion(EnhancedPositionServiceTypes::Version& version);
    void SetPositionFeedback(std::vector<PositionFeedback::PositionFeedbackInfo> feedback, uint64_t timestamp, EnhancedPositionServiceTypes::PositionFeedbackType feedbackType);
    void run();
    void shutdown();

};

#endif /* POSITIONFEEDBACKSTUBIMPL_H_ */