AVBlocks for C++  1.13
Audio and Video Software Development Kit
primo::avblocks::ParamType Namespace Reference

The ParamType represents the type of the data stored in a Parameter. More...

Enumerations

enum  Enum {
  Float = 1,
  ByteArray = 2,
  MediaBuffer = 3,
  VideoStreamInfo = 4,
  String = 5,
  Int = 6
}
 ParamType::Enum. More...
 

Detailed Description

The ParamType represents the type of the data stored in a Parameter.

Depending on this constant a Parameter interface can be cast to child interfaces such as IntParameter, StringParameter, ByteArrayParameter, etc.

See Also
Parameter::type

Enumeration Type Documentation

enum Enum

ParamType::Enum.

Enumerator
Float 

The parameter represents a 64-bit floating point number (double precision).

ByteArray 

The parameter represents a byte array (buffer) and can be cast to ByteArrayParameter.

MediaBuffer 

The parameter represents a MediaBuffer object and can be cast to MediaBufferParameter.

VideoStreamInfo 

The parameter represents a VideoStreamInfo object and can be cast to VideoStreamInfo.

String 

The parameter represents a generic value which is stored in a char_t string.

The parameter name constant documents how this value should be interpreted.

The parameter can be cast to StringParameter.

The StringParameter can be used instead of the GenericParameter when working with char_t symbols is preferred to char symbols.

Int 

The parameter represents a 64-bit Integer.