API Guides > ConceptRT 3.x
BaseInvocableReferenceListDynamicFixed< ElementType, true > Class Template Reference

Base Invocable reference list whose size is fixed at the construction time.(For invocable items type) More...

Detailed Description

template<class ElementType>
class ConceptRT::BaseInvocableReferenceListDynamicFixed< ElementType, true >

Base Invocable reference list whose size is fixed at the construction time.(For invocable items type)

Template Parameters
ElementTypeReference items type. It can be invocable type or scalar.
Warning
Non-Deterministic: Creation is non-deterministic. Browsing the list is deterministic. Determinism when using ConceptRT library can be ensure by using Context Time Critical mechanisms.
+ Inheritance diagram for BaseInvocableReferenceListDynamicFixed< ElementType, true >:

Public Member Methods

 BaseInvocableReferenceListDynamicFixed (Int32 size)
 Constructor. More...
 
void Invoke (const DynamicInvocationRequest &request, DynamicInvocationResult &result)
 Invokes the object fields and methods. More...
 
- Public Member Methods inherited from ReferenceListDynamicFixed< ElementType >
 ReferenceListDynamicFixed (Int32 size)
 Constructor. More...
 
 ReferenceListDynamicFixed (const BaseReferenceList< ElementType > &right)
 Copy constructor. More...
 
virtual ~ReferenceListDynamicFixed ()
 
Int32 GetSize () const
 Get the maximum size of the list. Not equivalent to GetCount(). More...
 
- Public Member Methods inherited from BaseReferenceList< ElementType >
BaseReferenceList< ElementType > & operator= (const BaseReferenceList< ElementType > &right)
 Assignment operator. More...
 
ElementType & operator[] (Int32 index) const
 Array indexer operator. More...
 
Int32 GetCount () const
 Gets the number of references contained in the list. More...
 
bool GetFull () const
 Query if the reference list is full. More...
 
bool GetEmpty () const
 Query if the reference list is empty. More...
 
Int32 Add (ElementType &value)
 Adds reference. More...
 
void AddRange (const IReferenceList< ElementType > &list)
 Adds a range of references. More...
 
void Clear ()
 Clears all references. Referenced objects are not touched. More...
 
void RemoveAt (Int32 index)
 Removes a reference at index. More...
 
void Insert (Int32 index, ElementType &value)
 Inserts a reference. More...
 
void Exchange (Int32 index1, Int32 index2)
 Exchanges two references. More...
 
void Move (Int32 index1, Int32 index2)
 Moves a reference. More...
 
bool IndexValid (Int32 index) const
 Query if index is valid. More...
 
Int32 IndexOf (const ElementType &value) const
 Index of the given reference. More...
 
Int32 Remove (const ElementType &value)
 Removes an reference at index. More...
 
ElementType & Swap (ElementType &value, Int32 index)
 Swaps. More...
 
bool Contains (const ElementType &value) const
 Query if this reference list contains the given object reference. More...
 

Constructor & Destructor Documentation

Constructor.

Parameters
sizeThe size.
Warning
Non-Deterministic: The dynamic size list is created on the heap. Determinism when using ConceptRT library can be ensure by using Context Time Critical mechanisms.

Methods Documentation

void Invoke ( const DynamicInvocationRequest request,
DynamicInvocationResult result 
)
virtual

Invokes the object fields and methods.

Parameters
requestThe request.
result[in,out] The result.

Dynamic Invocation on IInvocable objects enables us to have remote access on published fields and methods.

Implements IInvocable.