[AGENT++] Changing name of context at runtime

Frank Fock fock at agentpp.com
Mon Jan 10 00:28:30 CET 2005


Hi Marcus,

Just changing the name of a context would cause trouble.
You should remove the context from a Mib instance and
then add it again with a different name. The MibContext's
name has been intentionally made immutable.

Best regards,
Frank

Fehde, Marcus wrote:

>Hi,
> 
>I would like to know whether I can change the name of an existing context at runtime. 
>As far as I know there's no interface available. My first idea was deriving from MibContext and adding a set method for the context name.
>But I can't overview if this would work meaning that always the initially added instance of context name is referenced and not a copy of that instance.
> 
>Best regards/Mit freundlichen Gruessen 
>
>Marcus Fehde
>Dipl. Ing. Technische Informatik (FH)
>
>Research & Development 
>Business Unit Anaesthesia 
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>
>DRÄGER MEDICAL 
>
>Dräger Medical AG & Co. KGaA 
>Moislinger Allee 53-55 
>D-23542 Lübeck 
>
>Tel:  + 49-451-882-3646 
>Fax: + 49-451-882-4410 
>E-mail: marcus.fehde at draeger.com 
>www.draeger-medical.com 
>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
>
> 
> 
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>AGENTPP mailing list
>AGENTPP at agentpp.org
>http://agentpp.org/mailman/listinfo/agentpp
>  
>





More information about the AGENTPP mailing list