Audio Processing Framework (APF) version 0.5.0
Public Member Functions | List of all members
apf::RtList< T * >::ClearCommand Class Reference

Command to remove all elements from a list. More...

#include <apf/rtlist.h>

Inheritance diagram for apf::RtList< T * >::ClearCommand:
Inheritance graph
[legend]

Public Member Functions

 ClearCommand (list_t &dst_list)
 Constructor. More...
 
virtual void execute ()
 The actual implementation of the command. More...
 
virtual void cleanup ()
 Cleanup of resources. More...
 
- Public Member Functions inherited from apf::CommandQueue::Command
virtual ~Command ()
 Empty virtual destructor. More...
 
virtual void execute ()=0
 The actual implementation of the command. More...
 
virtual void cleanup ()=0
 Cleanup of resources. More...
 
- Public Member Functions inherited from apf::NonCopyable
 NonCopyable (const NonCopyable &)=delete
 
NonCopyableoperator= (const NonCopyable &)=delete
 
 NonCopyable (NonCopyable &&)=default
 
NonCopyableoperator= (NonCopyable &&)=default
 

Additional Inherited Members

- Protected Member Functions inherited from apf::NonCopyable
 NonCopyable ()=default
 Protected default constructor. More...
 
 ~NonCopyable ()=default
 Protected non-virtual destructor. More...
 

Detailed Description

template<typename T>
class apf::RtList< T * >::ClearCommand

Command to remove all elements from a list.

Definition at line 254 of file rtlist.h.

Constructor & Destructor Documentation

◆ ClearCommand()

template<typename T >
apf::RtList< T * >::ClearCommand::ClearCommand ( list_t &  dst_list)
inline

Constructor.

Parameters
dst_listList from which all elements will be removed

Definition at line 259 of file rtlist.h.

Member Function Documentation

◆ execute()

template<typename T >
virtual void apf::RtList< T * >::ClearCommand::execute ( )
inlinevirtual

The actual implementation of the command.

This is called from the realtime thread. Overwritten in the derived class.

Implements apf::CommandQueue::Command.

Definition at line 263 of file rtlist.h.

◆ cleanup()

template<typename T >
virtual void apf::RtList< T * >::ClearCommand::cleanup ( )
inlinevirtual

Cleanup of resources.

This is called from the non-realtime thread. Overwritten in the derived class.

Implements apf::CommandQueue::Command.

Definition at line 268 of file rtlist.h.


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