Allows to interact with a platform manager.

#include <platformmanagerApi.h>

Public Member Functions

 PlatformManager (std::string ip="127.0.0.1")
 
bool isAlive ()
 
void monitorServiceAvailability_S (dpyPlatformmanager::service_availability_handler handler)
 
void monitorServiceAvailability_U ()
 
void asyncGetProcessStatus (dpyPlatformmanager::process_status_handler_function handler, std::string name="")
 
void asyncGetExtendedProcessStatus (dpyPlatformmanager::extended_process_status_handler_function handler, std::string name="")
 
void asyncStartProcess (dpyPlatformmanager::result_handler_function handler, std::string name)
 
void asyncStopProcess (dpyPlatformmanager::result_handler_function handler, std::string name)
 
void asyncAddProcess (dpyPlatformmanager::result_handler_function handler, std::string name, dpyPlatformmanager::Options options)
 
void asyncAddProcess (dpyPlatformmanager::result_handler_function handler, std::string name, dpyPlatformmanager::ExtendedProcessOptions options)
 
void asyncDelProcess (dpyPlatformmanager::result_handler_function handler, std::string name)
 
void asyncKickWatchdog (dpyPlatformmanager::result_handler_function handler, std::string name)
 
void asyncKickWatchdog (dpyPlatformmanager::result_handler_function handler, std::string name, int deadline)
 
void asyncWait (dpyPlatformmanager::result_handler_function handler, std::string processName)
 
void asyncFinished (dpyPlatformmanager::result_handler_function handler, std::string processName, dpyPlatformmanager::EvaluationResult)
 
boost::system::error_code subscribe (PlatformManagerObserver *observer)
 
boost::system::error_code unsubscribe (PlatformManagerObserver *observer)