Class TimeMessage
Inheritance
System.Object
TimeMessage
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZO.ROS.MessageTypes.Std
Assembly: Unity.ZeroSim.dll
Syntax
public class TimeMessage : ZOROSMessageInterface
Constructors
| Improve this Doc View SourceTimeMessage()
Declaration
public TimeMessage()
TimeMessage(UInt32, UInt32)
Declaration
public TimeMessage(uint secs, uint nsecs)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | secs | |
System.UInt32 | nsecs |
Fields
| Improve this Doc View SourceType
Declaration
[JsonIgnore]
public static string Type
Field Value
Type | Description |
---|---|
System.String |
Properties
| Improve this Doc View SourceMessageType
Declaration
[JsonIgnore]
public string MessageType { get; }
Property Value
Type | Description |
---|---|
System.String |
nsecs
Declaration
public uint nsecs { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
secs
Declaration
public uint secs { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Methods
| Improve this Doc View SourceNow()
Sets the timestamp to Now
Declaration
public void Now()
TimeSpan()
Declaration
public TimeSpan TimeSpan()
Returns
Type | Description |
---|---|
System.TimeSpan |
Update()
Sets the timestamp to Now
Declaration
public void Update()