F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
A Class Reference

#include <cmake-build-debug/fpp-tools/src/docs/users-guide/examples/impl-abs-type/AArrayAc.hpp>

Inheritance diagram for A:
Fw::Serializable

Public Types

enum  { SIZE =3, SERIALIZED_SIZE }
 
typedef T ElementType
 

Public Member Functions

 A (void)
 Construct a A with default initialization. More...
 
 A (const ElementType(&a)[SIZE])
 Construct a A and initialize its elements from an array. More...
 
 A (const ElementType &e)
 Construct a A and initialize its elements from a single element. More...
 
 A (const ElementType(&e1), const ElementType(&e2), const ElementType(&e3))
 Construct a A and initialize its elements from elements. More...
 
 A (const A &other)
 Copy constructor. More...
 
ElementTypeoperator[] (const U32 i)
 Subscript operator. More...
 
const ElementTypeoperator[] (const U32 i) const
 Const subscript operator. More...
 
const Aoperator= (const A &other)
 Assignment operator. More...
 
const Aoperator= (const ElementType(&a)[SIZE])
 Assignment operator from array. More...
 
const Aoperator= (const ElementType &e)
 Assignment operator from element. More...
 
bool operator== (const A &other) const
 Equality operator. More...
 
bool operator!= (const A &other) const
 Inequality operator. More...
 
Fw::SerializeStatus serialize (Fw::SerializeBufferBase &buffer) const
 Serialization. More...
 
Fw::SerializeStatus deserialize (Fw::SerializeBufferBase &buffer)
 Deserialization. More...
 

Protected Types

enum  { TYPE_ID = 0x6CB4E96B }
 

Additional Inherited Members

- Protected Member Functions inherited from Fw::Serializable
 Serializable ()
 Default constructor. More...
 
virtual ~Serializable ()
 destructor More...
 
 Serializable ()
 Default constructor. More...
 
virtual ~Serializable ()
 destructor More...
 

Detailed Description

Definition at line 28 of file AArrayAc.hpp.

Member Typedef Documentation

◆ ElementType

typedef T A::ElementType

Definition at line 36 of file AArrayAc.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SIZE 
SERIALIZED_SIZE 

Definition at line 38 of file AArrayAc.hpp.

◆ anonymous enum

anonymous enum
protected
Enumerator
TYPE_ID 

type id

Definition at line 146 of file AArrayAc.hpp.

Constructor & Destructor Documentation

◆ A() [1/5]

A::A ( void  )

Construct a A with default initialization.

Definition at line 34 of file AArrayAc.cpp.

◆ A() [2/5]

A::A ( const ElementType(&)  a[SIZE])

Construct a A and initialize its elements from an array.

Parameters
aThe array

Definition at line 44 of file AArrayAc.cpp.

◆ A() [3/5]

A::A ( const ElementType e)

Construct a A and initialize its elements from a single element.

Parameters
eThe element

Definition at line 54 of file AArrayAc.cpp.

◆ A() [4/5]

A::A ( const ElementType e1,
const ElementType e2,
const ElementType e3 
)

Construct a A and initialize its elements from elements.

Parameters
e1Element 1
e2Element 2

Definition at line 64 of file AArrayAc.cpp.

◆ A() [5/5]

A::A ( const A other)

Copy constructor.

Parameters
otherThe other object

Definition at line 77 of file AArrayAc.cpp.

Member Function Documentation

◆ deserialize()

Fw::SerializeStatus A::deserialize ( Fw::SerializeBufferBase buffer)
virtual

Deserialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 206 of file AArrayAc.cpp.

◆ operator!=()

bool A::operator!= ( const A other) const

Inequality operator.

Parameters
otherThe other object

Definition at line 145 of file AArrayAc.cpp.

◆ operator=() [1/3]

const A & A::operator= ( const A other)

Assignment operator.

Parameters
otherThe other object

Definition at line 107 of file AArrayAc.cpp.

◆ operator=() [2/3]

const A & A::operator= ( const ElementType e)

Assignment operator from element.

Parameters
eThe element

Definition at line 125 of file AArrayAc.cpp.

◆ operator=() [3/3]

const A & A::operator= ( const ElementType(&)  a[SIZE])

Assignment operator from array.

Parameters
aThe array

Definition at line 116 of file AArrayAc.cpp.

◆ operator==()

bool A::operator== ( const A other) const

Equality operator.

Parameters
otherThe other object

Definition at line 134 of file AArrayAc.cpp.

◆ operator[]() [1/2]

A::ElementType & A::operator[] ( const U32  i)

Subscript operator.

Parameters
iThe subscript index

Definition at line 92 of file AArrayAc.cpp.

◆ operator[]() [2/2]

const A::ElementType & A::operator[] ( const U32  i) const

Const subscript operator.

Parameters
iThe subscript index

Definition at line 99 of file AArrayAc.cpp.

◆ serialize()

Fw::SerializeStatus A::serialize ( Fw::SerializeBufferBase buffer) const
virtual

Serialization.

Parameters
bufferThe serial buffer

Implements Fw::Serializable.

Definition at line 193 of file AArrayAc.cpp.


The documentation for this class was generated from the following files: