18class ByteStreamBuffer;
 
   51                      bool isArray = 
false, 
unsigned int count = 1);
 
   55    unsigned int serialSeed_;
 
   56    std::vector<std::unique_ptr<ControlId>> controlIds_;
 
   57    std::vector<std::unique_ptr<ControlIdMap>> controlIdMaps_;
 
   58    std::map<unsigned int, ControlInfoMap> infoMaps_;
 
   59    std::map<const ControlInfoMap *, unsigned int> infoMapHandles_;
 
Wrap a memory buffer and provide sequential data read and write.
Definition: byte_stream_buffer.h:20
 
A map of ControlId to ControlInfo.
Definition: controls.h:306
 
Describe the limits of valid values for a Control.
Definition: controls.h:269
 
Associate a list of ControlId with their values for an object.
Definition: controls.h:350
 
Serializer and deserializer for control-related classes.
Definition: control_serializer.h:21
 
static size_t binarySize(const ControlInfoMap &infoMap)
Retrieve the size in bytes required to serialize a ControlInfoMap.
Definition: control_serializer.cpp:164
 
T deserialize(ByteStreamBuffer &buffer)
Deserialize an object from a binary buffer.
 
ControlSerializer(Role role)
Construct a new ControlSerializer.
Definition: control_serializer.cpp:106
 
void reset()
Reset the serializer.
Definition: control_serializer.cpp:135
 
bool isCached(const ControlInfoMap &infoMap)
Check if a ControlInfoMap is cached.
Definition: control_serializer.cpp:643
 
Role
Define the role of the IPC component using the control serializer.
Definition: control_serializer.h:23
 
@ Worker
The control serializer is used by the IPC ProxyWorker classes.
 
@ Proxy
The control serializer is used by the IPC Proxy classes.
 
int serialize(const ControlInfoMap &infoMap, ByteStreamBuffer &buffer)
Serialize a ControlInfoMap in a buffer.
Definition: control_serializer.cpp:224
 
Abstract type representing the value of a control.
Definition: controls.h:97
 
Framework to manage controls related to an object.
 
Top-level libcamera namespace.
Definition: backtrace.h:17