TwiceAsNice
2019-02-18
|
First generation implemenation (alta) of the ethernet interface. More...
#include <AltaEthernetIo.h>
Public Member Functions | |
AltaEthernetIo (const std::string url) | |
virtual | ~AltaEthernetIo () |
std::map< uint16_t, uint16_t > | ReadRegs (const std::vector< uint16_t > &Regs) |
uint16_t | ReadReg (uint16_t reg) const |
void | WriteReg (uint16_t reg, uint16_t val) |
void | WriteSRMD (uint16_t reg, const std::vector< uint16_t > &data) |
void | WriteMRMD (uint16_t reg, const std::vector< uint16_t > &data) |
void | SetupImgXfer (uint16_t Rows, uint16_t Cols, uint16_t NumOfImages, bool IsBulkSeq) |
void | CancelImgXfer () |
void | GetImageData (std::vector< uint16_t > &data) |
void | GetStatus (CameraStatusRegs::AdvStatus &status) |
void | GetStatus (CameraStatusRegs::BasicStatus &status) |
void | GetMacAddress (std::string &Mac) |
void | Reboot () |
std::string | GetNetworkSettings () |
std::string | GetDriverVersion () |
uint16_t | GetFirmwareRev () |
std::string | GetInfo () |
void | SetSerialBaudRate (uint16_t PortId, uint32_t BaudRate) |
uint32_t | GetSerialBaudRate (uint16_t PortId) |
Apg::SerialFC | GetSerialFlowControl (uint16_t PortId) |
void | SetSerialFlowControl (uint16_t PortId, Apg::SerialFC FlowControl) |
Apg::SerialParity | GetSerialParity (uint16_t PortId) |
void | SetSerialParity (uint16_t PortId, Apg::SerialParity Parity) |
void | ReadSerial (uint16_t PortId, std::string &buffer) |
void | WriteSerial (uint16_t PortId, const std::string &buffer) |
bool | IsError () |
![]() | |
virtual | ~ICamIo () |
![]() | |
virtual | ~IAltaSerialPortIo ()=0 |
Private Member Functions | |
void | OpenSession () |
void | CloseSession () |
AltaEthernetIo (const AltaEthernetIo &) | |
AltaEthernetIo & | operator= (AltaEthernetIo &) |
Private Attributes | |
const std::string | m_url |
const std::string | m_fileName |
std::vector< uint16_t > | m_StatusRegs |
Additional Inherited Members | |
![]() | |
ICamIo () | |
First generation implemenation (alta) of the ethernet interface.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright(c) 2009 Apogee Instruments, Inc.
AltaEthernetIo::AltaEthernetIo | ( | const std::string | url | ) |
|
virtual |
|
private |
|
virtual |
Cancel the pending image transfer.
Implements ICamIo.
|
private |
|
virtual |
Implements ICamIo.
|
virtual |
Moves the data from the camera to the host PC. Called at different times depending on the cameras acquistion mode
[in] | NumberOfPixels | Total number of pixels to transfer from the camera to host |
Implements ICamIo.
|
virtual |
Implements ICamIo.
void AltaEthernetIo::GetMacAddress | ( | std::string & | Mac | ) |
std::string AltaEthernetIo::GetNetworkSettings | ( | ) |
Implements IAltaSerialPortIo.
|
virtual |
Implements IAltaSerialPortIo.
|
virtual |
Implements IAltaSerialPortIo.
|
virtual |
Fetches the camera's status. This function should be used on rev 16 firmware and higher
[out] | status | Advanced status structure |
Implements ICamIo.
|
virtual |
Fetches the camera's status. This function should be used on rev 15 firmware or lower
[out] | status | Basic status structure |
Implements ICamIo.
|
private |
|
private |
|
virtual |
Implements IAltaSerialPortIo.
void AltaEthernetIo::Reboot | ( | ) |
Implements IAltaSerialPortIo.
|
virtual |
Implements IAltaSerialPortIo.
|
virtual |
Implements IAltaSerialPortIo.
Implements IAltaSerialPortIo.
|
private |
|
private |
|
private |