summaryrefslogtreecommitdiff
path: root/enhanced-position-service/test/enhanced-position-client.h
blob: 4519bb3d604c294717705768c305eb6b0618eaeb (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) 2014, 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 __ENHANCED_POSITION_CLIENT_H
#define __ENHANCED_POSITION_CLIENT_H

#include <dbus-c++/dbus.h>
#include "enhanced-position-proxy.h"

class EnhancedPositionClient
  : public org::genivi::positioning::EnhancedPosition_proxy,
  public DBus::IntrospectableProxy,
  public DBus::ObjectProxy
{
public:

  EnhancedPositionClient(DBus::Connection &connection, const char *path, const char *name);

  void PositionUpdate(const std::vector< uint16_t >& changedValues);
  void RotationRateUpdate(const std::vector< uint16_t >& changedValues);
  void AccuracyUpdate(const std::vector< uint16_t >& changedValues);
  void SatelliteInfoUpdate(const std::vector< uint16_t >& changedValues);
  void StatusUpdate(const std::vector< uint16_t >& changedValues);

};

#endif//__ENHANCED_POSITION_CLIENT_H