Base interface for WOSH Bundles. Bundles are services, drivers and even (virtual) devices. They interact and exchange information through wosh::Bus. Implementations are located in /src/bundles folder. More...
#include <H:/WOSH/win32_vc2010/src/core/Bundle.h>
Public Types | |
| enum | BUNDLE_STATE |
States of a generic Bundle. More... | |
Public Member Functions | |
| virtual | ~Bundle () |
| Empty destructor. | |
Bundle interface - management | |
| virtual WRESULT | bundleStart ()=0 |
| virtual WRESULT | bundleRestart ()=0 |
| virtual WRESULT | bundleStop ()=0 |
| virtual WRESULT | bundleDiagnostic ()=0 |
| virtual WRESULT | bundleSnapshotState (long id)=0 |
| virtual const InterfacesProvider * | bundleInterfaces () const =0 |
| virtual const BundleRequirements * | bundleRequirements () const =0 |
| virtual const MethodsProvider * | bundleMethods () const =0 |
| virtual const PropertiesProvider * | bundleProperties () const =0 |
| virtual PropertiesProvider * | bundleProperties ()=0 |
|
virtual const SecurityAuthenticationProvider * | bundleCredentials () const =0 |
| virtual LogContext * | bundleLog () const =0 |
Protected Member Functions | |
| Bundle (wosh::Object *parent=NULL) | |
| Empty constructor. | |
Private Attributes | |
Internal vars | |
| BUNDLE_STATE | bundleState |
Friends | |
| class | wosh::BundleManager |
Getters | |
| BUNDLE_STATE | getBundleState () const |
| virtual BUNDLE_STATE | getBundleStatePrevious (int backward_index=0) const =0 |
| const char * | getBundleStateAsString () const |
| bool | isBundleRunning () const |
|
static struct EnumerationDescription < BUNDLE_STATE > * | getBundleStateEnum () |
| static const char * | getBundleStateAsString (BUNDLE_STATE state) |
Base interface for WOSH Bundles. Bundles are services, drivers and even (virtual) devices. They interact and exchange information through wosh::Bus. Implementations are located in /src/bundles folder.
wosh::BundleManager manages (de)allocation, life cycle of each bundle.
Definition at line 74 of file Bundle.h.
| wosh::Bundle::Bundle | ( | wosh::Object * | parent = NULL ) |
[inline, protected] |
| virtual wosh::Bundle::~Bundle | ( | ) | [inline, virtual] |