An extension of original API for working with GPS devices.

Committer:
rgrover1
Date:
Thu Oct 30 14:42:27 2014 +0000
Revision:
0:792e9343fd39
Child:
1:c1122f8eec82
GPS API

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 0:792e9343fd39 1 /* mbed Microcontroller Library
rgrover1 0:792e9343fd39 2 * Copyright (c) 2006-2014 ARM Limited
rgrover1 0:792e9343fd39 3 *
rgrover1 0:792e9343fd39 4 * Licensed under the Apache License, Version 2.0 (the "License");
rgrover1 0:792e9343fd39 5 * you may not use this file except in compliance with the License.
rgrover1 0:792e9343fd39 6 * You may obtain a copy of the License at
rgrover1 0:792e9343fd39 7 *
rgrover1 0:792e9343fd39 8 * http://www.apache.org/licenses/LICENSE-2.0
rgrover1 0:792e9343fd39 9 *
rgrover1 0:792e9343fd39 10 * Unless required by applicable law or agreed to in writing, software
rgrover1 0:792e9343fd39 11 * distributed under the License is distributed on an "AS IS" BASIS,
rgrover1 0:792e9343fd39 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rgrover1 0:792e9343fd39 13 * See the License for the specific language governing permissions and
rgrover1 0:792e9343fd39 14 * limitations under the License.
rgrover1 0:792e9343fd39 15 */
rgrover1 0:792e9343fd39 16
rgrover1 0:792e9343fd39 17 #ifndef __GPS_PROVIDER_INSTANCE_BASE_H__
rgrover1 0:792e9343fd39 18 #define __GPS_PROVIDER_INSTANCE_BASE_H__
rgrover1 0:792e9343fd39 19
rgrover1 0:792e9343fd39 20 #include "GPSProvider.h"
rgrover1 0:792e9343fd39 21
rgrover1 0:792e9343fd39 22 class GPSProviderImplBase {
rgrover1 0:792e9343fd39 23 public:
rgrover1 0:792e9343fd39 24 virtual bool setPowerMode(GPSProvider::PowerMode_t power) = 0;
rgrover1 0:792e9343fd39 25 virtual void reset(void) = 0;
rgrover1 0:792e9343fd39 26 virtual void start(void) = 0;
rgrover1 0:792e9343fd39 27 virtual void stop(void) = 0;
rgrover1 0:792e9343fd39 28 };
rgrover1 0:792e9343fd39 29
rgrover1 0:792e9343fd39 30 #endif /* __GPS_PROVIDER_INSTANCE_BASE_H__ */