OpenRTM-aist 2.0.2
Loading...
Searching...
No Matches
Timestamp.h File Reference

Timestamp listener class. More...

#include <rtm/ConnectorListener.h>
#include <chrono>
Include dependency graph for Timestamp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RTC::Timestamp< DataType >
 

Namespaces

namespace  RTC
 RT-Component.
 

Functions

template<class DataType >
void setTimestamp (DataType &data)
 Setting timestamp to data.
 

Detailed Description

Timestamp listener class.

Date
$Date$
Author
Noriaki Ando n-and.nosp@m.o@ai.nosp@m.st.go.nosp@m..jp

Copyright (C) 2017 Noriaki Ando National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved.

$Id$

Function Documentation

◆ setTimestamp()

template<class DataType >
void setTimestamp ( DataType & data)

Setting timestamp to data.

This function sets timestamp to data of data port. This data should have tm.sec, tm.nsec as members of the structure.

Parameters
dataData to be set timestamp. After executing this function, current timestamp is set to the data.

Referenced by RTC::Timestamp< DataType >::operator()().