GNU Radio 3.2.2 C++ API
|
Concrete runtime that does nothing. Used only during early QA tests. More...
#include <mb_runtime_nop.h>
Public Member Functions | |
mb_runtime_nop () | |
~mb_runtime_nop () | |
bool | run (const std::string &instance_name, const std::string &class_name, pmt_t user_arg, pmt_t *result) |
Construct and run the specified mblock hierarchy. | |
Protected Member Functions | |
mb_mblock_sptr | create_component (const std::string &instance_name, const std::string &class_name, pmt_t user_arg) |
Concrete runtime that does nothing. Used only during early QA tests.
mb_runtime_nop::mb_runtime_nop | ( | ) |
mb_runtime_nop::~mb_runtime_nop | ( | ) |
mb_mblock_sptr mb_runtime_nop::create_component | ( | const std::string & | instance_name, |
const std::string & | class_name, | ||
pmt_t | user_arg | ||
) | [protected, virtual] |
Implements mb_runtime_base.
bool mb_runtime_nop::run | ( | const std::string & | instance_name, |
const std::string & | class_name, | ||
pmt_t | user_arg, | ||
pmt_t * | result | ||
) | [virtual] |
Construct and run the specified mblock hierarchy.
This routine turns into the m-block scheduler, and blocks until the system is shutdown.
instance_name | name of the top-level mblock (conventionally "top") |
class_name | The class of the top-level mblock to create. |
user_arg | The argument to pass to the top-level mblock constructor |
result | The value passed to shutdown_all. |
Implements mb_runtime.