Go to the documentation of this file.
36 #ifndef RC_GENICAM_API_INTERFACE
37 #define RC_GENICAM_API_INTERFACE
54 class Interface :
public std::enable_shared_from_this<Interface>
64 const std::shared_ptr<const GenTLWrapper> &
gentl,
const char *
id);
73 std::shared_ptr<System>
getParent()
const;
81 const std::string &
getID()
const;
108 std::vector<std::shared_ptr<Device> >
getDevices(uint64_t timeout);
109 std::vector<std::shared_ptr<Device> >
getDevices();
122 std::shared_ptr<Device>
getDevice(
const char *devid, uint64_t timeout);
123 std::shared_ptr<Device>
getDevice(
const char *devid);
156 std::shared_ptr<GenApi::CNodeMapRef>
getNodeMap();
172 std::shared_ptr<const GenTLWrapper>
gentl;
183 std::vector<std::weak_ptr<Device> >
dlist;
std::shared_ptr< Device > getDevice(const char *devid, uint64_t timeout)
Returns a device with the given device id.
std::shared_ptr< const GenTLWrapper > gentl
std::shared_ptr< System > parent
std::shared_ptr< System > getParent() const
Returns the pointer to the parent system object.
void open()
Opens the interface for working with it.
void close()
Closes the interface.
std::shared_ptr< GenApi::CNodeMapRef > nodemap
void * getHandle() const
Get internal interace handle.
The interface class encapsulates a Genicam interface.
std::string getDisplayName()
Returns the display name of the interface.
const std::string & getID() const
Get the internal ID of this interface.
std::vector< std::weak_ptr< Device > > dlist
std::shared_ptr< CPort > cport
std::vector< std::shared_ptr< Device > > getDevices()
std::shared_ptr< GenApi::CNodeMapRef > getNodeMap()
Returns the node map of this object.
Interface & operator=(const Interface &)
Interface(const std::shared_ptr< System > &parent, const std::shared_ptr< const GenTLWrapper > &gentl, const char *id)
Constructs an interface class.
std::string getTLType()
Returns the transport layer type of the interface.
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11