All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
TELEKYB_NAMESPACE::Time Class Reference

#include <Time.hpp>

Inheritance diagram for TELEKYB_NAMESPACE::Time:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string dateTimeToString ()
std::string dSecToString ()
std::string freqToString ()
 print the frequency
double frequency ()
 frequency
bool isZero () const
 check for Zero
bool operator!= (const Time &other) const
 compound operator !=
Timeoperator* (double scalar)
 compound assignment operator *
Timeoperator*= (double scalar)
 compound assignment operator *
Time operator+ (const Time &other) const
 binary arithmetic operator +
Timeoperator+= (const Time &t)
 compound assignment operator +=
Time operator- (const Time &other) const
 binary arithmetic operator -
Timeoperator-= (const Time &t)
 compound assignment operator -=
bool operator< (const Time &other) const
 less than operator >
bool operator<= (const Time &other) const
 leq operator >
Timeoperator= (const Time &t)
 assigment operator =
bool operator== (const Time &other) const
 compound operator ==
bool operator> (const Time &other) const
 greater than operator >
bool operator>= (const Time &other) const
 geq operator >
long int sec ()
 elements
void sleep ()
 sleeps the amout of time.
 Time ()
 default constructor
 Time (long int s, long int u)
 long int constructor
 Time (double t)
 double constructor
 Time (const Time &t)
 copy constructor
 Time (const ros::Time &time)
 ros time constructor
double toDSec ()
 decimal cast of Time (in secs)
ros::Time toRosTime () const
 to Ros Time
std::string toString ()
 print
long int usec ()
virtual ~Time ()
 virtual deconstructor

Static Public Member Functions

static Time Zero ()
 return Zero Time Element

Protected Attributes

long int _sec
long int _usec

Static Protected Attributes

static const int TIME_RESOLUTION = 1000000

Detailed Description

Definition at line 21 of file Time/Time.hpp.


Constructor & Destructor Documentation

default constructor

in how many parts is divided the second, 1000000 is usec

Definition at line 29 of file Time.cpp.

TELEKYB_NAMESPACE::Time::Time ( long int  s,
long int  u 
)

long int constructor

Definition at line 49 of file Time.cpp.

double constructor

Definition at line 55 of file Time.cpp.

copy constructor

Definition at line 67 of file Time.cpp.

ros time constructor

Definition at line 72 of file Time.cpp.

virtual deconstructor

Definition at line 78 of file Time.cpp.


Member Function Documentation

Definition at line 233 of file Time.cpp.

Definition at line 225 of file Time.cpp.

print the frequency

Definition at line 217 of file Time.cpp.

frequency

Definition at line 197 of file Time.cpp.

check for Zero

Definition at line 173 of file Time.cpp.

bool TELEKYB_NAMESPACE::Time::operator!= ( const Time other) const

compound operator !=

Definition at line 133 of file Time.cpp.

Time & TELEKYB_NAMESPACE::Time::operator* ( double  scalar)

compound assignment operator *

Definition at line 124 of file Time.cpp.

Time & TELEKYB_NAMESPACE::Time::operator*= ( double  scalar)

compound assignment operator *

Definition at line 115 of file Time.cpp.

Time TELEKYB_NAMESPACE::Time::operator+ ( const Time other) const

binary arithmetic operator +

Definition at line 107 of file Time.cpp.

Time & TELEKYB_NAMESPACE::Time::operator+= ( const Time t)

compound assignment operator +=

Definition at line 90 of file Time.cpp.

Time TELEKYB_NAMESPACE::Time::operator- ( const Time other) const

binary arithmetic operator -

Definition at line 111 of file Time.cpp.

Time & TELEKYB_NAMESPACE::Time::operator-= ( const Time t)

compound assignment operator -=

Definition at line 96 of file Time.cpp.

bool TELEKYB_NAMESPACE::Time::operator< ( const Time other) const

less than operator >

Definition at line 151 of file Time.cpp.

bool TELEKYB_NAMESPACE::Time::operator<= ( const Time other) const

leq operator >

Definition at line 161 of file Time.cpp.

Time & TELEKYB_NAMESPACE::Time::operator= ( const Time t)

assigment operator =

Definition at line 82 of file Time.cpp.

bool TELEKYB_NAMESPACE::Time::operator== ( const Time other) const

compound operator ==

Definition at line 128 of file Time.cpp.

bool TELEKYB_NAMESPACE::Time::operator> ( const Time other) const

greater than operator >

Definition at line 138 of file Time.cpp.

bool TELEKYB_NAMESPACE::Time::operator>= ( const Time other) const

geq operator >

Definition at line 156 of file Time.cpp.

elements

Definition at line 166 of file Time.cpp.

sleeps the amout of time.

Definition at line 177 of file Time.cpp.

decimal cast of Time (in secs)

Definition at line 192 of file Time.cpp.

to Ros Time

Definition at line 201 of file Time.cpp.

print

Definition at line 206 of file Time.cpp.

Definition at line 169 of file Time.cpp.

return Zero Time Element

Definition at line 188 of file Time.cpp.


Member Data Documentation

long int TELEKYB_NAMESPACE::Time::_sec [protected]

Definition at line 23 of file Time/Time.hpp.

long int TELEKYB_NAMESPACE::Time::_usec [protected]

Definition at line 24 of file Time/Time.hpp.

const int TELEKYB_NAMESPACE::Time::TIME_RESOLUTION = 1000000 [static, protected]

an integer beetween

Definition at line 25 of file Time/Time.hpp.


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


telekyb_base
Author(s): Dr. Antonio Franchi and Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:34