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

Detailed Description

This class allows an application to provide dynamic custom rendering for any MapLink entity.

To create application specific Dynamic Renderers, new classes should be derived from TSLClientCustomDynamicRenderer.

Note: If you are not using the version of Visual Studio that MapLink was built with then you need to manage the deletion of the TSLDynamicRendererCustom derived object yourself.

Public Member Functions

 TSLDynamicRendererCustom (const char *name, TSLClientCustomDynamicRenderer *client, bool triggeredByEntitySets=false, bool alias=false, bool ownsClient=true)
 
void * operator new (size_t size) TSL_NO_THROW
 
void * operator new (size_t size, char *filename, int line)
 
- Public Member Functions inherited from TSLDynamicRenderer
TSLDynamicRendererclone () const
 
void destroy ()
 
bool isAlias () const
 
TSLClientCustomDynamicRendererclientInterface () const
 
const char * name () const
 
bool setConfig (const TSLSimpleString &src)
 
bool getConfig (TSLSimpleString &dst) const
 
bool triggeredbyEntitySets () const
 
int type () const
 

Additional Inherited Members

- Protected Member Functions inherited from TSLDynamicRenderer
 ~TSLDynamicRenderer ()
 
 TSLDynamicRenderer ()
 
 TSLDynamicRenderer (const TSLDynamicRenderer &)
 
TSLDynamicRendereroperator= (const TSLDynamicRenderer &)
 

Constructor & Destructor Documentation

◆ TSLDynamicRendererCustom()

TSLDynamicRendererCustom::TSLDynamicRendererCustom ( const char * name,
TSLClientCustomDynamicRenderer * client,
bool triggeredByEntitySets = false,
bool alias = false,
bool ownsClient = true )

Constructor for customer Dynamic Renderer class.

Parameters
nameName of this renderer, for use in the factory
clientInstantiation of a concrete TSLClientCustomDynamicRenderer derivation. The new class instance takes control of this.
triggeredByEntitySetsTrue if this renderer should handle Entity Sets.
aliasFlag indicating whether this is an alias or not.
ownsClientif true the class owns the client.

Member Function Documentation

◆ operator new() [1/2]

void * TSLDynamicRendererCustom::operator new ( size_t size)

Overridden allocation to redirect to MapLink

◆ operator new() [2/2]

void * TSLDynamicRendererCustom::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.