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
20 lines
486 B
C++
20 lines
486 B
C++
#include <iostream>
|
|
#include <fstream>
|
|
|
|
#include "campaign.hpp"
|
|
#include "cpn/CampaignManager.hpp"
|
|
#include "util/ElfReader.hpp"
|
|
#include "util/ProtoStream.hpp"
|
|
#include "sal/SALConfig.hpp"
|
|
|
|
using namespace std;
|
|
using namespace fail;
|
|
using namespace google::protobuf;
|
|
|
|
void LraSimpleCampaign::cb_send_pilot(DatabaseCampaignMessage pilot) {
|
|
LraSimpleExperimentData *data = new LraSimpleExperimentData;
|
|
data->msg.mutable_fsppilot()->CopyFrom(pilot);
|
|
campaignmanager.addParam(data);
|
|
}
|
|
|