src/memory/memory.cc
/*
 * Uses the given input to create a controller object for this memory object.
 */
Uses the given input to create a controller object for this memory object.
Uses the given input to create a controller object for this memory object .
void Memory::AddController(Input *input) {
  if (controller_ != NULL)  {
    delete controller_;
  }
  controller_ = new Controller(input);
  return;
}
void Memory :: AddController ( Input * input ) { if ( controller_ != NULL ) { delete controller_ ; } controller_ = new Controller ( input ) ; return ; }
Uses the given input to create a controller object for this memory object.
Uses the given input to create a controller object for this memory object .
// Remove the connected controller, if it exists. // Create the new controller.