Programmers Reference - CDataServer (3)
CDataServer::Data
virtual CConSysData* Data();
Override this function to implement the data server. The Data function is called from a higher level in the system for collection of data. If the data server has any data, it should return a pointer to the data. When the data is transmitted, the data will be deleted.
If the data server wants immediate poll from a higher level in the system, the data server may pulse the forceDataRead event.
References:
Last Modified 10 January 2019