You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.
Post subject: How Do I Call OMTimerManager::getElapsedTime method?
Posted: Wed Mar 31, 2010 10:47 pm
Joined: Wed Mar 31, 2010 10:16 pm Posts: 1
I'm trying to call this getElapsedTime method that resides in the OMTimerManger class. I believe that I must call this method in an instance of OMTimerManager. The instance name, as best I can determine by looking in <Rhapsody installation location>\Share\LangCPP\oxf\reactive.cpp, line 588 is sysTimer.
I've tried the following lines in my code to access the current elapsed time with various error messages
sysTimer.getElapsedTime() sysTimer undeclared identifier OMTimerManager::getElapsedTime() Illegal call of non-static member function (I must call the instance) OMTimerManager.getElapsedTime() sysTimer->getElapsedTime() OMTimerManager::sysTimer->getElapsedTime()
I could go on and on. Obviously I'm really green at C++. I think my fundamental problem is I'm not properly referring to the instance of OMTimerManager.
Farquad
Post subject: Re: How Do I Call OMTimerManager::getElapsedTime method?
Users browsing this forum: No registered users and 0 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum