The ideas of object orientation are convenient to describe complex technical systems. This paper describes how an adaptive controller is conveniently structured in this way. This approach is flexible and safe. It also permits reuse and easy modification of models through the mechanisms of inheritance and specifications. The particular implementation is based on the language Omola and the interactive simulation environment OmSim.