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
DataSourceTimeclone () const
DataSourceTimecopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
DataSourceTimecopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
 DataSourceTime ()
 DataSourceTime ()
os::TimeService::Seconds get () const
os::TimeService::Seconds get () const
void reset ()
void reset ()
os::TimeService::Seconds const & rvalue () const
os::TimeService::Seconds const & rvalue () const
os::TimeService::Seconds value () 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 install/include/rtt/scripting/DataSourceTime.hpp.


Constructor & Destructor Documentation

RTT::scripting::DataSourceTime::DataSourceTime (  )  [inline]
RTT::scripting::DataSourceTime::DataSourceTime (  )  [inline]

Definition at line 57 of file rtt/scripting/DataSourceTime.hpp.


Member Function Documentation

DataSourceTime* RTT::scripting::DataSourceTime::clone (  )  const [inline, virtual]

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 rtt/scripting/DataSourceTime.hpp.

DataSourceTime* RTT::scripting::DataSourceTime::clone (  )  const [inline, virtual]

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 install/include/rtt/scripting/DataSourceTime.hpp.

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

Return the data as type T.

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

Definition at line 61 of file rtt/scripting/DataSourceTime.hpp.

os::TimeService::Seconds RTT::scripting::DataSourceTime::get (  )  const [inline, virtual]

Return the data as type T.

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

Definition at line 61 of file install/include/rtt/scripting/DataSourceTime.hpp.

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

Reset the data to initial values.

Reimplemented from RTT::base::DataSourceBase.

Definition at line 73 of file rtt/scripting/DataSourceTime.hpp.

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

Reset the data to initial values.

Reimplemented from RTT::base::DataSourceBase.

Definition at line 73 of file install/include/rtt/scripting/DataSourceTime.hpp.

os::TimeService::Seconds const& RTT::scripting::DataSourceTime::rvalue (  )  const [inline, virtual]

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 rtt/scripting/DataSourceTime.hpp.

os::TimeService::Seconds const& RTT::scripting::DataSourceTime::rvalue (  )  const [inline, virtual]

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 install/include/rtt/scripting/DataSourceTime.hpp.

os::TimeService::Seconds RTT::scripting::DataSourceTime::value (  )  const [inline, virtual]

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 rtt/scripting/DataSourceTime.hpp.

os::TimeService::Seconds RTT::scripting::DataSourceTime::value (  )  const [inline, virtual]

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 install/include/rtt/scripting/DataSourceTime.hpp.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:13 2013