|
Teko Version of the Day
|
#include <Teko_StaticRequestCallback.hpp>

Public Member Functions | |
| DataT | request (const RequestMesg &rm) |
| bool | handlesRequest (const RequestMesg &rm) |
A simple request interface that takes a static bit of data to return to Teko. This is meant primarily as a testing and early stage development tool.
The constructor takes an object of the same type the class was templated on. It also takes a string to be used to match the request.
Definition at line 28 of file Teko_StaticRequestCallback.hpp.
|
virtual |
Satisfy a request. Similar to preRequest no assumption on the response to handlesRequest is made. Again its up to the user to satisfy this.
Implements Teko::RequestCallback< DataT >.
Definition at line 42 of file Teko_StaticRequestCallback.hpp.
|
virtual |
Does this object satisfy the request?
Implements Teko::RequestCallback< DataT >.
Definition at line 54 of file Teko_StaticRequestCallback.hpp.