Adapter for the "translation" to typeless stub objects. More...
Public Member Functions | |
TypelessStubAdapter (typename TypelessStub< R >::AP tm, bool in_delete=true) | |
Creates the object. | |
virtual R | invoke (const I &invocation) |
Mock the invocation. |
Adapter for the "translation" to typeless stub objects.
Definition at line 124 of file TypelessStub.h.
mockpp::TypelessStubAdapter< R, I >::TypelessStubAdapter | ( | typename TypelessStub< R >::AP | tm, | |
bool | in_delete = true | |||
) | [inline] |
Creates the object.
tm | pointer to stub object | |
in_delete | true: delete stub when the object is destroyed |
Definition at line 132 of file TypelessStub.h.
virtual R mockpp::TypelessStubAdapter< R, I >::invoke | ( | const I & | invocation | ) | [inline, virtual] |
Mock the invocation.
invocation | invocation data |
Implements mockpp::Stub< R, I >.
Definition at line 140 of file TypelessStub.h.