Commit 5e0a5768 authored by Sonja Kolen's avatar Sonja Kolen

32bit compatibility: use long long int* datatype instead of long int* in...

32bit compatibility: use long long int* datatype instead of long int* in derived villas message types
parent f5989479
......@@ -44,11 +44,11 @@ public:
~Ensure_msg() override = default;
//pointers to elements
long int *performative; //!< type of communicative act
long int *agent_id; //!< identity of the agent
long long int *performative; //!< type of communicative act
long long int *agent_id; //!< identity of the agent
double *P; //!< setpoint for active power
double *Q; //!< setpoint for reactive power
long int *n; //!< set point for tap position
long long int *n; //!< set point for tap position
double *v; //!< voltage measurement value
double *SOC; //!< SOC measurement
bool *connected; //!< connection statuss
......
......@@ -44,11 +44,11 @@ public:
~Mqtt_pingpong_msg() override = default;
//pointers to elements
long int *performative; //!< type of communicative act
long int *agent_id; //!< identity of the agent
long long int *performative; //!< type of communicative act
long long int *agent_id; //!< identity of the agent
double *P_ctrl; //!< setpoint for active power
double *Q_ctrl; //!< setpoint for reactive power
long int *n_ctrl; //!< set point for tap position
long long int *n_ctrl; //!< set point for tap position
double *v_meas; //!< voltage measurement value
static std::vector<Meta_infos> mqtt_pingpong_msg_meta;
......
......@@ -40,10 +40,10 @@ public:
~Mqtt_ref_msg() override = default;
//pointers to elements
long int * performative; //!< type of communicative act
long int * sender; //!< identity of the sender
long int * receiver; //!< identity of the receiver
long int * measurement_type; //!< type of measurement
long long int * performative; //!< type of communicative act
long long int * sender; //!< identity of the sender
long long int * receiver; //!< identity of the receiver
long long int * measurement_type; //!< type of measurement
double * measurement_value; //!< value of measurement
static std::vector<Meta_infos> mqtt_ref_msg_meta;
......
......@@ -36,15 +36,15 @@ public:
~Nanomsg_msg() override = default;
//pointers to elements
long int * sender; //!< identity of the sender
long int * receiver; //!< identity of the receiver
long long int * sender; //!< identity of the sender
long long int * receiver; //!< identity of the receiver
double * voltage_re; //!< value of voltage_re
double * voltage_im; //!< value of voltage_im
double * current_re; //!< value of current_re
double * current_im; //!< value of current_im
bool * convergence; //!< value of convergence
long int * next_action_expected; //!< value of next_action_expected
long long int * next_action_expected; //!< value of next_action_expected
static std::vector<Meta_infos> nanomsg_message_meta;
static bool meta_initialized;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment