#include <system.h>
Public Member Functions | |
void | close () |
const std::string & | getFilename () const |
void * | getHandle () const |
std::string | getID () const |
std::vector< std::shared_ptr < Interface > > | getInterfaces () |
int | getMajorVersion () const |
int | getMinorVersion () const |
std::string | getModel () const |
std::shared_ptr < GenApi::CNodeMapRef > | getNodeMap () |
std::string | getPathname () const |
std::string | getTLType () const |
std::string | getVendor () const |
std::string | getVersion () const |
bool | isCharEncodingASCII () const |
void | open () |
~System () | |
Static Public Member Functions | |
static void | clearSystems () |
static std::vector < std::shared_ptr< System > > | getSystems () |
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 |
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 | ( | ) |
const std::string & rcg::System::getFilename | ( | ) | const |
void * rcg::System::getHandle | ( | ) | const |
std::string rcg::System::getID | ( | ) | const |
std::vector< std::shared_ptr< Interface > > rcg::System::getInterfaces | ( | ) |
int rcg::System::getMajorVersion | ( | ) | const |
int rcg::System::getMinorVersion | ( | ) | const |
std::string rcg::System::getModel | ( | ) | const |
std::shared_ptr< GenApi::CNodeMapRef > rcg::System::getNodeMap | ( | ) |
std::string rcg::System::getPathname | ( | ) | const |
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 | ( | ) | const |
std::string rcg::System::getVendor | ( | ) | const |
std::string rcg::System::getVersion | ( | ) | const |
bool rcg::System::isCharEncodingASCII | ( | ) | const |
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] |
int rcg::System::n_open [private] |
std::shared_ptr<GenApi::CNodeMapRef> rcg::System::nodemap [private] |
void* rcg::System::tl [private] |