Rube Goldberg Machine 1.0
This is the base code for Rube Goldberg designed for the CS296 Software Systems Lab
|
the sim_t stores a string and object pointer to base_sim_t More...
#include <cs296_base.hpp>
Public Member Functions | |
sim_t (const char *_name, sim_create_fcn *_create_fcn) | |
Public Attributes | |
const char * | name |
sim_create_fcn * | create_fcn |
the sim_t stores a string and object pointer to base_sim_t
the sim_t stores a string and object pointer to base_sim_t. This is used to store the object pointer and call it when needed.
Definition at line 111 of file cs296_base.hpp.
cs296::sim_t::sim_t | ( | const char * | _name, |
sim_create_fcn * | _create_fcn | ||
) | [inline] |
Definition at line 116 of file cs296_base.hpp.
: name(_name), create_fcn(_create_fcn) {;}
Definition at line 114 of file cs296_base.hpp.
const char* cs296::sim_t::name |
Definition at line 113 of file cs296_base.hpp.