ST_STATUS readPoint(CDataHubPoint& point, bool create=TRUE, bool force=TRUE );
ST_STATUS readPoint(LPCTSTR pointname, bool create=TRUE, bool force=TRUE );
Exception readPoint(DataHubPoint point);
Exception readPoint(DataHubPoint point, boolean create, boolean force );
Exception readPoint(String pointname);
Exception readPoint(String pointname, boolean create, boolean force );
Exception readPoint(DataHubPoint point);
Exception readPoint(DataHubPoint point, bool create, bool force );
Exception readPoint(String pointname);
Exception readPoint(String pointname, bool create, bool force );
This method requests that the value of the specified point be transmitted. The point value is received as a point message, which causes the virtual method onPointChange to be called. The point value cannot be obtained synchronously.
If the create parameter is FALSE and the point does not exist, then the DataHub will respond with an error, and onError will be called with the following arguments:
| status: ST_NO_POINT |
| msg: "Point does not exist" |
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.