Scope
|
#include <Shutter.h>
Public Member Functions | |
~Shutter () | |
void | Initialize (const std::wstring &_outputline) |
void | Open (void) |
void | Close (void) |
void | Set (const bool &_open) |
bool | GetState () const |
Protected Attributes | |
DAQmx::CDAQmxDigitalOutTask | task |
std::atomic< bool > | state |
const uint8_t | ondata |
const uint8_t | offdata |
scope::Shutter::~Shutter | ( | ) |
Shutter gets closed on destruction.
Definition at line 13 of file Shutter.cpp.
void scope::Shutter::Initialize | ( | const std::wstring & | _outputline | ) |
Shutter gets closed on initialization.
Definition at line 18 of file Shutter.cpp.
void scope::Shutter::Open | ( | void | ) |
Opens the shutter.
Definition at line 26 of file Shutter.cpp.
void scope::Shutter::Close | ( | void | ) |
Closes the shutter.
Definition at line 33 of file Shutter.cpp.
void scope::Shutter::Set | ( | const bool & | _open | ) |
Open/Closes the shutter.
Definition at line 40 of file Shutter.cpp.
|
inline |
|
protected |
|
mutableprotected |