Constructs and initializes the different member variables of the LDicomAssociate object.
#include "ltdic.h"
L_VOID LDicomAssociate::LDicomAssociate(bRequest)
Flag that indicates whether to create an Associate Request or an Associate Accept. Possible values are:
Value | Meaning |
---|---|
TRUE | Create an Associate Request. |
FALSE | Create an Associate Accept. |
None.
LDicomAssociate::LDicomAssociate(bRequest) creates either an Associate Accept object or an Associate Request object, based on the value of bRequest.
A DICOM Association must be established between an SCU and an SCP before any DICOM messages or data can be transmitted between them. For more information on creating a DICOM Association, refer to Creating a DICOM Associate Connection.
The characteristics of the DICOM Associate Connection may be set using LDicomAssociate::Default or by calling the following functions:
LDicomAssociate::SetApplication
LDicomAssociate::SetPresentation
LDicomAssociate::SetImplementClass
LDicomAssociate::SetAsyncOperations
LDicomAssociate::SetRoleSelect
LDicomAssociate::SetImplementVersion
When the DICOM Association is no longer needed, it should be closed. For more information, refer to Closing a DICOM Association.
Win32, x64
This example creates an Associate class.
L_INT LDicomAssociate_LDicomAssociateExample()
{
LDicomAssociate *pAssociate;
pAssociate = new LDicomAssociate(TRUE);
delete pAssociate;
return DICOM_SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document