Rube Goldberg Machine 1.0
This is the base code for Rube Goldberg designed for the CS296 Software Systems Lab
Public Member Functions | Public Attributes
cs296::sim_t Struct Reference

the sim_t stores a string and object pointer to base_sim_t More...

#include <cs296_base.hpp>

List of all members.

Public Member Functions

 sim_t (const char *_name, sim_create_fcn *_create_fcn)

Public Attributes

const char * name
sim_create_fcncreate_fcn

Detailed Description

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.


Constructor & Destructor Documentation

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) {;}

Member Data Documentation

Definition at line 114 of file cs296_base.hpp.

const char* cs296::sim_t::name

Definition at line 113 of file cs296_base.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines