#include <DC_SampleMonitoredDataPool.h>
Inheritance diagram for DC_SampleMonitoredDataPool:
The code for this class was automatically generated by an XSL program using as input an XML-based description of the data pool. This class fully defines the structure of the data pool: its constructor allocates memory for all internal data structures and it initializes them to reflect the data pool layout defined in the XML-based data pool descriptor file.
This data pool has the following characteristics:
DC_DataItem
) attached to each data pool item. MonitoringProfile
) attached to each data pool item. DC_SampleMonitoredDataPool_inc.h
) is also automatically generated that defines symbolic names to access the items in the data pool.
Definition at line 58 of file DC_SampleMonitoredDataPool.h.
Public Member Functions | |
DC_SampleMonitoredDataPool (void) | |
Instantiate a data pool component. | |
virtual void | setValue (TD_DataPoolId id, TD_Float newValue) |
Setter method for the value of a real-typed data pool item. | |
virtual void | setValue (TD_DataPoolId id, TD_Integer newValue) |
Setter method for the value of an integer-typed data pool item. | |
virtual TD_Float | getFloatValue (TD_DataPoolId id) |
Getter method for the value of a real-typed data pool item. | |
virtual TD_Integer | getIntegerValue (TD_DataPoolId id) |
Getter method for the value of an integer-typed data pool item. | |
virtual TD_Float * | getPointerFloatValue (TD_DataPoolId id) |
Getter method for the pointer to a real-typed data pool item. | |
virtual TD_Integer * | getPointerIntegerValue (TD_DataPoolId id) |
Getter method for the pointer to an integer-typed data pool item. | |
virtual DC_DataItem * | getDataItem (TD_DataPoolId id) |
Getter method for a data item that encapsulates a data pool item. | |
virtual bool | isValid (TD_DataPoolId id) |
Return the validity status of a data pool item. | |
virtual void | setValidityStatus (TD_DataPoolId id, bool newValidityStatus) |
Set the validity status of a data pool item. | |
virtual MonitoringProfile * | getMonitoringProfile (TD_DataPoolId id) |
Get the monitoring profile for a data pool item. | |
virtual void | setMonitoringProfile (TD_DataPoolId id, MonitoringProfile *pMonitoringProfile) |
Set the monitoring profile for a data pool item. | |
virtual TD_DataPoolId | firstIdentifier (void) |
Iteration method that resets the iteration and returns the lowest indentifier of the items in the data pool. | |
virtual TD_DataPoolId | nextIdentifier (void) |
Iteration method that returns the next identifier in an iteration. | |
virtual bool | isLastIdentifier (void) |
Iteration method that returns the next identifier in an iteration. | |
virtual void | reset (void) |
Implement the data pool reset service. | |
virtual bool | isObjectConfigured (void) |
Perform a class-specific configuration check. |
|
Instantiate a data pool component.
The class identifier is set. All internal data structures are allocated and initialized. The data pool is internally implemented as a linear array. In order to avoid alignment problems, this array is forced to be aligned with an 8-byte word boundary (more specifically, it is aligned with a location that can store a value of type Definition at line 22 of file DC_SampleMonitoredDataPool.cpp. |
|
Iteration method that resets the iteration and returns the lowest indentifier of the items in the data pool.
Reimplemented from DataPool. Definition at line 191 of file DC_SampleMonitoredDataPool.cpp. |
|
Getter method for a data item that encapsulates a data pool item. This method implements the data item link mechanism. If the validity status of the data pool item is "not valid", then the data item returned by this method is dynamically reconfigured to point to back up value of the data pool item.
Reimplemented from DataPool. Definition at line 154 of file DC_SampleMonitoredDataPool.cpp. |
|
Getter method for the value of a real-typed data pool item. This method implements the copy link mechanism for real-valued data. If the validity status of the data pool item is "not valid", then the back up value of the data pool item is returned.
Implements DataPool. Definition at line 125 of file DC_SampleMonitoredDataPool.cpp. |
|
Getter method for the value of an integer-typed data pool item. This method implements the copy link mechanism for integer-valued data. If the validity status of the data pool item is "not valid", then the back up value of the data pool item is returned.
Implements DataPool. Definition at line 134 of file DC_SampleMonitoredDataPool.cpp. |
|
Get the monitoring profile for a data pool item.
The component that is returned by this method is the component that is set loaded with method
Reimplemented from DataPool. Definition at line 179 of file DC_SampleMonitoredDataPool.cpp. |
|
Getter method for the pointer to a real-typed data pool item. This method implements the pointer link mechanism for real-typed data.
Implements DataPool. Definition at line 143 of file DC_SampleMonitoredDataPool.cpp. |
|
Getter method for the pointer to an integer-typed data pool item. This method implements the pointer link mechanism for integer-typed data.
Implements DataPool. Definition at line 148 of file DC_SampleMonitoredDataPool.cpp. |
|
Iteration method that returns the next identifier in an iteration.
Reimplemented from DataPool. Definition at line 207 of file DC_SampleMonitoredDataPool.cpp. |
|
Perform a class-specific configuration check. The following checks are performed:
Reimplemented from CC_RootObject. Definition at line 213 of file DC_SampleMonitoredDataPool.cpp. |
|
Return the validity status of a data pool item.
The value that is returned is the value that is set with method
Reimplemented from DataPool. Definition at line 159 of file DC_SampleMonitoredDataPool.cpp. |
|
Iteration method that returns the next identifier in an iteration.
Reimplemented from DataPool. Definition at line 199 of file DC_SampleMonitoredDataPool.cpp. |
|
Implement the data pool reset service. The validity status of all data pool item is reset to the value it had at the time the data pool component was created.
Reimplemented from DataPool. Definition at line 226 of file DC_SampleMonitoredDataPool.cpp. |
|
Set the monitoring profile for a data pool item.
Definition at line 184 of file DC_SampleMonitoredDataPool.cpp. |
|
Set the validity status of a data pool item. If the data pool item identifier has an out-of-range value, then no action is taken other than generating an event of type EVT_ILLEGAL_DP_ACCESS.
Reimplemented from DataPool. Definition at line 164 of file DC_SampleMonitoredDataPool.cpp. |
|
Setter method for the value of an integer-typed data pool item. If the validity status of the data pool item is "valid", then its back up value is also updated.
Implements DataPool. Definition at line 118 of file DC_SampleMonitoredDataPool.cpp. |
|
Setter method for the value of a real-typed data pool item. If the validity status of the data pool item is "valid", then its back up value is also updated.
Implements DataPool. Definition at line 111 of file DC_SampleMonitoredDataPool.cpp. |