Generic Trace Generator (GTG)  0.1
Functions
Functions related to links

Functions

trace_return_t addLinkType (const char *alias, const char *name, const char *contType, const char *srcContType, const char *destContType)
 Add a Link Type. More...
 
trace_return_t startLink (varPrec time, const char *type, const char *cont, const char *src, const char *dest, const char *val, const char *key)
 Start a Link. More...
 
trace_return_t endLink (varPrec time, const char *type, const char *cont, const char *src, const char *dest, const char *val, const char *key)
 End a Link. More...
 

Detailed Description

Function Documentation

◆ addLinkType()

trace_return_t addLinkType ( const char *  alias,
const char *  name,
const char *  contType,
const char *  srcContType,
const char *  destContType 
)

Add a Link Type.

Parameters
aliasAlias on the link type
nameAlternative name of the link type
contTypeType of common ancestral container
srcContTypeType of the source container
destContTypeType of the destination container
Returns
TRACE_SUCCESS on success
An error code otherwise

◆ endLink()

trace_return_t endLink ( varPrec  time,
const char *  type,
const char *  cont,
const char *  src,
const char *  dest,
const char *  val,
const char *  key 
)

End a Link.

Parameters
timeTime the link ends
typeType of the link
contContainer containing the link (an ancestor of source and destination container)
srcSource container
destDestination container
valValue of the link
keyKey to match the start link
Returns
TRACE_SUCCESS on success
An error code otherwise

◆ startLink()

trace_return_t startLink ( varPrec  time,
const char *  type,
const char *  cont,
const char *  src,
const char *  dest,
const char *  val,
const char *  key 
)

Start a Link.

Parameters
timeTime the link starts
typeType of the link
contContainer containing the link (an ancestor of source and destination container)
srcSource container
destDestination container
valValue of the link
keyKey to match the end link
Returns
TRACE_SUCCESS on success
An error code otherwise