Ginan
Loading...
Searching...
No Matches
algebraTrace.hpp File Reference

Data Structures

struct  TransitionMatrixObject
 

Functions

void spitFilterToFileQueued (shared_ptr< void > &object_ptr, E_SerialObject type, string filename)
 
template<class TYPE >
void spitFilterToFile (TYPE &object, E_SerialObject type, string filename, bool queue=false)
 Output filter state to a file for later reading.
 
template<class TYPE >
bool getFilterObjectFromFile (E_SerialObject expectedType, TYPE &object, long int &startPos, string filename)
 
E_SerialObject getFilterTypeFromFile (long int &startPos, string filename)
 Returns the type of object that is located at the specified position in a file.
 
void tryPrepareFilterPointers (KFState &kfState, ReceiverMap &receiverMap)
 

Enumerations

enum class  E_SerialObject : int {
  NONE , FILTER_MINUS , FILTER_PLUS , FILTER_SMOOTHED ,
  TRANSITION_MATRIX , NAVIGATION_DATA , STRING , MEASUREMENT ,
  METADATA
}
 Types of objects that are stored in kalman filter binary archives. More...
 

Enumeration Type Documentation

◆ E_SerialObject

enum class E_SerialObject : int
strong

Types of objects that are stored in kalman filter binary archives.

Enumerator
NONE 
FILTER_MINUS 
FILTER_PLUS 
FILTER_SMOOTHED 
TRANSITION_MATRIX 
NAVIGATION_DATA 
STRING 
MEASUREMENT 
METADATA 

Function Documentation

◆ getFilterObjectFromFile()

template<class TYPE >
bool getFilterObjectFromFile ( E_SerialObject expectedType,
TYPE & object,
long int & startPos,
string filename )
Parameters
expectedTypeThe expected type of object, (determine using getFilterTypeFromFile() first)
objectThe pre-declared object to set the value of
startPosThe position in the file of the object's record
filenameThe path to the archive file to read from
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFilterTypeFromFile()

E_SerialObject getFilterTypeFromFile ( long int & startPos,
string filename )

Returns the type of object that is located at the specified position in a file.

Parameters
startPosPosition of object
filenamePath to archive file
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spitFilterToFile()

template<class TYPE >
void spitFilterToFile ( TYPE & object,
E_SerialObject type,
string filename,
bool queue = false )

Output filter state to a file for later reading.

Uses a binary archive which requires all of the relevant class members to have serialization functions written. Output format is TypeId, ObjectData, NumBytes - this allows seeking backward from the end of the file to the beginning of each object.

Parameters
objectObject to output
typeType of object
filenamePath to file to output to
queueOptionally queue outputs in a separate thread
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spitFilterToFileQueued()

void spitFilterToFileQueued ( shared_ptr< void > & object_ptr,
E_SerialObject type,
string filename )
Parameters
object_ptrObject to output
typeType of object
filenamePath to file to output to
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tryPrepareFilterPointers()

void tryPrepareFilterPointers ( KFState & kfState,
ReceiverMap & receiverMap )
Here is the caller graph for this function: