ros::Time Class Reference

#include <time.h>

List of all members.

Public Member Functions

TimefromNSec (long t)
void fromSec (double t)
Timeoperator+= (const Duration &rhs)
Timeoperator-= (const Duration &rhs)
 Time (unsigned long _sec, unsigned long _nsec)
 Time ()
unsigned long toNsec ()
double toSec () const

Static Public Member Functions

static Time now ()
static void setNow (Time &new_now)

Public Attributes

unsigned long nsec
unsigned long sec

Detailed Description

Definition at line 42 of file time.h.


Constructor & Destructor Documentation

ros::Time::Time (  )  [inline]

Definition at line 47 of file time.h.

ros::Time::Time ( unsigned long  _sec,
unsigned long  _nsec 
) [inline]

Definition at line 48 of file time.h.


Member Function Documentation

Time & ros::Time::fromNSec ( long  t  ) 

Definition at line 45 of file time.cpp.

void ros::Time::fromSec ( double  t  )  [inline]

Definition at line 54 of file time.h.

static Time ros::Time::now (  )  [static]
Time & ros::Time::operator+= ( const Duration rhs  ) 

Definition at line 53 of file time.cpp.

Time & ros::Time::operator-= ( const Duration rhs  ) 

Definition at line 61 of file time.cpp.

static void ros::Time::setNow ( Time new_now  )  [static]
unsigned long ros::Time::toNsec (  )  [inline]

Definition at line 56 of file time.h.

double ros::Time::toSec (  )  const [inline]

Definition at line 53 of file time.h.


Member Data Documentation

unsigned long ros::Time::nsec

Definition at line 45 of file time.h.

unsigned long ros::Time::sec

Definition at line 45 of file time.h.


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


rosserial_arduino
Author(s): Michael Ferguson, Adam Stambler
autogenerated on Fri Jan 11 09:42:27 2013