def initialize(self,name,active):
     self.__name = name
     self.__simulation = None
     self.__active = active
     
     self.__logger = SimulationProcessLogger()
     
     self.__logger.resgiterLoggingInfo("Initialize "+name)
class AbstractSimulationProcessFactory(Process):
    """
    Defines the basic implementation of ISimulationProcessFactory interface.
    @author: Luiz Gustavo 
    @organization: Federal University of Rio de Janeiro
    @contact: [email protected] 
    @since: 28/10/2009
    """

    def __init__(self):
        raise NotImplementedError()
    
    def initialize(self,name,active):
        self.__name = name
        self.__simulation = None
        self.__active = active
        
        self.__logger = SimulationProcessLogger()
        
        self.__logger.resgiterLoggingInfo("Initialize "+name)
    
    
    def initializeProcess(self):
             
        return Process.__init__( self, self.getName(), self.getSimulation().getSimInstance())
        
        
    def getActive(self):
        return self.__active
        
    def getSimulation(self):
        return self.__simulation

    
    def setSimulation(self, simulation):
        
        self.__simulation = simulation
        return self.__simulation
    
        
    def getName(self):
        return self.__name

   
    def factorySimulationProcess(self):
        return ISimulationProcessFactory.factorySimulationProcess(self)