#include <runtime.h>

Public Member Functions | |
| mb_runtime () | |
| virtual | ~mb_runtime () |
| virtual bool | run (const std::string &instance_name, const std::string &class_name, pmt_t user_arg, pmt_t *result=0)=0 |
| Construct and run the specified mblock hierarchy. | |
| mb_mblock_sptr | top () |
Protected Attributes | |
| mb_mblock_sptr | d_top |
There should generally be only a single instance of this class.
| mb_runtime::mb_runtime | ( | ) | [inline] |
| virtual mb_runtime::~mb_runtime | ( | ) | [virtual] |
| virtual bool mb_runtime::run | ( | const std::string & | instance_name, | |
| const std::string & | class_name, | |||
| pmt_t | user_arg, | |||
| pmt_t * | result = 0 | |||
| ) | [pure 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. |
Implemented in mb_runtime_nop, and mb_runtime_thread_per_block.
| mb_mblock_sptr mb_runtime::top | ( | ) | [inline] |
References d_top.
mb_mblock_sptr mb_runtime::d_top [protected] |
Referenced by top().
1.5.9