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 | GetID (signed long long *id)=0 |
virtual signed int | GetPath (char **path)=0 |
virtual signed int | GetTags (ILiteDICOMFileContext **files, signed int numFiles, DICOM_TAG_REQUEST *reqs, signed int numReqs, DICOM_TAG_DATA ***results)=0 |
virtual signed int | IncRef ()=0 |
virtual signed int | OutputDICOMImages (signed long long **images, IRenderEngineContext *pRender, signed int numFiles, ILiteDICOMFileContext **files, char **paths, RENDER_PARAMS **rp)=0 |
virtual signed int | ReleaseSessionAllResources (signed int numFiles, ILiteDICOMFileContext **files)=0 |
virtual signed int | ReleaseSessionResources ()=0 |
virtual signed int | SetTags (ILiteDICOMFileContext **files, signed int numFiles, DICOM_TAG_REQUEST *reqs, signed int numReqs, DICOM_TAG_DATA **data, signed int ***results)=0 |
![]() | |
template<class T > | |
signed int | AskInterface (T **pp) |
File that represents a DICOM file on the server opened using Fovia's internal DICOM loader. You may query this file for tags or location information. This object is created by DICOM loading functions in IServerContext.
|
pure virtual |
|
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 |
Returns the handle that represents the server side object that manipulates the DICOM file.
id | The address of the h_int64 that will get the handle of the server side object. |
|
pure virtual |
Returns the path to the DICOM file on the server. You may use this path to call IServerContext::LoadDICOMFromFileList().
path | Address of a char* to receive the address of the path. This is a shallow pointer. You should not delete this. |
|
pure virtual |
Allows you to retrieve the requested tags for each of the files in arrFiles. The tag data is returned into arrResults. All arrays must be allocated prior to calling this function. arrResults must be of the size [numFiles][numReqs].
files | An array of ILiteDICOMFileContext pointers. Each of these will be queried for the specified tags. |
numFiles | The number of files in the parameter files. |
reqs | An array of DICOM_TAG_REQUEST objects that describe the tags to set in each file. |
numReqs | The number of DICOM_TAG_REQUEST objects in reqs. |
results | The address of a two dimensional DICOM_TAG_DATA array that will get the result of the function call. To access a result for a given file: results[fileIndex][requestIndex] |
|
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 |
Not currently implemented.
|
pure virtual |
Allows you to release resources on a group of files in one server call. Use this to avoid any latency issues on large file lists.
numFiles | The number of files to release. |
files | An array of ILiteDICOMFileContext pointers specifying the objects to release. |
|
pure virtual |
Call this if you wish to free up this object on the server before disconnecting.
|
pure virtual |
Allows you to change set/change tags on a DICOM file loaded into memory. results is an array of size [numFiles][numReqs] indicating the result of each operation.
files | An array of ILiteDICOMFileContext pointers. Each of these will have the specified tags set/changed. |
numFiles | The number of files in the parameter files. |
reqs | An array of DICOM_TAG_REQUEST objects that describe the tags to set in each file. |
numReqs | The number of DICOM_TAG_REQUEST objects in reqs. |
data | A two dimensional DICOM_TAG_DATA array that contains the data to set/change in the files. A request for a given file is located in the array as follows: results[fileIndex][requestIndex] |
results | The address of a two dimensional RRESULT array that will get the result of each tag request. To access a result for a given file: results[fileIndex][requestIndex] |