src/sim/eventq.hh
/**
     * This function wraps a function into an event, to be
     * executed later.
     *
     * @ingroup api_eventq
     */
This function wraps a function into an event, to be
executed later.


This function wraps a function into an event to be executed later .
EventFunctionWrapper(const std::function<void(void)> &callback,
                         const std::string &name,
                         bool del = false,
                         Priority p = Default_Pri)
        : Event(p), callback(callback), _name(name)
    {
        if (del)
            setFlags(AutoDelete);
    }
EventFunctionWrapper ( const std :: function < void ( void ) > & callback , const std :: string & name , bool del = false , Priority p = Default_Pri ) : Event ( p ) , callback ( callback ) , _name ( name ) { if ( del ) setFlags ( AutoDelete ) ; }
This function wraps a function into an event, to be
 executed later.
This function wraps a function into an event to be executed later .