AFHBA404
AFHBA404 connects ACQ2106 to PCI-Express
|
creates system configuration from config. More...
#include "AcqSys.h"
#include <iostream>
#include <iomanip>
#include <fstream>
#include <sstream>
#include "nlohmann/json.hpp"
#include <string.h>
#include <stdio.h>
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | COM(i) "__comment" #i "__" |
Key Value Map More... | |
#define | INSERT_IF(map, vx, vxo, field) |
Typedefs | |
using | json = nlohmann::json |
typedef pair< std::string, int > | KVP |
typedef std::map< std::string, int > | KVM |
Key Value Pair. More... | |
typedef pair< std::string, string > | KVPS |
Key Value Map More... | |
typedef std::map< std::string, string > | KVMS |
Key Value Pair, COMMENT. More... | |
Functions | |
int | get_int (json j, int default_value=0) |
void | add_comments (json &jsys, string &fname) |
void | add_si_lengths (json &jsys, HBA &hba) |
void | store_config (json j, string fname, HBA &hba) |
bool | strstr (string haystack, string needle) |
Variables | |
int | sched_fifo_priority |
creates system configuration from config.
Created on: 27 Feb 2020 Author: pgm
Definition in file AcqSys.cpp.
#define COM | ( | i | ) | "__comment" #i "__" |
Key Value Map
Definition at line 227 of file AcqSys.cpp.
#define INSERT_IF | ( | map, | |
vx, | |||
vxo, | |||
field | |||
) |
Definition at line 229 of file AcqSys.cpp.
using json = nlohmann::json |
Definition at line 24 of file AcqSys.cpp.
typedef std::map<std::string, int> KVM |
Key Value Pair.
Definition at line 219 of file AcqSys.cpp.
typedef std::map<std::string, string> KVMS |
Key Value Pair, COMMENT.
Definition at line 222 of file AcqSys.cpp.
typedef pair<std::string, int> KVP |
Definition at line 218 of file AcqSys.cpp.
typedef pair<std::string, string> KVPS |
Key Value Map
Definition at line 221 of file AcqSys.cpp.
void add_comments | ( | json & | jsys, |
string & | fname | ||
) |
Definition at line 233 of file AcqSys.cpp.
Definition at line 250 of file AcqSys.cpp.
int get_int | ( | json | j, |
int | default_value = 0 |
||
) |
Definition at line 155 of file AcqSys.cpp.
Definition at line 270 of file AcqSys.cpp.
bool strstr | ( | string | haystack, |
string | needle | ||
) |
Definition at line 322 of file AcqSys.cpp.
int sched_fifo_priority |
Definition at line 136 of file afhba-llcontrol.c.