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
39- (nullable NCRoutePath *)makeRoute:(nonnull NCLocationPoint *)from
40 to:(nonnull NCLocationPoint *)to;
41
58- (nonnull NSArray<NCRoutePath *> *)makeRoutes:(nonnull NCLocationPoint *)from
59 to:(nonnull NSArray<NCLocationPoint *> *)to;
60
76- (void)setTarget:(nonnull NCLocationPoint *)target;
77
93- (void)addTarget:(nonnull NCLocationPoint *)target;
94
109
124
138- (void)setGraphTag:(nonnull NSString *)tag;
139
153- (nonnull NSString *)getGraphTag;
154
168- (nonnull NSArray<NSString *> *)getGraphTags;
169
186- (void)addRouteListener:(nullable id<NCRouteListener>)listener;
187
202- (void)removeRouteListener:(nullable id<NCRouteListener>)listener;
203
204@end