Dispatch invokables. More...

Public Types | |
|
typedef AutoPointer < InvocationDispatcher< R, I > > | AP |
| internal shorthand | |
Public Member Functions | |
| InvocationDispatcher () | |
| Constructs the dispatcher. | |
| virtual R | dispatch (const I &invocation)=0 |
| Dispatches the invokable. | |
| virtual void | setDefaultStub (const mockpp::StubHolder< R, I > &newDefaultStub)=0 |
| Sets the default stub for the object. | |
| virtual void | add (typename Invokable< R, I >::AP invokable)=0 |
| Adds an invokable. | |
| virtual void | reset ()=0 |
| Frees all internal data. | |
Dispatch invokables.
Definition at line 57 of file InvocationDispatcher.h.
| virtual void mockpp::InvocationDispatcher< R, I >::add | ( | typename Invokable< R, I >::AP | invokable | ) | [pure virtual] |
Adds an invokable.
| invokable | pointer to the invocable |
| virtual R mockpp::InvocationDispatcher< R, I >::dispatch | ( | const I & | invocation | ) | [pure virtual] |
Dispatches the invokable.
| invocation | the invocation data |
| virtual void mockpp::InvocationDispatcher< R, I >::setDefaultStub | ( | const mockpp::StubHolder< R, I > & | newDefaultStub | ) | [pure virtual] |
Sets the default stub for the object.
| newDefaultStub | pointer to the default stub |
Implemented in mockpp::AbstractInvocationDispatcher< R, I >.
1.6.1