Demo entry 5872396

a

   

Submitted by anonymous on Aug 25, 2016 at 10:45
Language: C++. Code size: 359 Bytes.

ReturnType HelloMaker::onEvent(Event *evt)
{
	// user code here
	return OPROS_SUCCESS;
}
ReturnType HelloMaker::onExecute()
{
	// user code here
	m_counter++;
	std::stringstream outData;
	outData << msg << "[" << m_counter << "]";
	std::cout << "HelloMaker=>" << outData.str() << std::endl;
	DataOut.push(outData.str());
	return OPROS_SUCCESS;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).