Class o80::Burster¶
-
class o80::Burster¶
Class managing the bursting mode of BackEnd and Standalone. Expected usage:
The code above will wait until the method “burst” of a related FrontEnd is called, which triggers one iteration to occur.Burster burster(segment_id); while(true) { std::cout << "iterate!" << std::endl; burster.pulse() }
Public Functions
-
Burster(std::string segment_id)¶
-
~Burster()¶
-
bool pulse()¶
-
Burster(std::segment_id)¶
-
~Burster()
-
void pulse()
Public Static Functions
-
static void clear_memory(std::string segment_id)¶
If an instance of Burster has not been cleanly exited (i.e. destructor not called), wipe the related shared memory (hanging at startup may otherwise occuring)
-
static void turn_on(std::string segment_id)¶
Turn on the bursting mode of the burster, i.e. it will iterate only when receiving a signal from the frontend.
-
static void turn_off(std::string segment_id)¶
Disable the bursting mode, i.e. the pulse method will always return immediately.
-
static void clear_memory(std::segment_id)¶
-
Burster(std::string segment_id)¶