emlabcpp
modern opinionated embedded C++ library
emlabcpp::testing::test_interface Class Referenceabstract

#include <interface.h>

+ Inheritance diagram for emlabcpp::testing::test_interface:

Public Member Functions

 test_interface ()=default
 
 test_interface (test_interface const &)=delete
 
test_interfaceoperator= (test_interface const &)=delete
 
 test_interface (test_interface &&other)=default
 
test_interfaceoperator= (test_interface &&)=default
 
virtual std::string_view get_name () const =0
 
virtual coroutine< void > setup (pmr::memory_resource &)
 
virtual coroutine< void > run (pmr::memory_resource &)=0
 
virtual coroutine< void > teardown (pmr::memory_resource &)
 
virtual ~test_interface ()=default
 

Constructor & Destructor Documentation

◆ test_interface() [1/3]

emlabcpp::testing::test_interface::test_interface ( )
default

◆ test_interface() [2/3]

emlabcpp::testing::test_interface::test_interface ( test_interface const &  )
delete

◆ test_interface() [3/3]

emlabcpp::testing::test_interface::test_interface ( test_interface &&  other)
default

◆ ~test_interface()

virtual emlabcpp::testing::test_interface::~test_interface ( )
virtualdefault

Member Function Documentation

◆ get_name()

virtual std::string_view emlabcpp::testing::test_interface::get_name ( ) const
pure virtual

◆ operator=() [1/2]

test_interface& emlabcpp::testing::test_interface::operator= ( test_interface &&  )
default

◆ operator=() [2/2]

test_interface& emlabcpp::testing::test_interface::operator= ( test_interface const &  )
delete

◆ run()

virtual coroutine< void > emlabcpp::testing::test_interface::run ( pmr::memory_resource )
pure virtual

◆ setup()

virtual coroutine< void > emlabcpp::testing::test_interface::setup ( pmr::memory_resource )
virtual

◆ teardown()

virtual coroutine< void > emlabcpp::testing::test_interface::teardown ( pmr::memory_resource )
virtual

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