The system class encapsulates a Genicam transport layer. More...
#include <system.h>
Public Member Functions | |
| void | close () |
| Closes the system. | |
| std::string | getDisplayName () |
| Returns the display name of the GenTL provider. | |
| const std::string & | getFilename () const |
| Get file name from which this system was created. | |
| void * | getHandle () const |
| Get internal handle of open transport layer. | |
| std::string | getID () |
| Returns the ID of the GenTL provider. | |
| std::vector< std::shared_ptr < Interface > > | getInterfaces () |
| Returns the currently available interfaces. | |
| int | getMajorVersion () |
| Returns the major version number. | |
| int | getMinorVersion () |
| Returns the minor version number. | |
| std::string | getModel () |
| Returns the model of the GenTL provider. | |
| std::string | getName () |
| Returns the file name of the GenTL provider. | |
| std::shared_ptr < GenApi::CNodeMapRef > | getNodeMap () |
| Returns the node map of this object. | |
| std::string | getPathname () |
| Returns the full path name of the GenTL provider. | |
| std::string | getTLType () |
| Returns the transport layer type of the GenTL provider. | |
| std::string | getVendor () |
| Returns the vendor name of the GenTL provider. | |
| std::string | getVersion () |
| Returns the version of the GenTL provider. | |
| bool | isCharEncodingASCII () |
| Returns the character encoding. | |
| void | open () |
| Opens the system for working with it. | |
| ~System () | |
Static Public Member Functions | |
| static void | clearSystems () |
| Clears the internal list of systems. | |
| static std::vector < std::shared_ptr< System > > | getSystems () |
| Returns a list of systems (i.e. | |
Private Member Functions | |
| System & | operator= (const System &) |
| System (const std::string &_filename) | |
| System (class System &) | |
Private Attributes | |
| std::shared_ptr< CPort > | cport |
| std::string | filename |
| std::shared_ptr< const GenTLWrapper > | gentl |
| std::vector< std::weak_ptr < Interface > > | ilist |
| std::mutex | mtx |
| int | n_open |
| std::shared_ptr < GenApi::CNodeMapRef > | nodemap |
| void * | tl |
The system class encapsulates a Genicam transport layer.
NOTE: A GenTLException is thrown in case of a severe error.
| rcg::System::System | ( | const std::string & | _filename | ) | [private] |
| rcg::System::System | ( | class System & | ) | [private] |
| void rcg::System::clearSystems | ( | ) | [static] |
| void rcg::System::close | ( | ) |
| std::string rcg::System::getDisplayName | ( | ) |
| const std::string & rcg::System::getFilename | ( | ) | const |
| void * rcg::System::getHandle | ( | ) | const |
| std::string rcg::System::getID | ( | ) |
| std::vector< std::shared_ptr< Interface > > rcg::System::getInterfaces | ( | ) |
| int rcg::System::getMajorVersion | ( | ) |
| int rcg::System::getMinorVersion | ( | ) |
| std::string rcg::System::getModel | ( | ) |
| std::string rcg::System::getName | ( | ) |
| std::shared_ptr< GenApi::CNodeMapRef > rcg::System::getNodeMap | ( | ) |
| std::string rcg::System::getPathname | ( | ) |
| std::vector< std::shared_ptr< System > > rcg::System::getSystems | ( | ) | [static] |
Returns a list of systems (i.e.
transport layers) that is currently available. For discovering available transport layers, the environment variable GENICAM_GENTL32_PATH or GENICAM_GENTL64_PATH (depending on the compilation with 32 or 64 bit) is used. In case the environment variable is not set or is empty, a default path is used, which points to the GenTL layer that is bundled with rc_genicam_api.
NOTE: This is the only method that can instantiate System objects.
| std::string rcg::System::getTLType | ( | ) |
| std::string rcg::System::getVendor | ( | ) |
| std::string rcg::System::getVersion | ( | ) |
| bool rcg::System::isCharEncodingASCII | ( | ) |
| void rcg::System::open | ( | ) |
std::shared_ptr<CPort> rcg::System::cport [private] |
std::string rcg::System::filename [private] |
std::shared_ptr<const GenTLWrapper> rcg::System::gentl [private] |
std::vector<std::weak_ptr<Interface> > rcg::System::ilist [private] |
std::mutex rcg::System::mtx [private] |
int rcg::System::n_open [private] |
std::shared_ptr<GenApi::CNodeMapRef> rcg::System::nodemap [private] |
void* rcg::System::tl [private] |