#include <vhdServiceManager.h>
Public Member Functions | |
vhdServiceManager (vhdRuntimeEngineRef runtimeEngine) | |
virtual | ~vhdServiceManager () |
vhtBool | isInitialized () |
vhtBool | hasService (const std::string &serviceClassName="", const std::string &serviceName="") |
vhtSize32 | getNumberOfServices (const std::string &serviceClassName="") |
vhtSize32 | getNumberOfLocalServices (const std::string &serviceClassName="") |
vhtSize32 | getNumberOfRemoteServices (const std::string &serviceClassName="") |
vhtBool | hasServiceLoader (const std::string &serviceClassName) |
vhdServiceLoaderRegisterRef | getServiceLoaderRegister () |
vhdServiceHandleRef | loadLocalService (const std::string &serviceClassName, const std::string &serviceName, vhdServiceConfigPropertyRef serviceConfig=0) |
vhtBool | tryUnloadLocalService (const std::string &serviceName) |
vhdIServiceInterfaceRef | getServiceInterface (const std::string &serviceInterfaceName, const std::string &serviceClassName="", const std::string &serviceName="") |
std::deque< vhdIServiceInterfaceRef > | getServiceInterfaces (const std::string &serviceInterfaceName, const std::string &serviceClassName="", const std::string &serviceName="") |
template<typename T> | |
void | getServiceInterfaceT (vhdRef< T > &serviceInterface, const std::string &serviceClassName="", const std::string &serviceName="") |
template<typename T> | |
void | getServiceInterfacesT (std::deque< vhdRef< T > > &serviceInterfaceDeque, const std::string &serviceClassName="", const std::string &serviceName="") |
vhdProvidedServiceInterfaceRef | getProvidedServiceInterface (const std::string &serviceInterfaceName="", const std::string &serviceClassName="", const std::string &serviceName="") |
std::deque< vhdProvidedServiceInterfaceRef > | getProvidedServiceInterfaces (const std::string &serviceInterfaceName="", const std::string &serviceClassName="", const std::string &serviceName="") |
vhdServiceHandleRef | getServiceHandle (const std::string &serviceInterfaceName="", const std::string &serviceClassName="", const std::string &serviceName="") |
std::deque< vhdServiceHandleRef > | getServiceHandles (const std::string &serviceInterfaceName="", const std::string &serviceClassName="", const std::string &serviceName="") |
vhdServiceSchedulerConfigPropertyRef | getServiceSchedulerConfigProperty () |
vhtBool | isServiceScheduleBuilderAvailable () |
void | scheduleServices () |
vhtBool | areAllLocalServicesScheduled () |
vhtSize32 | getNumberOfLocalScheduledServices () |
vhtSize32 | getNumberOfLocalNonScheduledServices () |
vhtSize32 | getNumberOfSchedules () |
std::deque< std::string > | getScheduleInfo (vhtSize32 index) |
void | setCustomServiceScheduleBuilder (vhdIServiceScheduleBuilderRef scheduleBuilder) |
vhdIServiceScheduleBuilderRef | getCustomServiceScheduleBuilder () |
vhtBool | areAllLocalServicesInitialized () |
vhtBool | areAllLocalServicesRunning () |
vhtBool | areAllLocalServicesFrozen () |
vhtBool | areAllLocalServicesTerminated () |
vhtSize32 | tryInitAllLocalServices (vhtTime timeout=0.0, const std::string &serviceClassName="") |
vhtSize32 | tryRunAllLocalServices (vhtTime timeout=0.0, const std::string &serviceClassName="") |
vhtSize32 | tryFreezeAllLocalServices (vhtTime timeout=0.0, const std::string &serviceClassName="") |
vhtSize32 | tryTerminateAllLocalServices (vhtTime timeout=0.0, const std::string &serviceClassName="") |
void | initAllLocalServices (const std::string &serviceClassName="") |
void | runAllLocalServices (const std::string &serviceClassName="") |
void | freezeAllLocalServices (const std::string &serviceClassName="") |
void | terminateAllLocalServices (const std::string &serviceClassName="") |
Private Member Functions | |
void | _handleServiceStateChange (vhdServiceHandleRef serviceHandle) |
virtual void | _handleAddProperty (vhdPropertyRef property) |
virtual void | _handleRemoveProperty (vhdPropertyRef property) |
virtual void | _handlePropertyChange (vhdPropertyRef property) |
void | _init (vhdEventManagerRef eventManager) |
void | _update () |
void | _terminate () |
Private Attributes | |
vhdCLASS_TYPE | |
_Impl * | _impl |
Friends | |
class | vhdServiceHandle |
class | vhdPropertyManager |
class | vhdRuntimeEngine |
Classes | |
class | _Impl |
vhdServiceManager::vhdServiceManager | ( | vhdRuntimeEngineRef | runtimeEngine | ) |
vhdServiceManager::~vhdServiceManager | ( | ) | [virtual] |
vhtBool vhdServiceManager::isInitialized | ( | ) |
vhtBool vhdServiceManager::hasService | ( | const std::string & | serviceClassName = "" , |
|
const std::string & | serviceName = "" | |||
) |
vhtSize32 vhdServiceManager::getNumberOfServices | ( | const std::string & | serviceClassName = "" |
) |
vhtSize32 vhdServiceManager::getNumberOfLocalServices | ( | const std::string & | serviceClassName = "" |
) |
vhtSize32 vhdServiceManager::getNumberOfRemoteServices | ( | const std::string & | serviceClassName = "" |
) |
vhtBool vhdServiceManager::hasServiceLoader | ( | const std::string & | serviceClassName | ) |
vhdServiceLoaderRegisterRef vhdServiceManager::getServiceLoaderRegister | ( | ) |
vhdServiceHandleRef vhdServiceManager::loadLocalService | ( | const std::string & | serviceClassName, | |
const std::string & | serviceName, | |||
vhdServiceConfigPropertyRef | serviceConfig = 0 | |||
) |
vhtBool vhdServiceManager::tryUnloadLocalService | ( | const std::string & | serviceName | ) |
vhdIServiceInterfaceRef vhdServiceManager::getServiceInterface | ( | const std::string & | serviceInterfaceName, | |
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) |
std::deque< vhdIServiceInterfaceRef > vhdServiceManager::getServiceInterfaces | ( | const std::string & | serviceInterfaceName, | |
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) |
void vhdServiceManager::getServiceInterfaceT | ( | vhdRef< T > & | serviceInterface, | |
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) | [inline] |
void vhdServiceManager::getServiceInterfacesT | ( | std::deque< vhdRef< T > > & | serviceInterfaceDeque, | |
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) | [inline] |
vhdProvidedServiceInterfaceRef vhdServiceManager::getProvidedServiceInterface | ( | const std::string & | serviceInterfaceName = "" , |
|
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) |
std::deque< vhdProvidedServiceInterfaceRef > vhdServiceManager::getProvidedServiceInterfaces | ( | const std::string & | serviceInterfaceName = "" , |
|
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) |
vhdServiceHandleRef vhdServiceManager::getServiceHandle | ( | const std::string & | serviceInterfaceName = "" , |
|
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) |
std::deque< vhdServiceHandleRef > vhdServiceManager::getServiceHandles | ( | const std::string & | serviceInterfaceName = "" , |
|
const std::string & | serviceClassName = "" , |
|||
const std::string & | serviceName = "" | |||
) |
vhdServiceSchedulerConfigPropertyRef vhdServiceManager::getServiceSchedulerConfigProperty | ( | ) |
vhtBool vhdServiceManager::isServiceScheduleBuilderAvailable | ( | ) |
void vhdServiceManager::scheduleServices | ( | ) |
vhtBool vhdServiceManager::areAllLocalServicesScheduled | ( | ) |
vhtSize32 vhdServiceManager::getNumberOfLocalScheduledServices | ( | ) |
vhtSize32 vhdServiceManager::getNumberOfLocalNonScheduledServices | ( | ) |
vhtSize32 vhdServiceManager::getNumberOfSchedules | ( | ) |
std::deque< std::string > vhdServiceManager::getScheduleInfo | ( | vhtSize32 | index | ) |
void vhdServiceManager::setCustomServiceScheduleBuilder | ( | vhdIServiceScheduleBuilderRef | scheduleBuilder | ) |
vhdIServiceScheduleBuilderRef vhdServiceManager::getCustomServiceScheduleBuilder | ( | ) |
vhtBool vhdServiceManager::areAllLocalServicesInitialized | ( | ) |
vhtBool vhdServiceManager::areAllLocalServicesRunning | ( | ) |
vhtBool vhdServiceManager::areAllLocalServicesFrozen | ( | ) |
vhtBool vhdServiceManager::areAllLocalServicesTerminated | ( | ) |
vhtSize32 vhdServiceManager::tryInitAllLocalServices | ( | vhtTime | timeout = 0.0 , |
|
const std::string & | serviceClassName = "" | |||
) |
vhtSize32 vhdServiceManager::tryRunAllLocalServices | ( | vhtTime | timeout = 0.0 , |
|
const std::string & | serviceClassName = "" | |||
) |
vhtSize32 vhdServiceManager::tryFreezeAllLocalServices | ( | vhtTime | timeout = 0.0 , |
|
const std::string & | serviceClassName = "" | |||
) |
vhtSize32 vhdServiceManager::tryTerminateAllLocalServices | ( | vhtTime | timeout = 0.0 , |
|
const std::string & | serviceClassName = "" | |||
) |
void vhdServiceManager::initAllLocalServices | ( | const std::string & | serviceClassName = "" |
) |
void vhdServiceManager::runAllLocalServices | ( | const std::string & | serviceClassName = "" |
) |
void vhdServiceManager::freezeAllLocalServices | ( | const std::string & | serviceClassName = "" |
) |
void vhdServiceManager::terminateAllLocalServices | ( | const std::string & | serviceClassName = "" |
) |
void vhdServiceManager::_handleServiceStateChange | ( | vhdServiceHandleRef | serviceHandle | ) | [private] |
void vhdServiceManager::_handleAddProperty | ( | vhdPropertyRef | property | ) | [private, virtual] |
void vhdServiceManager::_handleRemoveProperty | ( | vhdPropertyRef | property | ) | [private, virtual] |
void vhdServiceManager::_handlePropertyChange | ( | vhdPropertyRef | property | ) | [private, virtual] |
void vhdServiceManager::_init | ( | vhdEventManagerRef | eventManager | ) | [private] |
void vhdServiceManager::_update | ( | ) | [private] |
void vhdServiceManager::_terminate | ( | ) | [private] |
friend class vhdServiceHandle [friend] |
friend class vhdPropertyManager [friend] |
friend class vhdRuntimeEngine [friend] |
vhdServiceManager::vhdCLASS_TYPE [private] |
_Impl* vhdServiceManager::_impl [private] |