libqi-api  2.8.7.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
qi::SignalSpy::Record Struct Reference

A record data, corresponding to one signal emission. More...

#include <signalspy.hpp>

Public Member Functions

template<typename T >
const T & arg (int index) const
 Use this to access an argument in the type you expect it. More...
 

Public Attributes

std::vector< qi::AnyValueargs
 Signal arguments are stored here, in a type-erased way for compatibility. More...
 

Detailed Description

A record data, corresponding to one signal emission.

Definition at line 49 of file signalspy.hpp.

Member Function Documentation

template<typename T >
const T& qi::SignalSpy::Record::arg ( int  index) const
inline

Use this to access an argument in the type you expect it.

Definition at line 56 of file signalspy.hpp.

Member Data Documentation

std::vector<qi::AnyValue> qi::SignalSpy::Record::args

Signal arguments are stored here, in a type-erased way for compatibility.

Definition at line 52 of file signalspy.hpp.


The documentation for this struct was generated from the following file: