git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1319 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
26 lines
509 B
C++
26 lines
509 B
C++
#ifndef __CAMPAIGN_HPP__
|
|
#define __CAMPAIGN_HPP__
|
|
|
|
namespace fail {
|
|
|
|
/**
|
|
* \class Campaign
|
|
*
|
|
* Basic interface for user-defined campaigns. To create a new
|
|
* campaign, derive your own class from Campaign,
|
|
* define the run method, and add it to the CampaignManager.
|
|
*/
|
|
class Campaign {
|
|
public:
|
|
Campaign() { };
|
|
/**
|
|
* Defines the campaign.
|
|
* @return \c true if the campaign was successful, \c false otherwise
|
|
*/
|
|
virtual bool run() = 0;
|
|
};
|
|
|
|
} // end-of-namespace: fail
|
|
|
|
#endif // __CAMPAIGN_HPP__
|