Click here to Skip to main content
15,886,012 members
Articles / Programming Languages / C#

SOF - An OSGI-like modularization framework for C++

Rate me:
Please Sign up or sign in to vote.
4.75/5 (22 votes)
24 Sep 2008BSD8 min read 87.8K   653   39  
The article describes the usage of a modularization framework called SOF.
#ifndef START_BUNDLE_FROM_DLL_CMD_H
#define START_BUNDLE_FROM_DLL_CMD_H

#include <string>
#include <vector>

#include "ConsoleCommand.h"

namespace sof { namespace services { namespace admin {

using namespace std;

using namespace sof::services::admin;

/**
 * The <code>StartBundleFromDLLCmd<code> represents a console command
 * which starts a bundle from DLL.<br>
 * Example:<br>
 * <code>stbdll <bundle name> <class name> <lib path> <lib name></code>
 */
class StartBundleFromDLLCmd : public ConsoleCommand
{
	public:

		/**
		 * Creates instances of class </code>StartBundleFromDLLCmd</code>.
		 */
		StartBundleFromDLLCmd();

		/**
		 * @see sof::services::admin::ConsoleCommand::getName
		 */
		string getName();

		/**
		 * @see sof::services::admin::ConsoleCommand::getDescription
		 */
		string getDescription();

		/**
		 * @see sof::services::admin::ConsoleCommand::getParameterNum
		 */
		int getParameterNum();

		/**
		 * @see sof::services::admin::ConsoleCommand::execute
		 */
		string execute( IAdministrationService* const adminService, vector<string> params );
};

}}}

#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