Description Usage Arguments Methods Fields
A class for queueing human events. Header file defined here and RcppR6
export handled here. Bound to Human$EventQueue
in class Human
1 | HumanEventQ(initQ = 100)
|
initQ |
reserve memory for |
firstEvent: return first event in queue as named R list
firstTime: return 'tEvent' slot in first event in queue
rmFirstEventFromQ: remove first event in queue and update queueN
rmTagFromQ(const std::string &tag): remove all events with certain tag from queue and update queueN
get_queueN: return queueN
get_EventQ: return entire EventQ
as R list
addEvent2Q(Rcpp::List event): add a list to the EventQ
in correct time order and update queueN
EventQ: std::vector<Rcpp::List>
queueN: integer value of size of queue.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.