![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for StaticMemory component. More...
#include <Svc/StaticMemory/StaticMemoryComponentAc.hpp>
Public Member Functions | |
| void | init (NATIVE_INT_TYPE instance=0) |
| Initialize StaticMemoryComponentBase object. More... | |
| Fw::InputBufferGetPort * | get_bufferAllocate_InputPort (NATIVE_INT_TYPE portNum) |
| Fw::InputBufferSendPort * | get_bufferDeallocate_InputPort (NATIVE_INT_TYPE portNum) |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const U32) |
| Set the ID base. More... | |
| U32 | getIdBase () const |
Protected Types | |
| enum | { NUM_BUFFERALLOCATE_INPUT_PORTS = 4 , NUM_BUFFERDEALLOCATE_INPUT_PORTS = 4 } |
| Enumerations for numbers of typed input ports. More... | |
Protected Member Functions | |
| StaticMemoryComponentBase (const char *compName="") | |
| Construct StaticMemoryComponentBase object. More... | |
| virtual | ~StaticMemoryComponentBase () |
| Destroy StaticMemoryComponentBase object. More... | |
| NATIVE_INT_TYPE | getNum_bufferAllocate_InputPorts () const |
| NATIVE_INT_TYPE | getNum_bufferDeallocate_InputPorts () const |
| virtual Fw::Buffer | bufferAllocate_handler (NATIVE_INT_TYPE portNum, U32 size)=0 |
| Handler for input port bufferAllocate. More... | |
| virtual void | bufferDeallocate_handler (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer)=0 |
| Handler for input port bufferDeallocate. More... | |
| Fw::Buffer | bufferAllocate_handlerBase (NATIVE_INT_TYPE portNum, U32 size) |
| Handler base-class function for input port bufferAllocate. More... | |
| void | bufferDeallocate_handlerBase (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
| Handler base-class function for input port bufferDeallocate. More... | |
| virtual void | lock () |
| Lock the guarded mutex. More... | |
| virtual void | unLock () |
| Unlock the guarded mutex. More... | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. More... | |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. More... | |
| NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Friends | |
| class | StaticMemoryComponentBaseFriend |
| Friend class for white-box testing. More... | |
Auto-generated base for StaticMemory component.
A component that provides statically allocated memory
Definition at line 24 of file StaticMemoryComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_BUFFERALLOCATE_INPUT_PORTS | |
| NUM_BUFFERDEALLOCATE_INPUT_PORTS | |
Definition at line 42 of file StaticMemoryComponentAc.hpp.
|
protected |
Construct StaticMemoryComponentBase object.
| compName | The component name |
Definition at line 122 of file StaticMemoryComponentAc.cpp.
|
protectedvirtual |
Destroy StaticMemoryComponentBase object.
Definition at line 129 of file StaticMemoryComponentAc.cpp.
|
protectedpure virtual |
Handler for input port bufferAllocate.
| portNum | The port number |
| size | The requested size |
|
protected |
Handler base-class function for input port bufferAllocate.
| portNum | The port number |
| size | The requested size |
Definition at line 157 of file StaticMemoryComponentAc.cpp.
|
protectedpure virtual |
Handler for input port bufferDeallocate.
| portNum | The port number |
| fwBuffer | The buffer |
|
protected |
Handler base-class function for input port bufferDeallocate.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 186 of file StaticMemoryComponentAc.cpp.
| Fw::InputBufferGetPort * Svc::StaticMemoryComponentBase::get_bufferAllocate_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 96 of file StaticMemoryComponentAc.cpp.
| Fw::InputBufferSendPort * Svc::StaticMemoryComponentBase::get_bufferDeallocate_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 107 of file StaticMemoryComponentAc.cpp.
|
protected |
Get the number of bufferAllocate input ports
Definition at line 139 of file StaticMemoryComponentAc.cpp.
|
protected |
Get the number of bufferDeallocate input ports
Definition at line 145 of file StaticMemoryComponentAc.cpp.
| void Svc::StaticMemoryComponentBase::init | ( | NATIVE_INT_TYPE | instance = 0 | ) |
Initialize StaticMemoryComponentBase object.
| instance | The instance number |
Definition at line 21 of file StaticMemoryComponentAc.cpp.
|
protectedvirtual |
Lock the guarded mutex.
Definition at line 218 of file StaticMemoryComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 224 of file StaticMemoryComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 33 of file StaticMemoryComponentAc.hpp.