Urbi SDK Remote for C++  2.7.5
urbi::UTimerCallback Class Reference

Timer mechanism. More...

#include <utimer-callback.hh>

Inheritance diagram for urbi::UTimerCallback:
Collaboration diagram for urbi::UTimerCallback:

List of all members.

Public Member Functions

 UTimerCallback (const std::string &objname, ufloat period, impl::UContextImpl *ctx)
virtual ~UTimerCallback ()
virtual void call ()=0
void registerCallback ()
TimerHandle handle_get ()

Public Attributes

ufloat period
ufloat lastTimeCalled
std::string objname

Private Attributes

impl::UContextImplctx_
TimerHandle handle_

Detailed Description

Timer mechanism.

This class stores a callback as a class method.

Definition at line 32 of file utimer-callback.hh.


Constructor & Destructor Documentation

urbi::UTimerCallback::UTimerCallback ( const std::string &  objname,
ufloat  period,
impl::UContextImpl ctx 
)
Parameters:
objnameobject name.
periodin milliseconds.
ctxuobject context.

Definition at line 430 of file uobject-common.cc.

References lastTimeCalled.

urbi::UTimerCallback::~UTimerCallback ( ) [virtual]

Definition at line 446 of file uobject-common.cc.


Member Function Documentation

virtual void urbi::UTimerCallback::call ( ) [pure virtual]
TimerHandle urbi::UTimerCallback::handle_get ( ) [inline]

Definition at line 47 of file utimer-callback.hh.

void urbi::UTimerCallback::registerCallback ( )

Member Data Documentation

Definition at line 52 of file utimer-callback.hh.

Referenced by registerCallback().

Definition at line 53 of file utimer-callback.hh.

Referenced by registerCallback().

Definition at line 49 of file utimer-callback.hh.

Referenced by UTimerCallback().

Definition at line 50 of file utimer-callback.hh.


The documentation for this class was generated from the following files: