mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
parent
ae17d58cc4
commit
3b5f686262
2 changed files with 8 additions and 6 deletions
|
@ -44,15 +44,17 @@ protected:
|
||||||
std::string dmaName;
|
std::string dmaName;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual int
|
virtual
|
||||||
_read(Sample *smps[], unsigned cnt);
|
int _read(Sample *smps[], unsigned cnt);
|
||||||
|
|
||||||
virtual int
|
virtual
|
||||||
_write(Sample *smps[], unsigned cnt);
|
int _write(Sample *smps[], unsigned cnt);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FpgaNode(const std::string &name = "");
|
FpgaNode(const std::string &name = "");
|
||||||
virtual ~FpgaNode();
|
|
||||||
|
virtual
|
||||||
|
~FpgaNode();
|
||||||
|
|
||||||
virtual
|
virtual
|
||||||
int parse(json_t *cfg, const uuid_t sn_uuid);
|
int parse(json_t *cfg, const uuid_t sn_uuid);
|
||||||
|
|
|
@ -233,7 +233,7 @@ int FpgaNodeFactory::start(SuperNode *sn)
|
||||||
if (!json_fpgas)
|
if (!json_fpgas)
|
||||||
throw ConfigError(json_cfg, "node-config-fpgas", "No section 'fpgas' found in config");
|
throw ConfigError(json_cfg, "node-config-fpgas", "No section 'fpgas' found in config");
|
||||||
|
|
||||||
// create all FPGA card instances using the corresponding plugin
|
// Create all FPGA card instances using the corresponding plugin
|
||||||
auto piceCards = fpga::PCIeCardFactory::make(json_fpgas, pciDevices, vfioContainer);
|
auto piceCards = fpga::PCIeCardFactory::make(json_fpgas, pciDevices, vfioContainer);
|
||||||
|
|
||||||
cards.splice(cards.end(), piceCards);
|
cards.splice(cards.end(), piceCards);
|
||||||
|
|
Loading…
Add table
Reference in a new issue