17 #ifndef CYBER_TRANSPORT_SHM_CONDITION_NOTIFIER_H_ 18 #define CYBER_TRANSPORT_SHM_CONDITION_NOTIFIER_H_ 20 #include <sys/types.h> 35 std::atomic<uint64_t> next_seq = {0};
47 static const char*
Type() {
return "condition"; }
57 void* managed_shm_ =
nullptr;
59 Indicator* indicator_ =
nullptr;
60 uint64_t next_seq_ = 0;
61 std::atomic<bool> is_shutdown_ = {
false};
70 #endif // CYBER_TRANSPORT_SHM_CONDITION_NOTIFIER_H_
const uint32_t kBufLength
Definition: condition_notifier.h:31
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
Definition: readable_info.h:32
bool Notify(const ReadableInfo &info) override
Definition: notifier_base.h:31
#define DECLARE_SINGLETON(classname)
Definition: macros.h:52
bool Init(const char *binary_name)
bool Listen(int timeout_ms, ReadableInfo *info) override
static const char * Type()
Definition: condition_notifier.h:47
Definition: condition_notifier.h:33
virtual ~ConditionNotifier()