Click here to Skip to main content
15,896,606 members
Articles / Programming Languages / C++

Remote SOF - An OSGI-like modularization framework for C++ supporting distributed software modules

Rate me:
Please Sign up or sign in to vote.
4.58/5 (8 votes)
13 Jul 2009BSD10 min read 31.4K   15  
The article describes the usage of a modularization framework called Remote SOF supporting distributed software modules.
#ifndef IREMOTE_BUNDLE_ACTIVATOR_H
#define IREMOTE_BUNDLE_ACTIVATOR_H

#include "IRemoteBundleContext.h"

namespace sof { namespace framework { namespace remote { namespace corba {

using namespace sof::framework::remote::corba;

/**
 * A piece of software can be regarded as software bundle when it
 * implements the <code>BundleActivator</code> interface which is responsible 
 * for starting and stopping the software bundle.<br>
 * The framework not the application developer is responsible creating,
 * starting and stopping the bundle activator instance.
 *
 * @author magr74
 */
class IRemoteBundleActivator 
{
	public:

		/**
		 * Destroys the bundle activator object.
		 */
		virtual ~IRemoteBundleActivator() {};

		/**
		 * Starts the bundle activator instance and passes a bundle context
		 * object which provides methods for registering services, service listeners
		 * etc.
		 *
		 * @param context
		 *			The bundle context.
		 */
		virtual void start( IRemoteBundleContext::ConstPtr context ) = 0;

		/**
		 * Stops the bundle activator instance.
		 *
		 * @param context
		 *			The bundle context.
		 */		
		virtual void stop( IRemoteBundleContext::ConstPtr context ) = 0;
};

} } } }

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Software Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions