From 04c56a0618f668fac288fb2070fcf200a83aebc6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 12 Apr 2016 17:03:44 +0200 Subject: [PATCH] some strategic documentation Prevent class descriptions inheriting the doc from PBD:Stateful by adding some specific doc. --- libs/ardour/ardour/location.h | 1 + libs/ardour/ardour/plugin.h | 8 ++++++++ libs/ardour/ardour/track.h | 5 +++++ libs/ardour/route.cc | 1 + libs/pbd/pbd/command.h | 1 + libs/pbd/pbd/controllable.h | 3 +-- libs/pbd/pbd/id.h | 1 + 7 files changed, 18 insertions(+), 2 deletions(-) diff --git a/libs/ardour/ardour/location.h b/libs/ardour/ardour/location.h index fccccac144..530f757c65 100644 --- a/libs/ardour/ardour/location.h +++ b/libs/ardour/ardour/location.h @@ -164,6 +164,7 @@ class LIBARDOUR_API Location : public SessionHandleRef, public PBD::StatefulDest void recompute_bbt_from_frames (); }; +/** A collection of session locations including unique dedicated locations (loop, punch, etc) */ class LIBARDOUR_API Locations : public SessionHandleRef, public PBD::StatefulDestructible { public: diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index 087f5968bd..e48201e73c 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -55,6 +55,14 @@ typedef boost::shared_ptr PluginPtr; typedef boost::shared_ptr PluginInfoPtr; typedef std::list PluginInfoList; +/** A plugin is an external module (usually 3rd party provided) loaded into Ardour + * for the purpose of digital signal processing. + * + * This class provides an abstraction for methords provided by + * all supported plugin standards such as presets, name, parameters etc. + * + * Plugins are not used directly in Ardour but always wrapped by a PluginInsert. + */ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent { public: diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index da5e2bbae8..c49cbd00e2 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -35,6 +35,11 @@ class Region; class Diskstream; class IO; +/** A track is an route (bus) with a recordable diskstream and + * related objects relevant to tracking, playback and editing. + * + * Specifically a track has regions and playlist objects. + */ class LIBARDOUR_API Track : public Route, public PublicDiskstream { public: diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 730176405e..5132c275ac 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -79,6 +79,7 @@ using namespace PBD; PBD::Signal0 Route::SyncOrderKeys; PBD::Signal0 Route::RemoteControlIDChange; +/** Base class for all routable/mixable objects (tracks and busses) */ Route::Route (Session& sess, string name, Flag flg, DataType default_type) : SessionObject (sess, name) , Automatable (sess) diff --git a/libs/pbd/pbd/command.h b/libs/pbd/pbd/command.h index 337140e786..a9b313f4fa 100644 --- a/libs/pbd/pbd/command.h +++ b/libs/pbd/pbd/command.h @@ -28,6 +28,7 @@ #include "pbd/signals.h" #include "pbd/statefuldestructible.h" +/** Base class for Undo/Redo commands and changesets */ class LIBPBD_API Command : public PBD::StatefulDestructible, public PBD::ScopedConnectionList { public: diff --git a/libs/pbd/pbd/controllable.h b/libs/pbd/pbd/controllable.h index 5ac6895d6f..cd26ff019f 100644 --- a/libs/pbd/pbd/controllable.h +++ b/libs/pbd/pbd/controllable.h @@ -37,7 +37,7 @@ class XMLNode; namespace PBD { -/* This is a pure virtual class to represent a scalar control. +/** This is a pure virtual class to represent a scalar control. * * Note that it contains no storage/state for the controllable thing that it * represents. Derived classes must provide set_value()/get_value() methods, @@ -49,7 +49,6 @@ namespace PBD { * as a control whose value can range between 0 and 1.0. * */ - class LIBPBD_API Controllable : public PBD::StatefulDestructible { public: enum Flag { diff --git a/libs/pbd/pbd/id.h b/libs/pbd/pbd/id.h index 1f33e6d732..5316e7c20e 100644 --- a/libs/pbd/pbd/id.h +++ b/libs/pbd/pbd/id.h @@ -29,6 +29,7 @@ namespace PBD { +/** a unique ID to identify objects numerically */ class LIBPBD_API ID { public: ID (); -- 2.30.2