Public Types | Public Member Functions | Protected Member Functions | Friends

wosh::Bundle Class Reference
[Core-Interfaces]

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>

List of all members.

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 InterfacesProviderbundleInterfaces () const =0
virtual const BundleRequirementsbundleRequirements () const =0
virtual const MethodsProviderbundleMethods () const =0
virtual const PropertiesProviderbundleProperties () const =0
virtual PropertiesProviderbundleProperties ()=0
virtual const
SecurityAuthenticationProvider
bundleCredentials () const =0
virtual LogContextbundleLog () 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)

Detailed Description

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.

See also:
wosh::BundleGeneric
Bundles
Version:
0.8.013
Id:
Bundle.h 3775 2011-01-01 16:38:17Z alex
Author:
Alessandro Polo

Definition at line 74 of file Bundle.h.


Member Enumeration Documentation

States of a generic Bundle.

Definition at line 82 of file Bundle.h.


Constructor & Destructor Documentation

wosh::Bundle::Bundle ( wosh::Object parent = NULL ) [inline, protected]

Empty constructor.

Parameters:
parent[in] the parent object, usually NULL, still not really used.

Definition at line 100 of file Bundle.h.

virtual wosh::Bundle::~Bundle (  ) [inline, virtual]

Empty destructor.

Definition at line 108 of file Bundle.h.


The documentation for this class was generated from the following files:

Generated on Tue Feb 8 2011 09:33:27 for WOSH system 0.8.888 [wolf] by Alessandro Polo, using DoxyGen 1.7.2 hosted by WOSH Framework