12 #include <libcamera/base/private.h> 18 class BoundMethodBase;
48 static std::atomic_uint nextUserType_;
55 std::shared_ptr<BoundMethodPackBase> pack,
57 bool deleteMethod =
false);
65 BoundMethodBase *method_;
66 std::shared_ptr<BoundMethodPackBase> pack_;
static Type registerMessageType()
Reserve and register a custom user-defined message type.
Definition: message.cpp:109
First value available for user-defined messages.
Definition: message.h:31
Semaphore * semaphore() const
Retrieve the message semaphore passed to the constructor.
Definition: message.h:60
General-purpose counting semaphore.
Definition: semaphore.h:16
Asynchronous method invocation across threads.
Definition: message.h:28
Top-level libcamera namespace.
Definition: backtrace.h:17
Type type() const
Retrieve the message type.
Definition: message.h:37
Object is being moved to a different thread.
Definition: message.h:29
Object is scheduled for deletion.
Definition: message.h:30
A thread of execution.
Definition: thread.h:28
A message carrying a method invocation across threads.
Definition: message.h:51
Object * receiver() const
Retrieve the message receiver.
Definition: message.h:38
A message that can be posted to a Thread.
Definition: message.h:23
Message(Type type)
Construct a message object of type type.
Definition: message.cpp:61
Type
The message type.
Definition: message.h:26
Base object to support automatic signal disconnection.
Definition: object.h:24
Method bind and invocation.
Invalid message type.
Definition: message.h:27