Robot Raconteur Companion C++ Library
Loading...
Searching...
No Matches
SensorDataUtil.h File Reference

Go to the source code of this file.

Functions

com::robotraconteur::sensordata::SensorDataHeaderPtr RobotRaconteur::Companion::Util::FillSensorDataHeader (RobotRaconteur::RobotRaconteurNodePtr node, com::robotraconteur::device::DeviceInfoPtr device_info, uint64_t seqno)
 Fill in a SensorDataHeader with the current time and sequence number.

Detailed Description

Author
John Wason, PhD
License
Software License Agreement (Apache License)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ FillSensorDataHeader()

com::robotraconteur::sensordata::SensorDataHeaderPtr RobotRaconteur::Companion::Util::FillSensorDataHeader ( RobotRaconteur::RobotRaconteurNodePtr node,
com::robotraconteur::device::DeviceInfoPtr device_info,
uint64_t seqno )

Fill in a SensorDataHeader with the current time and sequence number.

Parameters
nodeThe node to use. If null, the default node is used
device_infoThe device info of the device generating the data.
seqnoThe sequence number to use
Returns
com::robotraconteur::sensordata::SensorDataHeaderPtr The populated SensorDataHeader