OTest2
A C++ testing framework
Public Member Functions | List of all members
OTest2::FceMarshaler Class Referenceabstract

Generic interface of a function marshaler. More...

#include <fcemarshaler.h>

Inheritance diagram for OTest2::FceMarshaler:
Inheritance graph
[legend]

Public Member Functions

 FceMarshaler ()
 Ctor. More...
 
virtual ~FceMarshaler ()
 Dtor. More...
 
 FceMarshaler (const FceMarshaler &)=delete
 
FceMarshaleroperator= (const FceMarshaler &)=delete
 
virtual void runFunction (const Context &context_)=0
 Run the function. More...
 

Detailed Description

Generic interface of a function marshaler.

Function marshalers run user functions (start-up, tear-down and test states) and passes user data as their arguments. The actual marshalers are generated by the otest2 generator.

Definition at line 38 of file fcemarshaler.h.

Constructor & Destructor Documentation

◆ FceMarshaler() [1/2]

OTest2::FceMarshaler::FceMarshaler ( )

Ctor.

Definition at line 24 of file fcemarshaler.cpp.

◆ ~FceMarshaler()

OTest2::FceMarshaler::~FceMarshaler ( )
virtual

Dtor.

Definition at line 28 of file fcemarshaler.cpp.

◆ FceMarshaler() [2/2]

OTest2::FceMarshaler::FceMarshaler ( const FceMarshaler )
delete

Member Function Documentation

◆ operator=()

FceMarshaler& OTest2::FceMarshaler::operator= ( const FceMarshaler )
delete

◆ runFunction()

virtual void OTest2::FceMarshaler::runFunction ( const Context context_)
pure virtual

Run the function.

Parameters
context_OTest2 context
Warning
The function may throw an exception!

Implemented in OTest2::EmptyMarshaler.


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