包含传感器数据相关类和定义的命名空间。 更多...
命名空间 | |
namespace | data |
namespace | detail |
namespace | s11n |
类 | |
struct | CompileTimeTypeMap |
一个编译时结构,用于映射两种类型。可以通过键或索引查找元素。 更多... | |
class | CompositeSerializer |
编译时映射表,用于将传感器对象映射到序列化器。 更多... | |
class | Deserializer |
反序列化器(Deserializer)类,用于将包含传感器生成数据的缓冲区(Buffer)进行反序列化操作, 并创建合适的SensorData类实例来承载传感器的测量数据。 更多... | |
class | RawData |
包装一个传感器生成的原始数据以及一些有用的元信息。 更多... | |
class | SensorData |
所有传感器生成数据的对象的基类 更多... | |
类型定义 | |
using | SensorRegistry |
Contains a registry of all the sensors available and allows serializing and deserializing sensor data for the types registered. | |
包含传感器数据相关类和定义的命名空间。
Contains a registry of all the sensors available and allows serializing and deserializing sensor data for the types registered.
// 包含了所有可用传感器的注册表,允许对已注册类型的传感器数据进行序列化和反序列化操作
Use s11n::NoopSerializer if the sensor does not send data (sensors that work only on client-side). // 如果传感器不发送数据(仅在客户端工作的传感器),则使用s11n::NoopSerializer
在文件 SensorRegistry.h 第 68 行定义.