UnitySensors
UnitySensors.ROS.Serializer.Sensor.CompressedImageMsgSerializer Class Reference
Inheritance diagram for UnitySensors.ROS.Serializer.Sensor.CompressedImageMsgSerializer:
Collaboration diagram for UnitySensors.ROS.Serializer.Sensor.CompressedImageMsgSerializer:

Public Member Functions

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

Private Types

enum class  SourceTexture { Texture0 , Texture1 }
 

Private Attributes

Object _source
 
SourceTexture _sourceTexture
 
HeaderSerializer _header
 
int quality = 75
 
ITextureInterface _sourceInterface
 

Additional Inherited Members

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

Member Enumeration Documentation

◆ SourceTexture

Enumerator
Texture0 
Texture1 

Member Function Documentation

◆ Init()

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

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

Here is the call graph for this function:

◆ Serialize()

override CompressedImageMsg UnitySensors.ROS.Serializer.Sensor.CompressedImageMsgSerializer.Serialize ( )
virtual

Implements UnitySensors.ROS.Serializer.RosMsgSerializer< CompressedImageMsg >.

Here is the call graph for this function:

Member Data Documentation

◆ _header

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

◆ _source

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

◆ _sourceInterface

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

◆ _sourceTexture

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

◆ quality

int UnitySensors.ROS.Serializer.Sensor.CompressedImageMsgSerializer.quality = 75
private

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