platformmanagerApi.h
Go to the documentation of this file.
82 typedef boost::function<void(boost::system::error_code error_code, std::vector<dpyPlatformmanager::Info> info)> process_status_handler_function;
92 typedef boost::function<void(boost::system::error_code error_code, std::vector<dpyPlatformmanager::ExtendedProcessInfo> info)> extended_process_status_handler_function;
101 typedef boost::function<void(boost::system::error_code error_code, const dpyPlatformmanager::EvaluationStatus& status)> evaluation_status_handler_function;
118 typedef boost::function<void(boost::system::error_code error_code, std::string name, ProcessListEvent event, Options options )> process_list_event_handler_function;
126 typedef boost::function<void(boost::system::error_code error_code, std::string name, ProcessListEvent event, dpyPlatformmanager::ExtendedProcessOptions options )> process_list_event_extended_handler_function;
134 typedef boost::function<void(boost::system::error_code error_code, std::string name, ProcessEvent event)> process_event_handler_function;
153 virtual void evaluationStatusChange(__attribute__((unused)) const dpyPlatformmanager::EvaluationStatus& status) {};
158 virtual void processStatusChange(__attribute__((unused)) std::vector<dpyPlatformmanager::Info> info) {};
164 virtual void processStatusChange(__attribute__((unused)) std::vector<dpyPlatformmanager::ExtendedProcessInfo> info) {};
172 virtual void processListEvent(__attribute__((unused)) std::string name, __attribute__((unused)) dpyPlatformmanager::ProcessListEvent event, __attribute__((unused)) dpyPlatformmanager::Options options) {};
180 virtual void processListEvent(__attribute__((unused)) std::string name, __attribute__((unused)) dpyPlatformmanager::ProcessListEvent event, __attribute__((unused)) dpyPlatformmanager::ExtendedProcessOptions options) {};
187 virtual void processEvent(__attribute__((unused)) std::string name, __attribute__((unused)) dpyPlatformmanager::ProcessEvent event) {};
222 [[deprecated("asyncGetProcessStatus is deprecated, use the version of asyncGetProcessStatus using extended_process_status_handler_function handler")]]
223 void asyncGetProcessStatus(dpyPlatformmanager::process_status_handler_function handler, std::string name = "");
224 void asyncGetExtendedProcessStatus(dpyPlatformmanager::extended_process_status_handler_function handler, std::string name = "");
227 [[deprecated("asyncAddProcess is deprecated, use the version of asyncAddProcess using dpyPlatformmanager::ExtendedProcessOptions struct")]]
228 void asyncAddProcess(dpyPlatformmanager::result_handler_function handler, std::string name, dpyPlatformmanager::Options options);
229 void asyncAddProcess(dpyPlatformmanager::result_handler_function handler, std::string name, dpyPlatformmanager::ExtendedProcessOptions options);
233 void asyncKickWatchdog(dpyPlatformmanager::result_handler_function handler, std::string name, int deadline);
236 virtual void asyncWait(dpyPlatformmanager::result_handler_function handler, std::string processName);
237 virtual void asyncFinished(dpyPlatformmanager::result_handler_function handler, std::string processName, dpyPlatformmanager::EvaluationResult);
243 void asyncFinished(dpyPlatformmanager::result_handler_function handler, std::string processName, dpyPlatformmanager::EvaluationResult);
virtual void processListEvent() std
Definition: platformmanagerApi.h:172
boost::function< void(const bool &available)> service_availability_handler
Prototype of the handler function used to monitor service availability.
Definition: platformmanagerApi.h:73
virtual void processEvent() std
Definition: platformmanagerApi.h:187
Definition: platformManagerTypes.h:48
boost::function< void(boost::system::error_code error_code, std::string name, ProcessListEvent event, Options options)> process_list_event_handler_function
Handler for process list events.
Definition: platformmanagerApi.h:118
virtual void availabilityStatusChange() bool available)
Definition: platformmanagerApi.h:148
Definition: platformmanagerApi.h:61
virtual ~PlatformManagerObserver()
Destructor.
Definition: platformmanagerApi.h:191
boost::function< void(boost::system::error_code error_code, std::string name, ProcessListEvent event, dpyPlatformmanager::ExtendedProcessOptions options)> process_list_event_extended_handler_function
Handler for process list events.
Definition: platformmanagerApi.h:126
virtual void processStatusChange() std
Definition: platformmanagerApi.h:158
Deepsy Platformmanager namespace that includes the different enums, structs or method signatures that...
Definition: platformmanagerApi.h:18
Definition: platformmanagerApi.h:31
boost::function< void(boost::system::error_code error_code, std::string name, ProcessEvent event)> process_event_handler_function
Handler for process events.
Definition: platformmanagerApi.h:134
Definition: platformmanagerApi.h:32
Definition: platformmanagerApi.h:54
virtual void evaluationStatusChange() const dpyPlatformmanager
Definition: platformmanagerApi.h:153
boost::function< void(boost::system::error_code error_code)> result_handler_function
Handler for command function callback.
Definition: platformmanagerApi.h:109
Definition: platformmanagerApi.h:141
Interacts with platform manager service.
Definition: platformmanagerClient.h:14
Definition: platformmanagerApi.h:39
Definition: platformManagerTypes.h:35
Definition: platformmanagerApi.h:53
boost::function< void(boost::system::error_code error_code, std::vector< dpyPlatformmanager::ExtendedProcessInfo > info)> extended_process_status_handler_function
Handler for status function callback.
Definition: platformmanagerApi.h:92
boost::function< void(boost::system::error_code error_code, std::vector< dpyPlatformmanager::Info > info)> process_status_handler_function
Handler for status function callback.
Definition: platformmanagerApi.h:82
boost::function< void(boost::system::error_code error_code, const dpyPlatformmanager::EvaluationStatus &status)> evaluation_status_handler_function
Handler for status function callback.
Definition: platformmanagerApi.h:101