diff options
author | Travis CI <zmoelnig@travis-ci.umlaeute.mur.at> | 2017-12-06 02:23:21 +0000 |
---|---|---|
committer | Travis CI <zmoelnig@travis-ci.umlaeute.mur.at> | 2017-12-06 02:23:21 +0000 |
commit | 78398e2413f9ec55c280622de96120ab00879c3b (patch) | |
tree | 7e476efe84820f3640759a88365e97aeed8146fb /Gem/develop/include/Gem/plugins | |
parent | f67b8323fe6ef393f896e67812e6bf5b3cbe3a51 (diff) |
Gem 5996d729690826d72ad4a23dd8d0a238d2ea7acb osx/x86_64
built 'master:5996d729690826d72ad4a23dd8d0a238d2ea7acb' for osx/x86_64
Diffstat (limited to 'Gem/develop/include/Gem/plugins')
-rw-r--r-- | Gem/develop/include/Gem/plugins/film.h | 2 | ||||
-rw-r--r-- | Gem/develop/include/Gem/plugins/imagesaver.h | 2 | ||||
-rw-r--r-- | Gem/develop/include/Gem/plugins/record.h | 6 | ||||
-rw-r--r-- | Gem/develop/include/Gem/plugins/video.h | 8 |
4 files changed, 8 insertions, 10 deletions
diff --git a/Gem/develop/include/Gem/plugins/film.h b/Gem/develop/include/Gem/plugins/film.h index 679c753..14f39ec 100644 --- a/Gem/develop/include/Gem/plugins/film.h +++ b/Gem/develop/include/Gem/plugins/film.h @@ -80,7 +80,7 @@ class GEM_EXTERN film * anything about the internal cs of the decoder */ /* returns TRUE if loading was successful, FALSE otherwise */ - virtual bool open(const std::string, + virtual bool open(const std::string&, const gem::Properties&requestprops) = 0; /* some error codes */ diff --git a/Gem/develop/include/Gem/plugins/imagesaver.h b/Gem/develop/include/Gem/plugins/imagesaver.h index 4ba2515..e883669 100644 --- a/Gem/develop/include/Gem/plugins/imagesaver.h +++ b/Gem/develop/include/Gem/plugins/imagesaver.h @@ -106,7 +106,7 @@ namespace gem { namespace plugins { */ virtual void getWriteCapabilities(std::vector<std::string>&mimetypes, gem::Properties&props) = 0; - /* returns TRUE, if it is save to use this backend from multple threads + /* returns TRUE, if it is save to use this backend from multiple threads */ virtual bool isThreadable(void) = 0; }; diff --git a/Gem/develop/include/Gem/plugins/record.h b/Gem/develop/include/Gem/plugins/record.h index b2aa254..ed0113c 100644 --- a/Gem/develop/include/Gem/plugins/record.h +++ b/Gem/develop/include/Gem/plugins/record.h @@ -54,11 +54,11 @@ public: /** * get a human readable description of the given codec (e.g. "Motion Jpeg A") */ - virtual const std::string getCodecDescription(const std::string codecname) = 0; + virtual const std::string getCodecDescription(const std::string&codecname) = 0; /** * set the current codec */ - virtual bool setCodec(const std::string name) = 0; + virtual bool setCodec(const std::string&name) = 0; /** * list all properties the currently selected codec supports @@ -76,7 +76,7 @@ public: /* * returns TRUE if opening was successful, FALSE otherwise */ - virtual bool start(const std::string filename, gem::Properties&props) = 0; + virtual bool start(const std::string&filename, gem::Properties&props) = 0; ////////// // record a frame diff --git a/Gem/develop/include/Gem/plugins/video.h b/Gem/develop/include/Gem/plugins/video.h index 7be968d..a949c86 100644 --- a/Gem/develop/include/Gem/plugins/video.h +++ b/Gem/develop/include/Gem/plugins/video.h @@ -71,7 +71,7 @@ namespace gem { namespace plugins { * the default implementation (which you normally shouldn't need to override) * will simply set m_devicename and clear m_devicenum */ - virtual bool setDevice(const std::string) = 0; + virtual bool setDevice(const std::string&) = 0; //! open the device (calls openDevice()) @@ -164,8 +164,6 @@ namespace gem { namespace plugins { - - /** * returns TRUE if the object can be used in a thread or FALSE otherwise * if a backend implements threading itself, it should return FALSE @@ -177,7 +175,7 @@ namespace gem { namespace plugins { /** turn on/off "asynchronous"-grabbing * default is "true" * "asynchronous" means, that the device is constantly grabbing, and grabFrame() returns the current frame - * non-"continuous" means, that the device will only issue a new grab when a frame has read + * non-"asynchronous" means, that the device will only issue a new grab when a frame has read * (thus potentially reducing the CPU-load to what is needed, at the cost of slightly outdated images * returns: the old state */ @@ -194,7 +192,7 @@ namespace gem { namespace plugins { // for pix_video: query whether this backend provides access to this class of devices // (e.g. "dv") - virtual bool provides(const std::string) = 0; + virtual bool provides(const std::string&) = 0; // get a list of all provided devices virtual std::vector<std::string>provides(void) = 0; |