import datatype in lua

Hello,

I want to use a non-native datatype in a Lua component as follows :

my_port = rtt.InputPort("sensor_msgs::LaserScan")

with sensor_msgs::LaserScan defined as a C++ class. I know it's possible to use this type in C++ but I don't know if it's possible to import it in a Lua file.

Does someone know?

Thanks,

Benoit