

Public Member Functions | |
| CAtmoConnection (CAtmoConfig *cfg) | |
| virtual | ~CAtmoConnection (void) |
| virtual bool | OpenConnection () |
| virtual void | CloseConnection () |
| virtual bool | isOpen (void) |
| virtual bool | SendData (pColorPacket data) |
| virtual bool | setChannelColor (int channel, tRGBColor color) |
| virtual bool | setChannelValues (int numValues, unsigned char *channel_values) |
| virtual 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, bool storeToEeprom) |
| virtual bool | ShowConfigDialog (HINSTANCE hInst, HWND parent, CAtmoConfig *cfg) |
| virtual void | SetChannelAssignment (CAtmoChannelAssignment *ca) |
| virtual int | getNumChannels () |
| virtual char * | getChannelName (int ch) |
| virtual const char * | getDevicePath () |
| virtual bool | CreateDefaultMapping (CAtmoChannelAssignment *ca) |
Protected Member Functions | |
| void | Lock () |
| void | Unlock () |
Protected Attributes | |
| CAtmoConfig * | m_pAtmoConfig |
| CRITICAL_SECTION | m_AccessConnection |
| int * | m_ChannelAssignment |
| int | m_NumAssignedChannels |
| CAtmoConnection::CAtmoConnection | ( | CAtmoConfig * | cfg | ) |
References m_AccessConnection, m_ChannelAssignment, m_NumAssignedChannels, m_pAtmoConfig, and vlc_mutex_init().
| CAtmoConnection::~CAtmoConnection | ( | void | ) | [virtual] |
References CloseConnection(), isOpen(), m_AccessConnection, and vlc_mutex_destroy().
| void CAtmoConnection::Lock | ( | ) | [protected] |
References m_AccessConnection, and vlc_mutex_lock().
Referenced by CMoMoConnection::SendData(), CAtmoMultiConnection::SendData(), CAtmoDmxSerialConnection::SendData(), CAtmoClassicConnection::SendData(), SetChannelAssignment(), CAtmoMultiConnection::setChannelColor(), CAtmoDmxSerialConnection::setChannelColor(), CAtmoMultiConnection::setChannelValues(), and CAtmoDmxSerialConnection::setChannelValues().
| void CAtmoConnection::Unlock | ( | ) | [protected] |
References m_AccessConnection, and vlc_mutex_unlock().
Referenced by CMoMoConnection::SendData(), CAtmoMultiConnection::SendData(), CAtmoDmxSerialConnection::SendData(), CAtmoClassicConnection::SendData(), SetChannelAssignment(), CAtmoMultiConnection::setChannelColor(), CAtmoDmxSerialConnection::setChannelColor(), CAtmoMultiConnection::setChannelValues(), and CAtmoDmxSerialConnection::setChannelValues().
| virtual bool CAtmoConnection::OpenConnection | ( | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
| virtual void CAtmoConnection::CloseConnection | ( | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
Referenced by AtmoFinalize(), CAtmoTools::RecreateConnection(), and ~CAtmoConnection().
| virtual bool CAtmoConnection::isOpen | ( | void | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
Referenced by CAtmoLiveView::Execute(), CAtmoTools::SwitchEffect(), and ~CAtmoConnection().
| virtual bool CAtmoConnection::SendData | ( | pColorPacket | data | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
Referenced by CAtmoLiveView::Execute(), CAtmoTools::ShowShutdownColor(), and CAtmoTools::SwitchEffect().
| virtual bool CAtmoConnection::setChannelColor | ( | int | channel, | |
| tRGBColor | color | |||
| ) | [inline, virtual] |
Reimplemented in CAtmoDmxSerialConnection, and CAtmoMultiConnection.
| virtual bool CAtmoConnection::setChannelValues | ( | int | numValues, | |
| unsigned char * | channel_values | |||
| ) | [inline, virtual] |
Reimplemented in CAtmoDmxSerialConnection, and CAtmoMultiConnection.
| virtual bool CAtmoConnection::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, | |||
| bool | storeToEeprom | |||
| ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
| bool CAtmoConnection::ShowConfigDialog | ( | HINSTANCE | hInst, | |
| HWND | parent, | |||
| CAtmoConfig * | cfg | |||
| ) | [virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
References ATMO_FALSE.
| void CAtmoConnection::SetChannelAssignment | ( | CAtmoChannelAssignment * | ca | ) | [virtual] |
References CAtmoChannelAssignment::getMapArrayClone(), Lock(), m_ChannelAssignment, m_NumAssignedChannels, and Unlock().
Referenced by CAtmoTools::SetChannelAssignment().
| virtual int CAtmoConnection::getNumChannels | ( | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
| virtual char* CAtmoConnection::getChannelName | ( | int | ch | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
| virtual const char* CAtmoConnection::getDevicePath | ( | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
Referenced by CAtmoDynData::ReloadZoneDefinitionBitmaps().
| virtual bool CAtmoConnection::CreateDefaultMapping | ( | CAtmoChannelAssignment * | ca | ) | [inline, virtual] |
Reimplemented in CAtmoClassicConnection, CAtmoDmxSerialConnection, CAtmoMultiConnection, and CMoMoConnection.
CAtmoConfig* CAtmoConnection::m_pAtmoConfig [protected] |
Referenced by CAtmoConnection(), CMoMoConnection::getNumChannels(), CAtmoMultiConnection::getNumChannels(), CAtmoDmxSerialConnection::getNumChannels(), CMoMoConnection::OpenConnection(), CAtmoMultiConnection::OpenConnection(), CAtmoDmxSerialConnection::OpenConnection(), and CAtmoClassicConnection::OpenConnection().
CRITICAL_SECTION CAtmoConnection::m_AccessConnection [protected] |
Referenced by CAtmoConnection(), Lock(), Unlock(), and ~CAtmoConnection().
int* CAtmoConnection::m_ChannelAssignment [protected] |
int CAtmoConnection::m_NumAssignedChannels [protected] |
1.5.6