updated test object to reflect changes in access return types (const returns)
This commit is contained in:
parent
9b4502fccc
commit
54164b752c
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: maroy $
|
Author : $Author: maroy $
|
||||||
Version : $Revision: 1.1 $
|
Version : $Revision: 1.2 $
|
||||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/eventScheduler/src/TestScheduledEvent.h,v $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/eventScheduler/src/TestScheduledEvent.h,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -63,7 +63,7 @@ using namespace LiveSupport::Core;
|
||||||
* A scheduled event for testing purposes.
|
* A scheduled event for testing purposes.
|
||||||
*
|
*
|
||||||
* @author $Author: maroy $
|
* @author $Author: maroy $
|
||||||
* @version $Revision: 1.1 $
|
* @version $Revision: 1.2 $
|
||||||
*/
|
*/
|
||||||
class TestScheduledEvent : public virtual ScheduledEventInterface
|
class TestScheduledEvent : public virtual ScheduledEventInterface
|
||||||
{
|
{
|
||||||
|
@ -135,7 +135,7 @@ class TestScheduledEvent : public virtual ScheduledEventInterface
|
||||||
*
|
*
|
||||||
* @return the time this event is scheduled for.
|
* @return the time this event is scheduled for.
|
||||||
*/
|
*/
|
||||||
virtual Ptr<ptime>::Ref
|
virtual Ptr<const ptime>::Ref
|
||||||
getScheduledTime(void) throw ()
|
getScheduledTime(void) throw ()
|
||||||
{
|
{
|
||||||
return when;
|
return when;
|
||||||
|
@ -163,7 +163,7 @@ class TestScheduledEvent : public virtual ScheduledEventInterface
|
||||||
* @return the maximum time for the initialize() function to complete.
|
* @return the maximum time for the initialize() function to complete.
|
||||||
* @see #initialize
|
* @see #initialize
|
||||||
*/
|
*/
|
||||||
virtual Ptr<time_duration>::Ref
|
virtual Ptr<const time_duration>::Ref
|
||||||
maxTimeToInitialize(void) throw ()
|
maxTimeToInitialize(void) throw ()
|
||||||
{
|
{
|
||||||
return initTime;
|
return initTime;
|
||||||
|
@ -190,7 +190,7 @@ class TestScheduledEvent : public virtual ScheduledEventInterface
|
||||||
*
|
*
|
||||||
* @return the length of the event, in time.
|
* @return the length of the event, in time.
|
||||||
*/
|
*/
|
||||||
virtual Ptr<time_duration>::Ref
|
virtual Ptr<const time_duration>::Ref
|
||||||
eventLength(void) throw ()
|
eventLength(void) throw ()
|
||||||
{
|
{
|
||||||
return length;
|
return length;
|
||||||
|
|
Loading…
Reference in New Issue