Loading...
Searching...
No Matches
NCRouteManager.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCLocationPoint.h"
3#import <Foundation/Foundation.h>
4@class NCRoutePath;
5@protocol NCRouteListener;
6
7
19DEFAULT_EXPORT_ATTRIBUTE
20@interface NCRouteManager : NSObject
21
31- (nullable NCRoutePath *)makeRoute:(nonnull NCLocationPoint *)from
32 to:(nonnull NCLocationPoint *)to;
33
42- (nonnull NSArray<NCRoutePath *> *)makeRoutes:(nonnull NCLocationPoint *)from
43 to:(nonnull NSArray<NCLocationPoint *> *)to;
44
52- (void)setTarget:(nonnull NCLocationPoint *)target;
53
61- (void)addTarget:(nonnull NCLocationPoint *)target;
62
69
76
82- (void)setGraphTag:(nonnull NSString *)tag;
83
89- (nonnull NSString *)getGraphTag;
90
96- (nonnull NSArray<NSString *> *)getGraphTags;
97
106- (void)addRouteListener:(nullable id<NCRouteListener>)listener;
107
114- (void)removeRouteListener:(nullable id<NCRouteListener>)listener;
115
116@end