Skip to content

Commit

Permalink
G-API: Make some symbols private
Browse files Browse the repository at this point in the history
These structures are mainly internal and shouldn't be used directly
  • Loading branch information
dmatveev committed Jun 7, 2021
1 parent 377b8c3 commit 8011f9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/gapi/include/opencv2/gapi/cpu/gcpukernel.hpp
Expand Up @@ -496,7 +496,7 @@ class GCPUStKernelImpl: public cv::detail::KernelTag
#define GAPI_OCV_KERNEL_ST(Name, API, State) \
struct Name: public cv::GCPUStKernelImpl<Name, API, State> \


/// @private
class gapi::cpu::GOCVFunctor : public gapi::GFunctor
{
public:
Expand Down
2 changes: 2 additions & 0 deletions modules/gapi/include/opencv2/gapi/gkernel.hpp
Expand Up @@ -372,6 +372,7 @@ namespace gapi
{
// Prework: model "Device" API before it gets to G-API headers.
// FIXME: Don't mix with internal Backends class!
/// @private
class GAPI_EXPORTS GBackend
{
public:
Expand Down Expand Up @@ -412,6 +413,7 @@ namespace std

namespace cv {
namespace gapi {
/// @private
class GFunctor
{
public:
Expand Down
3 changes: 2 additions & 1 deletion modules/gapi/include/opencv2/gapi/infer.hpp
Expand Up @@ -649,6 +649,7 @@ namespace gapi {

// A type-erased form of network parameters.
// Similar to how a type-erased GKernel is represented and used.
/// @private
struct GAPI_EXPORTS GNetParam {
std::string tag; // FIXME: const?
GBackend backend; // Specifies the execution model
Expand All @@ -660,7 +661,7 @@ struct GAPI_EXPORTS GNetParam {
*/
/**
* @brief A container class for network configurations. Similar to
* GKernelPackage.Use cv::gapi::networks() to construct this object.
* GKernelPackage. Use cv::gapi::networks() to construct this object.
*
* @sa cv::gapi::networks
*/
Expand Down

0 comments on commit 8011f9c

Please sign in to comment.