#include <TransportBase.hh>
Public Member Functions | |
TransportCallback (HelperFunction::FuncType funcptr) | |
template<typename T > | |
TransportCallback (T *obj, typename HelperMember< T >::FuncType func) | |
void | operator() (TransportEvent &ev) |
TransportCallback (const TransportCallback &other) | |
TransportCallback & | operator= (const TransportCallback &other) |
Represents a callback function for the Transport system. It can hold a pointer to a callback function which can be either a free function or an object and a member function. It is like a simplified and less flexible version of boost::function. I didn't use boost::function because I didn't want to rely on too many external dependencies.