WPILibC++  unspecified
cs::CvSinkImpl Class Reference
Inheritance diagram for cs::CvSinkImpl:
Collaboration diagram for cs::CvSinkImpl:

Public Member Functions

 CvSinkImpl (llvm::StringRef name)
 
 CvSinkImpl (llvm::StringRef name, std::function< void(uint64_t time)> processFrame)
 
void Stop ()
 
uint64_t GrabFrame (cv::Mat &image)
 
uint64_t GrabFrame (cv::Mat &image, double timeout)
 
- Public Member Functions inherited from cs::SinkImpl
 SinkImpl (llvm::StringRef name)
 
 SinkImpl (const SinkImpl &queue)=delete
 
SinkImploperator= (const SinkImpl &queue)=delete
 
llvm::StringRef GetName () const
 
void SetDescription (llvm::StringRef description)
 
llvm::StringRef GetDescription (llvm::SmallVectorImpl< char > &buf) const
 
void Enable ()
 
void Disable ()
 
void SetEnabled (bool enabled)
 
void SetSource (std::shared_ptr< SourceImpl > source)
 
std::shared_ptr< SourceImplGetSource () const
 
std::string GetError () const
 
llvm::StringRef GetError (llvm::SmallVectorImpl< char > &buf) const
 

Additional Inherited Members

- Protected Member Functions inherited from cs::SinkImpl
virtual void SetSourceImpl (std::shared_ptr< SourceImpl > source)
 
- Protected Attributes inherited from cs::SinkImpl
std::mutex m_mutex
 

The documentation for this class was generated from the following files: