Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomAssociate::LDicomAssociate

Show in webframe

#include "ltdic.h"

L_VOID LDicomAssociate::LDicomAssociate(bRequest)

L_BOOL bRequest;

/* flag that indicates the type of association to create */

Constructs and initializes the different member variables of the LDicomAssociate object.

Parameter

Description

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.

Returns

None.

Comments

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::SetRequest

LDicomAssociate::SetVersion

LDicomAssociate::SetCalled

LDicomAssociate::SetCalling

LDicomAssociate::SetApplication

LDicomAssociate::SetPresentation

LDicomAssociate::SetResult

LDicomAssociate::SetAbstract

LDicomAssociate::SetTransfer

LDicomAssociate::SetMaxLength

LDicomAssociate::SetImplementClass

LDicomAssociate::SetAsyncOperations

LDicomAssociate::SetRoleSelect

LDicomAssociate::SetImplementVersion

LDicomAssociate::SetUserInfo

LDicomAssociate::SetExtended

When the DICOM Association is no longer needed, it should be closed. For more information, refer to Closing a DICOM Association.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomAssociate::~LDicomAssociate, LDicomAssociate::Default, LDicomAssociate::Reset, LDicomAssociate::SetRequest,LDicomAssociate::SetVersion, LDicomAssociate::SetCalled, LDicomAssociate::SetCalling, LDicomAssociate::SetApplication, LDicomAssociate::SetPresentation, LDicomAssociate::SetResult, LDicomAssociate::SetAbstract, LDicomAssociate::SetTransfer, LDicomAssociate::SetMaxLength, LDicomAssociate::SetImplementClass, LDicomAssociate::SetAsyncOperations, LDicomAssociate::SetRoleSelect, LDicomAssociate::SetImplementVersion, LDicomAssociate::SetUserInfo, LDicomAssociate::SetExtended

Topics:

Working with DICOM Associate Connections

 

Creating a DICOM Associate Connection

 

Closing a DICOM Associate Connection

Example

This example creates an Associate class.

L_INT LDicomAssociate_LDicomAssociateExample()
{
   LDicomAssociate *pAssociate;
   pAssociate = new LDicomAssociate(TRUE);
   delete pAssociate;
   return DICOM_SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.