MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSL2DSatelliteDataLayer Class Reference
Inheritance diagram for TSL2DSatelliteDataLayer:

Detailed Description

The TSL2DSatelliteLayer is a layer to which satellites can be added, in order to be rendered.

Public Member Functions

 TSL2DSatelliteDataLayer ()
 
bool addSatellite (TSLSatellite *sat)
 
bool attachToTimeServer (TSLTimeServer *ts)
 
TSL2DSatelliteDataLayerclone ()
 
int numberOfSatellites () const
 
TSLSatelliteremoveSatellite (const char *satelliteID)
 
TSLSatelliteremoveSatellite (int index)
 
const TSLSatellitesatelliteAt (int index) const
 
TSLSatellitesatelliteAt (int index)
 
bool saveData (const char *fname)
 
bool attachCoordinateSystem (const TSLCoordinateSystem *cSystem)
 
void * operator new (size_t size)
 
void * operator new (size_t size, char *filename, int line)
 
- Public Member Functions inherited from TSLDataLayer
void addDrawingCallback (TSLDataLayerDrawingCallback *drawingCallback)
 
bool addFeatureRendering (const char *featureName, TSLFeatureID featureID)
 
bool addLoader (TSLFileLoader *loader, TSLLoaderAppCallback callback, void *arg, TSLAllLoadedCallback allLoadedCallback=0, void *arg2=0)
 
bool addPathList (const TSLPathList *path_list)
 
void cancelFlashback ()
 
bool clearFeatureRendering (const char *featureName, TSLFeatureID featureID)
 
TSLDataHandlercreateDataHandler (const char *config_file=0)
 
TSLHistoryVersion currentVersion () const
 
TSLDataHandlerdataHandler ()
 
const TSLDataHandlerdataHandler () const
 
void destroy ()
 
bool entityIsVisible (const TSLEntity *entity, const TSLDrawingSurface *drawingSurface) const
 
const TSLFeatureClassListfeatureList () const
 
const TSLFeatureClassListfeatureList (const char *detailLayerName) const
 
bool fileModificationTime (const char *filename, TSLTimeType &lastModificationTime)
 
TSLEntityfindEntity (TSLTMC x, TSLTMC y, TSLTMC aperture, int depth, const char *featureName=0, int drawingSurfaceID=-1)
 
bool findFile (const char *filename, TSLSimpleString &foundPath) const
 
void flashbackToTimestamp (TSLHistoryTimestamp timestamp, TSLLayerArchiveCallback archiveCallback, void *arg=0)
 
void flashbackToTimestamp (TSLHistoryTimestamp timestamp, TSLLayerArchiveTileCallback archiveTileCallback, void *arg=0)
 
void flashbackToVersion (TSLHistoryVersion version, TSLLayerArchiveCallback archiveCallback, void *arg=0)
 
void flashbackToVersion (TSLHistoryVersion version, TSLLayerArchiveTileCallback archiveTileCallback, void *arg=0)
 
bool getActiveLayerName (const TSLEnvelope &extent, double screenResolution, TSLSimpleString &activeLayerName) const
 
TSLEntityIteratorgetEntityIterator (const char *detailLayer, TSLSelector *selector=NULL, TSLEnvelope *extent=NULL, bool splitOptimisedPrimitives=true)
 
bool getFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributeInt attribute, int *result) const
 
bool getFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributeDouble attribute, double *result) const
 
bool getFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributeBool attribute, bool *result) const
 
bool getFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributes *result) const
 
TSLFileLoadergetLoader ()
 
bool getMUExtent (double *x1, double *y1, double *x2, double *y2, int drawingSurfaceID=-1) const
 
bool getTMCExtent (TSLTMC *x1, TSLTMC *y1, TSLTMC *x2, TSLTMC *y2, int drawingSurfaceID=-1) const
 
bool getUUExtent (double *x1, double *y1, double *x2, double *y2, const TSLDrawingSurface *drawingSurface) const
 
bool importHistory (TSLHistoryVersion mapVersion, TSLHistoryTimestamp timestamp, TSLHistoryImportSet *historySet)
 
bool latLongToTMC (double latitude, double longitude, TSLTMC *x, TSLTMC *y, bool local=false) const
 
bool latLongToTMC (int num, double *latitudes, double *longitudes, TSLTMC *xs, TSLTMC *ys, bool local=false) const
 
TSLDataLayerTypeEnum layerType () const
 
bool loadData (const char *filename)
 
bool loadRendering (const char *filename)
 
void notifyChanged (bool changed=true)
 
TSLMapQueryquery (TSLTMC x1, TSLTMC y1, TSLTMC x2, TSLTMC y2, int depth=-1, const char *featureName=NULL, int drawingSurfaceID=-1) const
 
TSLMapQueryquery (TSLTMC x1, TSLTMC y1, TSLTMC x2, TSLTMC y2, TSLSelector *selector, int drawingSurfaceID=-1) const
 
const TSLCoordinateSystemgetCoordinateSystem () const
 
bool queryVersionHistory (const TSLEnvelope &extent, TSLVersionHistorySet &history)
 
void refreshFlashback ()
 
bool removeData ()
 
void releaseResources (int surfaceID)
 
bool saveRendering (const char *filename, TSLMapLinkVersion ver=TSL_CURRENT_MAPLINK_VERSION)
 
bool setCoordinateSystem (const TSLCoordinateSystem *coordinateSystem)
 
bool setFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributeInt attribute, int value)
 
bool setFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributeDouble attribute, double value)
 
bool setFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributeBool attribute, bool value)
 
bool setFeatureRendering (const char *featureName, TSLFeatureID featureID, TSLRenderingAttributes *value)
 
bool TMCToLatLong (TSLTMC x, TSLTMC y, double *latitude, double *longitude, bool local=false, bool boundCheck=true) const
 
bool TMCToLatLong (int num, TSLTMC *xs, TSLTMC *ys, double *latitudes, double *longitudes, bool local=false) const
 
const TSLVersionHistorySetversionHistory () const
 

Constructor & Destructor Documentation

◆ TSL2DSatelliteDataLayer()

TSL2DSatelliteDataLayer::TSL2DSatelliteDataLayer ( )

Member Function Documentation

◆ addSatellite()

bool TSL2DSatelliteDataLayer::addSatellite ( TSLSatellite * sat)

Add a satellite to the layer. Note that the layer assumes ownership of the satellite.

Parameters
satthe satellite to add

◆ attachCoordinateSystem()

bool TSL2DSatelliteDataLayer::attachCoordinateSystem ( const TSLCoordinateSystem * cSystem)

◆ attachToTimeServer()

bool TSL2DSatelliteDataLayer::attachToTimeServer ( TSLTimeServer * ts)

Attach the layer to a time server.

Parameters
tsattach to this time server

◆ clone()

TSL2DSatelliteDataLayer * TSL2DSatelliteDataLayer::clone ( )

Create a new TSL2DSatelliteDataLayer which contains the same satellites as the existing layer.

The caller is responsible for memory.

◆ numberOfSatellites()

int TSL2DSatelliteDataLayer::numberOfSatellites ( ) const

Returns the number of satellites in this layer.

◆ operator new() [1/2]

void * TSL2DSatelliteDataLayer::operator new ( size_t size)

Allocation override for API redirection.

◆ operator new() [2/2]

void * TSL2DSatelliteDataLayer::operator new ( size_t size,
char * filename,
int line )

When included in an MFC application in debug mode, the debug new expects this to be here. Override it and return the same as the normal one. The library must include it when compiled in release mode, since the user's application may be in debug mode.

◆ removeSatellite() [1/2]

TSLSatellite * TSL2DSatelliteDataLayer::removeSatellite ( const char * satelliteID)

Remove the satellite, by ID, from the data layer. Returns ownership of the satellite object to the caller (ie the satellite object is not destroyed).

Parameters
satelliteIDthe ID of the satellite to remove

◆ removeSatellite() [2/2]

TSLSatellite * TSL2DSatelliteDataLayer::removeSatellite ( int index)

Remove the satellite, by index, from the data layer. Returns ownership of the satellite object to the caller (ie the satellite object is not destroyed).

Parameters
indexthe index of the satellite to remove

◆ satelliteAt() [1/2]

TSLSatellite * TSL2DSatelliteDataLayer::satelliteAt ( int index)

Returns a non-const pointer to the satellite at a given index.

Parameters
indexthe index
Returns
satellilte, null if the index is invalid.

◆ satelliteAt() [2/2]

const TSLSatellite * TSL2DSatelliteDataLayer::satelliteAt ( int index) const

Returns a const pointer to the satellite at a given index.

Parameters
indexthe index
Returns
satellilte, null if the index is invalid.

◆ saveData()

bool TSL2DSatelliteDataLayer::saveData ( const char * fname)

Save the data currently loaded in the satellite data layer to the given filename. Returns true if saved successfully, false otherwise.

Parameters
fnamethe file to save to