Decrypt_GCReadHandler Class Reference

Decrypting GCReader handler. More...

#include <crypto_asdcp.h>

Inheritance diagram for Decrypt_GCReadHandler:

GCReadHandler_Base RefCount IRefCount List of all members.

Public Member Functions

 Decrypt_GCReadHandler (GCWriterPtr Writer, UInt32 BodySID)
 Construct a test handler for a specified BodySID.
virtual bool HandleData (GCReaderPtr Caller, KLVObjectPtr Object)
 Handle a "chunk" of data that has been read from the file.
void SetIndex (IndexTablePtr Index)
 Set an index table to update with new byte offsets.

Protected Attributes

UInt32 OurSID
 The BodySID of this essence.
GCWriterPtr Writer
 GCWriter to receive dencrypted data.
IndexTablePtr Index
 Index table to update (or NULL if none).
Position IndexPos
 Current edit unit for indexing.

Private Member Functions

 Decrypt_GCReadHandler ()
 Don't allow standard construction.

Detailed Description

Decrypting GCReader handler.

Passes data straight through to the output file - either decrypted by Decrypt_GCEcryptionHandler or not encrypted in the source file


Constructor & Destructor Documentation

Decrypt_GCReadHandler (  )  [private]

Don't allow standard construction.

Decrypt_GCReadHandler ( GCWriterPtr  Writer,
UInt32  BodySID 
) [inline]

Construct a test handler for a specified BodySID.


Member Function Documentation

virtual bool HandleData ( GCReaderPtr  Caller,
KLVObjectPtr  Object 
) [inline, virtual]

Handle a "chunk" of data that has been read from the file.

Returns:
true if all OK, false on error

Implements GCReadHandler_Base.

void SetIndex ( IndexTablePtr  Index  )  [inline]

Set an index table to update with new byte offsets.


Member Data Documentation

UInt32 OurSID [protected]

The BodySID of this essence.

GCWriterPtr Writer [protected]

GCWriter to receive dencrypted data.

IndexTablePtr Index [protected]

Index table to update (or NULL if none).

Position IndexPos [protected]

Current edit unit for indexing.


The documentation for this class was generated from the following file:
Generated on Mon Apr 2 15:20:56 2007 for MXFLib by  doxygen 1.5.1-p1