Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Telegram *knxDevice::createcharTelegramFromAddress(char data, int addressnumber)
- {
- [...not relevant, works for a long time...]
- }
- virtual vector<Telegram *> Command_Set_Color(int R, int G, int B){
- vector<Telegram *> commands;
- Telegram *toto;
- commands.reserve(3);
- toto = createcharTelegramFromAddress(R,1);
- commands.push_back(toto);
- return commands;
- };
- void EIB::ReceivedCommandForChild(DeviceData_Impl *pDeviceData_Impl,string &sCMD_Result,Message *pMessage)
- {
- Telegram *ptel=NULL;
- vector<Telegram *> ftel;
- [... not relevant...]
- int i=0;
- int j=ftel.size();
- for(i=0; i < j; i++)
- {
- ptel = ftel[i];
- LoggerWrapper::GetInstance()->Write(LV_STATUS, "Source: %s",Telegram::paddrtostring(ptel->getSrcAddress()).c_str());
- sendTelegram(ptel);
- delete(ptel);
- }
- ftel.clear();
- };
Add Comment
Please, Sign In to add comment