Public Member Functions | Protected Member Functions

mb_runtime_nop Class Reference

Concrete runtime that does nothing. Used only during early QA tests. More...

#include <mb_runtime_nop.h>

Inheritance diagram for mb_runtime_nop:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Concrete runtime that does nothing. Used only during early QA tests.


Constructor & Destructor Documentation

mb_runtime_nop::mb_runtime_nop (  ) 
mb_runtime_nop::~mb_runtime_nop (  ) 

Member Function Documentation

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.

Parameters:
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.
Returns:
true if the system ran successfully.

Implements mb_runtime.


The documentation for this class was generated from the following file: