M1M3 Support System
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LSST::M1M3::SS::ForceActuatorWarning Class Reference

Wrapper object for MTM1M3_logevent_forceActuatorWarningC. More...

#include <ForceActuatorWarning.h>

Inheritance diagram for LSST::M1M3::SS::ForceActuatorWarning:
Inheritance graph
[legend]
Collaboration diagram for LSST::M1M3::SS::ForceActuatorWarning:
Collaboration graph
[legend]

Public Member Functions

 ForceActuatorWarning ()
 Construct new ForceActuatorWarning, sets internal variables to 0xFF (actual ILC shall never send those responses).
 
void setTimestamp (double globalTimestamp)
 Sets logEvent timestamp.
 
void parseFAServerStatusResponse (ModbusBuffer *buffer, int32_t dataIndex)
 Parses FA server status (included in response to function code 18).
 
void parseStatus (ModbusBuffer *buffer, int32_t dataIndex, const DDS::Short broadcastCounter)
 Parses FA status (included in response to function code 75).
 
void parseDCAStatus (ModbusBuffer *buffer, int32_t dataIndex)
 Parses DCA status (included in response to function code 121).
 
void log ()
 Sends updates through SAL/DDS.
 

Detailed Description

Wrapper object for MTM1M3_logevent_forceActuatorWarningC.

Keeps track of changes to parsed data, and sends updates only if data changed. Variables inherited from MTM1M3_logevent_forceActuatorWarningC are reset in first pass of various parse* methods.

Member Function Documentation

◆ parseDCAStatus()

void LSST::M1M3::SS::ForceActuatorWarning::parseDCAStatus ( ModbusBuffer * buffer,
int32_t dataIndex )

Parses DCA status (included in response to function code 121).

Parameters
bufferreceiving buffer
dataIndexFA index

◆ parseFAServerStatusResponse()

void LSST::M1M3::SS::ForceActuatorWarning::parseFAServerStatusResponse ( ModbusBuffer * buffer,
int32_t dataIndex )

Parses FA server status (included in response to function code 18).

Parameters
bufferreceiving buffer
dataIndexFA index

◆ parseStatus()

void LSST::M1M3::SS::ForceActuatorWarning::parseStatus ( ModbusBuffer * buffer,
int32_t dataIndex,
const DDS::Short broadcastCounter )

Parses FA status (included in response to function code 75).

Parameters
bufferreceiving buffer
dataIndexFA index
broadcastCounteractual (expected) value of broadcast counter

◆ setTimestamp()

void LSST::M1M3::SS::ForceActuatorWarning::setTimestamp ( double globalTimestamp)
inline

Sets logEvent timestamp.

Parameters
globalTimestampactual timestamp

The documentation for this class was generated from the following files: