Specs
Beautiful C++ Test Framework
Loading...
Searching...
No Matches
SpecDone.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Specs/API.h
>
4
5
namespace
SpecsCpp
{
6
7
class
SpecDone
{
8
ISpecCodeBlock::SpecCodeBlockAsyncDoneFn
* _doneFn;
9
10
public
:
11
SpecDone
(
ISpecCodeBlock::SpecCodeBlockAsyncDoneFn
* doneFn) : _doneFn(doneFn) {}
12
13
void
operator()
() { _doneFn->invoke(); }
14
};
15
}
API.h
SpecsCpp::SpecDone
Definition
SpecDone.h:7
SpecsCpp::SpecDone::SpecDone
SpecDone(ISpecCodeBlock::SpecCodeBlockAsyncDoneFn *doneFn)
Definition
SpecDone.h:11
SpecsCpp::SpecDone::operator()
void operator()()
Definition
SpecDone.h:13
SpecsCpp
Definition
API.h:3
SpecsCpp::ISpecCodeBlock::SpecCodeBlockAsyncDoneFn
IFunctionPointer< void()> SpecCodeBlockAsyncDoneFn
Definition
API.h:201
Specs.Implementations
include
Specs
SpecDone.h
<3 Mrowr Purr