DCMTK  Version 3.6.1 20120515
OFFIS DICOM Toolkit
Static Public Member Functions | Private Member Functions | Static Private Attributes | Friends
DcmRLEEncoderRegistration Class Reference

singleton class that registers an RLE encoder. More...

List of all members.

Static Public Member Functions

static void registerCodecs (OFBool pCreateSOPInstanceUID=OFFalse, Uint32 pFragmentSize=0, OFBool pCreateOffsetTable=OFTrue, OFBool pConvertToSC=OFFalse)
 registers RLE encoder.
static void cleanup ()
 deregisters encoder.

Private Member Functions

 DcmRLEEncoderRegistration (const DcmRLEEncoderRegistration &)
 private undefined copy constructor
DcmRLEEncoderRegistrationoperator= (const DcmRLEEncoderRegistration &)
 private undefined copy assignment operator

Static Private Attributes

static OFBool registered
 flag indicating whether the encoder is already registered.
static DcmRLECodecParametercp
 pointer to codec parameter
static DcmRLECodecEncodercodec
 pointer to RLE encoder

Friends

class DcmRLEEncoderRegistrationDummyFriend

Detailed Description

singleton class that registers an RLE encoder.


Member Function Documentation

static void DcmRLEEncoderRegistration::cleanup ( ) [static]

deregisters encoder.

Attention: Must not be called while other threads might still use the registered codecs, e.g. because they are currently encoding DICOM data sets through dcmdata.

static void DcmRLEEncoderRegistration::registerCodecs ( OFBool  pCreateSOPInstanceUID = OFFalse,
Uint32  pFragmentSize = 0,
OFBool  pCreateOffsetTable = OFTrue,
OFBool  pConvertToSC = OFFalse 
) [static]

registers RLE encoder.

If already registered, call is ignored unless cleanup() has been performed before.

Parameters:
pCreateSOPInstanceUIDflag indicating whether or not a new SOP Instance UID should be assigned upon compression.
pFragmentSizemaximum fragment size (in kbytes) for compression, 0 for unlimited.
pCreateOffsetTablecreate offset table during image compression?
pConvertToSCflag indicating whether image should be converted to Secondary Capture upon compression

The documentation for this class was generated from the following file:


Generated on Tue May 15 2012 for DCMTK Version 3.6.1 20120515 by Doxygen 1.7.5.1-20111027