Represents a device collector that collects data of type T.
The type of data to be collected, which must be serializable.