Public Member Functions | Private Attributes
RTT::scripting::DataSourceTime Class Reference

#include <DataSourceTime.hpp>

Inheritance diagram for RTT::scripting::DataSourceTime:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DataSourceTimeclone () const
DataSourceTimecopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
 DataSourceTime ()
os::TimeService::Seconds get () const
void reset ()
os::TimeService::Seconds const & rvalue () const
os::TimeService::Seconds value () const

Private Attributes

os::TimeService::Seconds last
os::TimeService::ticks stamp
os::TimeServicets

Detailed Description

A internal::DataSource which returns the time elapsed since the last reset in Seconds.

Definition at line 50 of file DataSourceTime.hpp.


Constructor & Destructor Documentation

Definition at line 57 of file DataSourceTime.hpp.


Member Function Documentation

Return a shallow clone of this DataSource. This method returns a duplicate of this instance which re-uses the DataSources this internal::DataSource holds reference to. The clone() function is thus a non-deep copy.

Implements RTT::internal::DataSource< os::TimeService::Seconds >.

Definition at line 78 of file DataSourceTime.hpp.

DataSourceTime* RTT::scripting::DataSourceTime::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  alreadyCloned) const [inline, virtual]

Return the data as type T.

Implements RTT::internal::DataSource< os::TimeService::Seconds >.

Definition at line 61 of file DataSourceTime.hpp.

void RTT::scripting::DataSourceTime::reset ( void  ) [inline, virtual]

Reset the data to initial values.

Reimplemented from RTT::base::DataSourceBase.

Definition at line 73 of file DataSourceTime.hpp.

Get a const reference to the value of this DataSource. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.

Note:
Getting a reference to an internal data structure is not thread-safe.

Implements RTT::internal::DataSource< os::TimeService::Seconds >.

Definition at line 69 of file DataSourceTime.hpp.

Return the result of the last evaluate() function. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.

Implements RTT::internal::DataSource< os::TimeService::Seconds >.

Definition at line 65 of file DataSourceTime.hpp.


Member Data Documentation

Definition at line 54 of file DataSourceTime.hpp.

Definition at line 53 of file DataSourceTime.hpp.

Definition at line 55 of file DataSourceTime.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:45