MeshMachine::APreallocatedOriginators Class Reference

class MeshMachine::APreallocatedOriginators

Aggregate originator array template for activities that use preallocated space. This object has a fixed size array to hold the originators which will be allocated from the preallocated space when the node activity object is created.

Constructor & Destructor Documentation

APreallocatedOriginators(RArray< Messages::XNodePeerId > &)

APreallocatedOriginators ( RArray < Messages::XNodePeerId > & aOriginators ) [protected, inline, explicit]

Initialise the array and ensure it is empty as it should be on creation. Generally, iOriginators from the activity will be passed into this as a reference. A new RArray will then be created using the preallocated space.

Parameters

RArray < Messages::XNodePeerId > & aOriginators Array of originators for which to preallocate space

~APreallocatedOriginators()

~APreallocatedOriginators ( ) [protected, inline]

Member Data Documentation

TUint8 iOriginatorBuf

TUint8 iOriginatorBuf [private]

RArray< Messages::XNodePeerId > & iOriginatorsRef

RArray < Messages::XNodePeerId > & iOriginatorsRef [private]