Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1494635
SensorSlotOfAgent.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
502 B
Referenced Files
None
Subscribers
None
SensorSlotOfAgent.h
View Options
#ifndef SENSORSLOT_HEADERFILE
#define SENSORSLOT_HEADERFILE
#include
"SlotOfAgent.h"
// TODO: set name of slot as the name of the sensor is (+ "slot");
class
SensorSlotOfAgent
:
public
SlotOfAgent
{
private
:
float
sensorValue
;
bool
flagSensorValueIsSet
;
bool
flagSensorValueHasChanged
;
public
:
SensorSlotOfAgent
();
void
set_sensorValue
(
float
sensorValue
);
bool
get_sensorValue
(
float
*
sensorValue
);
bool
get_flagSensorValueIsSet
();
bool
get_flagSensorValueHasChanged
();
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Mar 1, 6:50 PM (8 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
283022
Default Alt Text
SensorSlotOfAgent.h (502 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment