INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydroutil::Context Class ReferenceDriver's properties, tracer, status etc. More...
Detailed DescriptionDriver's properties, tracer, status etc. Contains pointers to driver's tracer and status handler. Makes a copy of driver properties. With this class it's easy to pass all this information to at the time of driver instantiation. A note on thread safety. None of access functions are thread-safe. However, all object which are referenced are themselves thread-safe. This means that once a copy of of Context is created, it is safe to use it from different threads. Pass context by const reference and store a copy, e.g. a class definition would look like this: class MyClass { public: MyClass( const hydroutil::Context & context ) : context_(context) {}; private: hydroutil::Context context_; } The documentation for this class was generated from the following file: |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)