AVBlocks for C++  1.9
Audio and Video Software Development Kit
Reference Class Reference

Base class for all objects that require reference management. More...

Inherited by ErrorInfo, MediaInfo, MediaPin, MediaSocket, Parameter, ParameterList, Transcoder, TranscoderCallback, MediaBuffer, MediaSample, MetaAttribute, MetaAttributeList, Metadata, MetaPicture, MetaPictureList, StreamInfo, StreamInfoEnum, LicenseInfo, and Stream.

List of all members.

Public Member Functions

virtual int32_t retain () const =0
 Retains the instance.
virtual int32_t release () const =0
 Releases the instance.
virtual int32_t retainCount () const =0
 Returns the current reference count.

Detailed Description

Base class for all objects that require reference management.


Member Function Documentation

virtual int32_t release ( ) const [pure virtual]

Releases the instance.

Decrements the internal reference count.

Returns:
the new reference count.

Implemented in TranscoderCallback, and Stream.

virtual int32_t retain ( ) const [pure virtual]

Retains the instance.

Increments the internal reference count.

Returns:
the updated reference count.

Implemented in TranscoderCallback, and Stream.

virtual int32_t retainCount ( ) const [pure virtual]

Returns the current reference count.

Returns:
the current reference count.

Implemented in TranscoderCallback, and Stream.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator