39 #ifndef STARTSTOPMANAGER_HPP 40 #define STARTSTOPMANAGER_HPP 42 #include "../Time.hpp" 43 #include <boost/function.hpp> 44 #include <boost/bind.hpp> 47 #include "../rtt-config.h" 68 static void Release();
70 typedef int (*start_fun)(void);
76 void startFunction( start_fun t );
81 void stopFunction( stop_fun t );
101 void res_collector( start_fun f )
107 static void caller( stop_fun f)
115 std::vector<start_fun> startv;
116 std::vector<stop_fun> stopv;
boost::function< void(void)> stop_fun
Use this to register a global cleanup function to the StartStopManager.
Use this to register a global init function to the StartStopManager.
static StartStopManager * Instance()
InitFunction(int(*f)(void))
void startFunction(start_fun t)
Register a start function.
CleanupFunction(void(*f)(void))
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
void stopFunction(stop_fun t)
Register a stop function.
This manager starts and stops all globally registered start/stop functions, without a particular orde...