![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
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) |
![]() | |
TSLDynamicRenderer * | clone () const |
void | destroy () |
bool | isAlias () const |
TSLClientCustomDynamicRenderer * | clientInterface () const |
const char * | name () const |
bool | setConfig (const TSLSimpleString &src) |
bool | getConfig (TSLSimpleString &dst) const |
bool | triggeredbyEntitySets () const |
int | type () const |
Additional Inherited Members | |
![]() | |
~TSLDynamicRenderer () | |
TSLDynamicRenderer () | |
TSLDynamicRenderer (const TSLDynamicRenderer &) | |
TSLDynamicRenderer & | operator= (const TSLDynamicRenderer &) |
TSLDynamicRendererCustom::TSLDynamicRendererCustom | ( | const char * | name, |
TSLClientCustomDynamicRenderer * | client, | ||
bool | triggeredByEntitySets = false, | ||
bool | alias = false, | ||
bool | ownsClient = true ) |
Constructor for customer Dynamic Renderer class.
name | Name of this renderer, for use in the factory |
client | Instantiation of a concrete TSLClientCustomDynamicRenderer derivation. The new class instance takes control of this. |
triggeredByEntitySets | True if this renderer should handle Entity Sets. |
alias | Flag indicating whether this is an alias or not. |
ownsClient | if true the class owns the client. |
void * TSLDynamicRendererCustom::operator new | ( | size_t | size | ) |
Overridden allocation to redirect to MapLink
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.