lra-simple-panda: converted experiment to campaign
As we need hop chains to efficiently navigate to the injection point on pandaboard, this campaign uses these. As we do not yet have a component, which automatically navigates to a generic InjectionPoint (API needs to be properly designed), we do this explicitly. Change-Id: I26ca6ebb3f05cde735f9641551a8ce5478e463f6
This commit is contained in:
23
src/experiments/lra-simple-panda/campaign.hpp
Normal file
23
src/experiments/lra-simple-panda/campaign.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
#ifndef __DCIAOCAMPAIGN_HPP__
|
||||
#define __DCIAOCAMPAIGN_HPP__
|
||||
|
||||
#include "cpn/DatabaseCampaign.hpp"
|
||||
#include "comm/ExperimentData.hpp"
|
||||
#include "lra_simple.pb.h"
|
||||
#include "util/ElfReader.hpp"
|
||||
#include <google/protobuf/descriptor.h>
|
||||
|
||||
class LraSimpleExperimentData : public fail::ExperimentData {
|
||||
public:
|
||||
LraSimpleProtoMsg msg;
|
||||
LraSimpleExperimentData() : fail::ExperimentData(&msg) {}
|
||||
};
|
||||
|
||||
class LraSimpleCampaign : public fail::DatabaseCampaign {
|
||||
virtual const google::protobuf::Descriptor * cb_result_message()
|
||||
{ return google::protobuf::DescriptorPool::generated_pool()->FindMessageTypeByName("LraSimpleProtoMsg"); }
|
||||
|
||||
virtual void cb_send_pilot(DatabaseCampaignMessage pilot);
|
||||
};
|
||||
|
||||
#endif // __KESOREFCAMPAIGN_HPP__
|
||||
Reference in New Issue
Block a user