Function libCZI::SetSiteObject

Function libCZI::SetSiteObject#

Function Documentation#

void libCZI::SetSiteObject(libCZI::ISite *pSite)#

Sets the global Site-object. This function must only be called once and before any other function in this library is called. The object passed in here must have a lifetime greater than any usage of the library. If no Site-object is set, then at first usage a default Site-object is created and used.

Parameters:

pSite[in] The Site-object to use. It must not be nullptr.