Spacecraft Control Framework 1.0
Spacecraft Control Library
Public Member Functions | Protected Attributes | List of all members
ccsds_data Class Reference

Public Member Functions

 ccsds_data (void)
 Constructor.
 
 ~ccsds_data (void)
 Destructor.
 
int get_type (void)
 Get the data type.
 
void set_type (int type)
 Set the data type.
 
int get_location_in_frame (void)
 Get the location in the CCSDS frame.
 
void set_location_in_frame (int location)
 Set the location in the CCSDS frame.
 
void deallocate_memory (int type)
 Deallocate memory.
 
double get_double (void)
 Get value of the data.
 
float get_float (void)
 
int8_t get_int8 (void)
 
int16_t get_int16 (void)
 
int32_t get_int32 (void)
 
bool get_boolean (void)
 
void set_double (double new_data)
 
void set_float (float new_data)
 
void set_int8 (int8_t new_data)
 
void set_int16 (int16_t new_data)
 
void set_int32 (int32_t new_data)
 
void set_boolean (bool new_data)
 

Protected Attributes

int type
 Type of data.
 
int location_in_frame
 Location of data in the frame.
 
int number_of_octets
 Number of octets.
 
double * data_double
 Storage for the data.
 
float * data_float
 
int32_t * data_int32
 
int16_t * data_int16
 
int8_t * data_int8
 
bool * data_boolean