API
 
Loading...
Searching...
No Matches
fsmNode.hpp File Reference

The MagAO-X Instrument Graph fsmNode header file. More...

#include "xigNode.hpp"
Include dependency graph for fsmNode.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fsmNode
 Implementation of an instGraph node interface for a MagAO-X Finite State Machine (FSM) More...
 

Enumerations

enum class  fsmNodeActionT { passive , threshOff , active , unknown }
 

Functions

std::string fsmNodeActionT2String (fsmNodeActionT action)
 
fsmNodeActionT fsmNodeActionTFromString (const std::string &action)
 

Detailed Description

The MagAO-X Instrument Graph fsmNode header file.

Definition in file fsmNode.hpp.

Enumeration Type Documentation

◆ fsmNodeActionT

enum class fsmNodeActionT
strong
Enumerator
passive 

Only monitor and report FSM state, don't change puts

threshOff 

If state is not in one of the specified states, turn puts off

active 

If state is in one of the specified states, turn puts on. Turn them off otherwise.

unknown 

Unknown action, generally an error.

Definition at line 12 of file fsmNode.hpp.

Function Documentation

◆ fsmNodeActionT2String()

std::string fsmNodeActionT2String ( fsmNodeActionT  action)

Definition at line 20 of file fsmNode.hpp.

References active, passive, and threshOff.

Referenced by fsmNode::loadConfigDerived().

◆ fsmNodeActionTFromString()

fsmNodeActionT fsmNodeActionTFromString ( const std::string &  action)

Definition at line 40 of file fsmNode.hpp.

References active, passive, threshOff, and unknown.

Referenced by fsmNode::loadConfigDerived().