Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::ipj::AcquireScript Class Referencefinal

#include <MeanderScanMethodScript.h>

Inheritance diagram for sf::ipj::AcquireScript:
Collaboration diagram for sf::ipj::AcquireScript:

Public Types

enum  ECommand {
  acOFF = 0 , acFREE_RUN , acACQUIRE , acSAVE_SET ,
  acSAVE
}
 Available command to execute. More...
 
enum  EState {
  asERROR = -1 , asOFF = 0 , asWAITING , asRUNNING ,
  asACQUIRING , asSTOPPED
}
 Stages for acquiring data. More...
 

Public Member Functions

 AcquireScript ()
 Constructor that needs a compiler or derived class.
 
bool Execute (ECommand ac)
 Execute a given acquisition ac command.
 
EState GetState ()
 Gets the current state.
 

Member Enumeration Documentation

◆ ECommand

Available command to execute.

Enumerator
acOFF 

Set acquisition so that no data is generated.

acFREE_RUN 

Set acquisition into running mode for no data storage.

acACQUIRE 

Enable the devices to acquire data.

acSAVE_SET 

Saves current settings and system parameters as they are right now. Also stops the acquisition.

acSAVE 

Same as above but also save the acquired data. When settings are al read saved yet settings at the moment of the call with SAVE_SET are stored instead.

◆ EState

Stages for acquiring data.

Enumerator
asERROR 

A command resulted in an error state.

asOFF 

Acquisition device is off and generates no data.

asWAITING 

Waiting for command to finish.

asRUNNING 

The acquisition device is acquiring data which cannot be stored.

asACQUIRING 

The acquisition device is acquiring data which can be stored.

asSTOPPED 

The acquisition device has stopped and data can or is being saved.

Constructor & Destructor Documentation

◆ AcquireScript()

sf::ipj::AcquireScript::AcquireScript ( )

Constructor that needs a compiler or derived class.

Member Function Documentation

◆ Execute()

bool sf::ipj::AcquireScript::Execute ( ECommand  ac)

Execute a given acquisition ac command.

◆ GetState()

EState sf::ipj::AcquireScript::GetState ( )

Gets the current state.


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