

Public Member Functions | |
| CAtmoSerialConnection (CAtmoConfig *cfg) | |
| virtual | ~CAtmoSerialConnection (void) |
| virtual ATMO_BOOL | OpenConnection () |
| virtual void | CloseConnection () |
| virtual ATMO_BOOL | isOpen (void) |
| virtual ATMO_BOOL | SendData (unsigned char numChannels, int red[], int green[], int blue[]) |
| virtual ATMO_BOOL | SendData (tColorPacket data) |
| virtual ATMO_BOOL | HardwareWhiteAdjust (int global_gamma, int global_contrast, int contrast_red, int contrast_green, int contrast_blue, int gamma_red, int gamma_green, int gamma_blue, ATMO_BOOL storeToEeprom) |
| CAtmoSerialConnection::CAtmoSerialConnection | ( | CAtmoConfig * | cfg | ) |
References INVALID_HANDLE_VALUE.
| CAtmoSerialConnection::~CAtmoSerialConnection | ( | void | ) | [virtual] |
References CloseConnection().
| ATMO_BOOL CAtmoSerialConnection::OpenConnection | ( | ) | [virtual] |
Reimplemented from CAtmoConnection.
References ATMO_FALSE, CloseConnection(), CAtmoConfig::getComport(), INVALID_HANDLE_VALUE, and CAtmoConnection::m_pAtmoConfig.
Referenced by CAtmoTools::RecreateConnection().
| void CAtmoSerialConnection::CloseConnection | ( | ) | [virtual] |
Reimplemented from CAtmoConnection.
References INVALID_HANDLE_VALUE.
Referenced by OpenConnection(), and ~CAtmoSerialConnection().
| ATMO_BOOL CAtmoSerialConnection::isOpen | ( | void | ) | [virtual] |
| ATMO_BOOL CAtmoSerialConnection::SendData | ( | unsigned char | numChannels, | |
| int | red[], | |||
| int | green[], | |||
| int | blue[] | |||
| ) | [virtual] |
Reimplemented from CAtmoConnection.
References ATMO_FALSE, ATMO_TRUE, i, INVALID_HANDLE_VALUE, and CAtmoConnection::m_ChannelAssignment.
| ATMO_BOOL CAtmoSerialConnection::SendData | ( | tColorPacket | data | ) | [virtual] |
Reimplemented from CAtmoConnection.
References ATMO_FALSE, ATMO_TRUE, tRGBColor::b, tColorPacket::channel, tRGBColor::g, i, INVALID_HANDLE_VALUE, CAtmoConnection::m_ChannelAssignment, and tRGBColor::r.
1.5.6