Agora
1.2.0
Agora project
|
Go to the documentation of this file.
47 RtAssert(
false,
"Doer: Launch(tag) not implemented");
56 RtAssert(
false,
"Doer: Launch(tag, event_type) not implemented");
62 virtual ~Doer() =
default;
Definition: concurrentqueue.h:630
Doer(Config *in_config, int in_tid)
Definition: doer.h:61
virtual EventData Launch(size_t tag, EventType event_type)
Definition: doer.h:53
#define unused(x)
Definition: utils.h:14
EventType
Definition: symbols.h:42
virtual EventData Launch(size_t tag)
Definition: doer.h:45
std::array< size_t, kMaxTags > tags_
Definition: message.h:146
EventType event_type_
Definition: message.h:144
int tid_
Definition: doer.h:65
static void TryEnqueueFallback(moodycamel::ConcurrentQueue< EventData > *mc_queue, moodycamel::ProducerToken *producer_token, const EventData &event)
Definition: concurrent_queue_wrapper.h:18
Definition: message.h:142
uint32_t num_tags_
Definition: message.h:145
Self defined functions for message storage and passing.
for i
Definition: generate_data.m:107
Config * cfg_
Definition: doer.h:64
static void RtAssert(bool condition, const char *throw_str)
Definition: utils.h:104
virtual bool TryLaunch(moodycamel::ConcurrentQueue< EventData > &task_queue, moodycamel::ConcurrentQueue< EventData > &complete_task_queue, moodycamel::ProducerToken *worker_ptok)
Definition: doer.h:19
Declaration file for the configuration class which importants json configuration values into class va...
bool try_dequeue(U &item)
Definition: concurrentqueue.h:1104