![]() |
Trax3 3.1.0
trax track library
|
Interface for enumerating the Jacks an object provides. More...
#include <C:/Trend/Development/Trax3/Code/trax/Jack.h>

Public Types | |
Type information for iterator implementation | |
| typedef JackEnumerator | collection_type |
| typedef Jack | value_type |
Public Member Functions | |||||
| virtual int | CountJacks () const =0 | ||||
GetJack | |||||
Get one of the object's Jacks.
| |||||
| Jack & | GetJack (int idx) | ||||
| const Jack & | GetJack (int idx) const | ||||
Protected Member Functions | |
| JackEnumerator (const JackEnumerator &)=default | |
| JackEnumerator (JackEnumerator &&)=default | |
| JackEnumerator & | operator= (const JackEnumerator &)=default |
| JackEnumerator & | operator= (JackEnumerator &&)=default |
| virtual const Jack & | _GetJack (int idx) const =0 |
Interface for enumerating the Jacks an object provides.
The interface can be retrieved by dynamic_cast for every object that provides Jacks. There is a begin/end pair of functions defined, that can get used for iterating, e.g. in a range-for loop.
|
pure virtual |
Implemented in trax::Plug_Imp, and trax::Sensor_Imp.
|
inline |
Use only for iterating over the jacks.
|
inline |
Use only for iterating over the jacks.