IDS peak IPL v1.18.0
Loading...
Searching...
No Matches
peak::ipl::container::IContainer Class Referenceabstract

Container Interface Class. More...

#include <peak_ipl/io/peak_ipl_video_writer.hpp>

Inheritance diagram for peak::ipl::container::IContainer:
peak::ipl::container::AVIContainer

Public Member Functions

 IContainer ()=default
virtual ~IContainer ()=default
virtual PEAK_IPL_VIDEO_CONTAINER Id ()=0
void SetOption (PEAK_IPL_VIDEO_CONTAINER_OPTION option, const void *value, size_t count)
 Sets an option on the container.
void GetOption (PEAK_IPL_VIDEO_CONTAINER_OPTION option, void *value, size_t count, size_t *outCount)
 Gets an option of the container.
void OptionRange (PEAK_IPL_VIDEO_CONTAINER_OPTION option, void *min, void *max, void *inc)
 Receive the range for an option of the container.

Protected Member Functions

void SetHandle (PEAK_IPL_VIDEO_HANDLE handle)

Protected Attributes

PEAK_IPL_VIDEO_HANDLE m_handle { nullptr }

Friends

class peak::ipl::VideoWriter

Detailed Description

Container Interface Class.

Constructor & Destructor Documentation

◆ IContainer()

peak::ipl::container::IContainer::IContainer ( )
default

◆ ~IContainer()

virtual peak::ipl::container::IContainer::~IContainer ( )
virtualdefault

Member Function Documentation

◆ GetOption()

void peak::ipl::container::IContainer::GetOption ( PEAK_IPL_VIDEO_CONTAINER_OPTION option,
void * value,
size_t count,
size_t * outCount )
inline

Gets an option of the container.

Parameters
[in]optionThe container option to get.
[out]valueThe value for the container option.
[in]countThe size of the value.
[out]outCountThe resulting size of the value.
Exceptions
InvalidArgumentExceptionArguments passed are invalid
ExceptionAn internal error has occurred
Since
1.5

◆ Id()

virtual PEAK_IPL_VIDEO_CONTAINER peak::ipl::container::IContainer::Id ( )
pure virtual

◆ OptionRange()

void peak::ipl::container::IContainer::OptionRange ( PEAK_IPL_VIDEO_CONTAINER_OPTION option,
void * min,
void * max,
void * inc )
inline

Receive the range for an option of the container.

Parameters
[in]optionThe container option to receive the range from.
[out]minThe minimum value for the container option.
[out]maxThe maximum value for the container option.
[out]incThe increment value for the container option.
Exceptions
InvalidArgumentExceptionArguments passed are invalid
ExceptionAn internal error has occurred
Since
1.5

◆ SetHandle()

void peak::ipl::container::IContainer::SetHandle ( PEAK_IPL_VIDEO_HANDLE handle)
inlineprotected

◆ SetOption()

void peak::ipl::container::IContainer::SetOption ( PEAK_IPL_VIDEO_CONTAINER_OPTION option,
const void * value,
size_t count )
inline

Sets an option on the container.

Parameters
[in]optionThe container option to set.
[in]valueThe value for the container option.
[in]countThe size of the value.
Exceptions
InvalidArgumentExceptionArguments passed are invalid
ExceptionAn internal error has occurred
Since
1.5

◆ peak::ipl::VideoWriter

friend class peak::ipl::VideoWriter
friend

Member Data Documentation

◆ m_handle

PEAK_IPL_VIDEO_HANDLE peak::ipl::container::IContainer::m_handle { nullptr }
protected

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