UnitySensors
Loading...
Searching...
No Matches
UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer Class Reference
Inheritance diagram for UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer:
Collaboration diagram for UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer:

Public Member Functions

override void Init ()
 
override ImageMsg Serialize ()
 
- Public Member Functions inherited from UnitySensors.ROS.Serializer.RosMsgSerializer< ImageMsg >
Serialize ()
 
virtual void OnDestroy ()
 

Private Types

enum  SourceTexture { Texture0 , Texture1 }
 

Private Attributes

Object _source
 
SourceTexture _sourceTexture
 
Encoding _encoding
 
Texture2D _encodedTexture
 
HeaderSerializer _header
 
int _width
 
int _height
 
ITextureInterface _sourceInterface
 
ImageEncodeJob _imageEncodeJob
 

Additional Inherited Members

- Protected Attributes inherited from UnitySensors.ROS.Serializer.RosMsgSerializer< ImageMsg >
_msg
 
- Properties inherited from UnitySensors.ROS.Serializer.RosMsgSerializer< ImageMsg >
msg [get]
 

Member Enumeration Documentation

◆ SourceTexture

Enumerator
Texture0 
Texture1 

Member Function Documentation

◆ Init()

override void UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer.Init ( )
virtual

Reimplemented from UnitySensors.ROS.Serializer.RosMsgSerializer< ImageMsg >.

Here is the call graph for this function:

◆ Serialize()

override ImageMsg UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer.Serialize ( )
Here is the call graph for this function:

Member Data Documentation

◆ _encodedTexture

Texture2D UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._encodedTexture
private

◆ _encoding

Encoding UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._encoding
private

◆ _header

HeaderSerializer UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._header
private

◆ _height

int UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._height
private

◆ _imageEncodeJob

ImageEncodeJob UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._imageEncodeJob
private

◆ _source

Object UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._source
private

◆ _sourceInterface

ITextureInterface UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._sourceInterface
private

◆ _sourceTexture

SourceTexture UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._sourceTexture
private

◆ _width

int UnitySensors.ROS.Serializer.Sensor.ImageMsgSerializer._width
private

The documentation for this class was generated from the following file: