>>> from minimock import Mock
Super class of all model and table caller classes
Attributes:
Initialize caller:
>>> from simo.simulation.caller.caller import Caller
>>> caller = Caller('test-type')
>>> caller._sim = Mock('Simulator')
>>> caller._type
'test-type'
Placeholder for subclass implementations.
Log error message:
>>> errorstr = "test error message"
>>> caller.add_error(errorstr, None, None)
Called Simulator.add_error('test-type caller: test error message', None,
None)
Log error message:
>>> warnstr = "test warning message"
>>> caller.add_warning(warnstr, None, None)
Called Simulator.add_warning(
'test-type caller: test warning message',
None,
None)