Fovia's C++ Client/Server API
|
Public Member Functions | |
virtual signed int | AskInterface (const BGUID *piid, IRoot **ppr)=0 |
virtual signed int | DecRef ()=0 |
virtual signed int | IncRef ()=0 |
virtual signed int | ReadParamsFromXml (char *pzPathName, RENDER_PARAMS *rp)=0 |
virtual signed int | WriteParamsToXml (char *pzPathName, RENDER_PARAMS rp)=0 |
![]() | |
template<class T > | |
signed int | AskInterface (T **pp) |
Interface that allows reading and writing of XML preset files on the client.
|
pure virtual |
Decreases the reference count on this object by 1. If the reference count reaches 0, the object is deallocated.
Implements IRoot.
|
pure virtual |
Increases the reference count on this object by 1. You do not need to call this after an object is first created. It is 1 by default.
Implements IRoot.
|
pure virtual |
Reads a file saved by WriteParamsToXml. WARNING: This function is not thread safe!
pzPathName | String containing the path to the file. |
rp | RENDER_PARAMS to receive the parameters stored in the file. |
|
pure virtual |
Writes the RENDER_PARAMS to disk in a human-readable XML format. WARNING: This function is not thread safe!
pzPathName | String containing the path where you wish to save the file. |
rp | RENDER_PARAMS to save |