F´ Flight Software - C/C++ Documentation  NASA-v1.5.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
PrmDbComponentAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title PrmDbComponentAc.hpp
3 // \author Auto-generated
4 // \brief hpp file for PrmDb component base class
5 //
6 // \copyright
7 // Copyright 2009-2015, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 //
11 // ======================================================================
12 
13 #ifndef PRMDB_COMP_HPP_
14 #define PRMDB_COMP_HPP_
15 
16 #include <FpConfig.hpp>
20 #include <Os/Mutex.hpp>
21 #include <Fw/Cmd/CmdString.hpp>
22 #include <Fw/Time/TimePortAc.hpp>
23 #include <Fw/Log/LogString.hpp>
24 #include <Fw/Prm/PrmBuffer.hpp>
25 #include <Fw/Cmd/CmdArgBuffer.hpp>
26 #include <Fw/Time/Time.hpp>
27 #include <Fw/Log/LogBuffer.hpp>
28 #include <Fw/Log/TextLogString.hpp>
29 #include <Fw/Prm/PrmGetPortAc.hpp>
30 #include <Fw/Prm/PrmSetPortAc.hpp>
31 #include <Svc/Ping/PingPortAc.hpp>
32 #include <Fw/Cmd/CmdPortAc.hpp>
34 #include <Fw/Cmd/CmdRegPortAc.hpp>
35 #include <Fw/Time/TimePortAc.hpp>
36 #include <Fw/Log/LogPortAc.hpp>
37 #if FW_ENABLE_TEXT_LOGGING == 1
38 #include <Fw/Log/LogTextPortAc.hpp>
39 #endif
40 
41 namespace Svc {
42 
48  {
49 
50  // ----------------------------------------------------------------------
51  // Friend classes
52  // ----------------------------------------------------------------------
53 
57 
58  public:
59 
60  // ----------------------------------------------------------------------
61  // Getters for typed input ports
62  // ----------------------------------------------------------------------
63 
70  );
71 
78  );
79 
86  );
87 
94  );
95 
96  public:
97 
98  // ----------------------------------------------------------------------
99  // Connect typed input ports to typed output ports
100  // ----------------------------------------------------------------------
101 
106  Svc::InputPingPort *port
107  );
108 
114  );
115 
120  Fw::InputCmdRegPort *port
121  );
122 
125  void set_Time_OutputPort(
127  Fw::InputTimePort *port
128  );
129 
132  void set_Log_OutputPort(
134  Fw::InputLogPort *port
135  );
136 
137 #if FW_ENABLE_TEXT_LOGGING == 1
138  void set_LogText_OutputPort(
142  Fw::InputLogTextPort *port
143  );
144 #endif
145 
146 #if FW_PORT_SERIALIZATION
147 
148  public:
149 
150  // ----------------------------------------------------------------------
151  // Connect serialization input ports to typed output ports
152  // ----------------------------------------------------------------------
153 
158  Fw::InputSerializePort *port
159  );
160 
165  Fw::InputSerializePort *port
166  );
167 
172  Fw::InputSerializePort *port
173  );
174 
177  void set_Time_OutputPort(
179  Fw::InputSerializePort *port
180  );
181 
184  void set_Log_OutputPort(
186  Fw::InputSerializePort *port
187  );
188 
189 #if FW_ENABLE_TEXT_LOGGING == 1
190  void set_LogText_OutputPort(
194  Fw::InputSerializePort *port
195  );
196 #endif
197 
198 #endif
199 
200  public:
201 
202  // ----------------------------------------------------------------------
203  // Command registration
204  // ----------------------------------------------------------------------
205 
210  void regCommands(void);
211 
213 
214  // ----------------------------------------------------------------------
215  // Component construction, initialization, and destruction
216  // ----------------------------------------------------------------------
217 
218 #if FW_OBJECT_NAMES == 1
222  const char* compName
223  );
224 #else
225  PrmDbComponentBase(void);
228 #endif
229 
232  void init(
233  NATIVE_INT_TYPE queueDepth,
234  NATIVE_INT_TYPE instance = 0
235  );
236 
239  virtual ~PrmDbComponentBase(void);
240 
242 
243  // ----------------------------------------------------------------------
245  // ----------------------------------------------------------------------
248  // ----------------------------------------------------------------------
249 
252  virtual void lock(void);
253 
256  virtual void unLock(void);
257 
259 
260  // ----------------------------------------------------------------------
261  // Handlers to implement for typed input ports
262  // ----------------------------------------------------------------------
263 
265  //
266  virtual Fw::ParamValid getPrm_handler(
270  ) = 0;
271 
273  //
274  virtual void setPrm_handler(
276  FwPrmIdType id,
278  ) = 0;
279 
281  //
282  virtual void pingIn_handler(
284  U32 key
285  ) = 0;
286 
288 
289  // ----------------------------------------------------------------------
290  // Port handler base-class functions for typed input ports.
291  // ----------------------------------------------------------------------
292  // Call these functions directly to bypass the corresponding ports.
293  // ----------------------------------------------------------------------
294 
297  Fw::ParamValid getPrm_handlerBase(
299  FwPrmIdType id,
301  );
302 
305  void setPrm_handlerBase(
307  FwPrmIdType id,
309  );
310 
313  void pingIn_handlerBase(
315  U32 key
316  );
317 
319 
320  // ----------------------------------------------------------------------
321  // Pre-message hooks for typed async input ports.
322  // ----------------------------------------------------------------------
323  // Each of these functions is invoked just before processing a message
324  // on the corresponding port. By default they do nothing. You can
325  // override them to provide specific pre-message behavior.
326  // ----------------------------------------------------------------------
327 
330  virtual void setPrm_preMsgHook(
332  FwPrmIdType id,
334  );
335 
338  virtual void pingIn_preMsgHook(
340  U32 key
341  );
342 
344 
345  // ----------------------------------------------------------------------
346  // Invocation functions for typed output ports
347  // ----------------------------------------------------------------------
348 
351  void pingOut_out(
353  U32 key
354  );
355 
357 
358  // ----------------------------------------------------------------------
359  // Getters for numbers of input ports
360  // ----------------------------------------------------------------------
361 
366  NATIVE_INT_TYPE getNum_getPrm_InputPorts(void);
367 
373 
379 
385 
386 
387  // ----------------------------------------------------------------------
388  // Enumerations for number of ports
389  // ----------------------------------------------------------------------
390 
391  enum {
396  };
397 
399 
400  // ----------------------------------------------------------------------
401  // Getters for numbers of output ports
402  // ----------------------------------------------------------------------
403 
408  NATIVE_INT_TYPE getNum_pingOut_OutputPorts(void);
409 
415 
421 
427 
433 
434 #if FW_ENABLE_TEXT_LOGGING == 1
435  NATIVE_INT_TYPE getNum_LogText_OutputPorts(void);
440 #endif
441 
442 
443  enum {
450  };
451 
453 
454  // ----------------------------------------------------------------------
455  // Connection status queries for output ports
456  // ----------------------------------------------------------------------
457 
462  bool isConnected_pingOut_OutputPort(
464  );
465 
472  );
473 
480  );
481 
488  );
489 
496  );
497 
498 #if FW_ENABLE_TEXT_LOGGING == 1
499  bool isConnected_LogText_OutputPort(
505  );
506 #endif
507 
509 
510  // ----------------------------------------------------------------------
511  // Command opcodes
512  // ----------------------------------------------------------------------
513 
514  enum {
515  OPCODE_PRM_SAVE_FILE = 0, /* Command to save parameter image to file. Uses file name passed to constructor */
516  };
517 
519 
520  // ----------------------------------------------------------------------
521  // Command handlers to implement
522  // ----------------------------------------------------------------------
523 
525  /* Command to save parameter image to file. Uses file name passed to constructor */
526  virtual void PRM_SAVE_FILE_cmdHandler(
527  FwOpcodeType opCode,
528  U32 cmdSeq
529  ) = 0;
530 
532 
533  // ----------------------------------------------------------------------
534  // Pre-message hooks for async commands.
535  // ----------------------------------------------------------------------
536  // Each of these functions is invoked just before processing the
537  // corresponding command. By default they do nothing. You can
538  // override them to provide specific pre-command behavior.
539  // ----------------------------------------------------------------------
540 
543  virtual void PRM_SAVE_FILE_preMsgHook(
544  FwOpcodeType opCode,
545  U32 cmdSeq
546  );
547 
549 
550  // ----------------------------------------------------------------------
551  // Command handler base-class functions.
552  // Call these functions directly to bypass the command input port.
553  // ----------------------------------------------------------------------
554 
557  void PRM_SAVE_FILE_cmdHandlerBase(
558  FwOpcodeType opCode,
559  U32 cmdSeq,
561  );
562 
564 
565  // ----------------------------------------------------------------------
566  // Command response
567  // ----------------------------------------------------------------------
568 
571  void cmdResponse_out(
572  FwOpcodeType opCode,
573  U32 cmdSeq,
575  );
576 
578 
579  // ----------------------------------------------------------------------
580  // Event IDs
581  // ----------------------------------------------------------------------
582 
583  enum {
584  EVENTID_PRMIDNOTFOUND = 0, /* Parameter ID not found in database. */
585  EVENTID_PRMIDUPDATED = 1, /* Parameter ID updated in database */
586  EVENTID_PRMDBFULL = 2, /* Parameter database is full */
587  EVENTID_PRMIDADDED = 3, /* Parameter ID added to database */
588  EVENTID_PRMFILEWRITEERROR = 4, /* Failed to write parameter file */
589  EVENTID_PRMFILESAVECOMPLETE = 5, /* Save of parameter file completed */
590  EVENTID_PRMFILEREADERROR = 6, /* Failed to read parameter file */
591  EVENTID_PRMFILELOADCOMPLETE = 7, /* Load of parameter file completed */
592  };
593 
594  // ----------------------------------------------------------------------
595  // Event Throttle values - sets initial value of countdown variable
596  // ----------------------------------------------------------------------
597 
598  enum {
600  };
601 
603 
604  // ----------------------------------------------------------------------
605  // Event enums
606  // ----------------------------------------------------------------------
607 
608  typedef enum {
609  PRM_WRITE_OPEN, /* */
618  PrmWriteError_MAX
620 
621  typedef enum {
635 
637 
638  // ----------------------------------------------------------------------
639  // Event logging functions
640  // ----------------------------------------------------------------------
641 
644  /* Parameter ID not found in database. */
645  void log_WARNING_LO_PrmIdNotFound(
646  U32 Id
647  );
648 
649  // reset throttle value for PrmIdNotFound
651 
654  /* Parameter ID updated in database */
656  U32 Id
657  );
658 
659 
662  /* Parameter database is full */
663  void log_FATAL_PrmDbFull(
664  U32 Id
665  );
666 
667 
670  /* Parameter ID added to database */
672  U32 Id
673  );
674 
675 
678  /* Failed to write parameter file */
680  PrmWriteError stage,
681  I32 record,
682  I32 error
683  );
684 
685 
688  /* Save of parameter file completed */
690  U32 records
691  );
692 
693 
696  /* Failed to read parameter file */
698  PrmReadError stage,
699  I32 record,
700  I32 error
701  );
702 
703 
706  /* Load of parameter file completed */
708  U32 records
709  );
710 
711 
713 
714  // ----------------------------------------------------------------------
715  // Time
716  // ----------------------------------------------------------------------
717 
722  Fw::Time getTime(void);
723 
724 
726 
727  // ----------------------------------------------------------------------
728  // Typed input ports
729  // ----------------------------------------------------------------------
730 
733  Fw::InputPrmGetPort m_getPrm_InputPort[NUM_GETPRM_INPUT_PORTS];
734 
738 
742 
746 
748 
749  // ----------------------------------------------------------------------
750  // Typed output ports
751  // ----------------------------------------------------------------------
752 
755  Svc::OutputPingPort m_pingOut_OutputPort[NUM_PINGOUT_OUTPUT_PORTS];
756 
760 
764 
768 
772 
773 #if FW_ENABLE_TEXT_LOGGING == 1
774  Fw::OutputLogTextPort m_LogText_OutputPort[NUM_LOGTEXT_OUTPUT_PORTS];
777 #endif
778 
780 
781  // ----------------------------------------------------------------------
782  // Calls for messages received on typed input ports
783  // ----------------------------------------------------------------------
784 
787  static Fw::ParamValid m_p_getPrm_in(
788  Fw::PassiveComponentBase* callComp,
792  );
793 
796  static void m_p_setPrm_in(
797  Fw::PassiveComponentBase* callComp,
799  FwPrmIdType id,
801  );
802 
805  static void m_p_pingIn_in(
806  Fw::PassiveComponentBase* callComp,
808  U32 key
809  );
810 
813  static void m_p_CmdDisp_in(
814  Fw::PassiveComponentBase* callComp,
816  FwOpcodeType opCode,
817  U32 cmdSeq,
819  );
820 
822 
823  // ----------------------------------------------------------------------
824  // Message dispatch functions
825  // ----------------------------------------------------------------------
826 
829  virtual MsgDispatchStatus doDispatch(void);
830 
832 
833  // ----------------------------------------------------------------------
834  // Mutexes
835  // ----------------------------------------------------------------------
836 
839  Os::Mutex m_guardedPortMutex;
840 
841 
843  // ----------------------------------------------------------------------
844  // Counter values for event throttling
845  // ----------------------------------------------------------------------
846  NATIVE_UINT_TYPE m_PrmIdNotFoundThrottle;
847 
848  };
849 
850 } // end namespace Svc
851 #endif
Svc::PrmDbComponentBase::get_setPrm_InputPort
Fw::InputPrmSetPort * get_setPrm_InputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:94
Fw::InputTimePort
Definition: TimePortAc.hpp:28
Svc::PrmDbComponentBase::PRM_READ_RECORD_SIZE_SIZE
@ PRM_READ_RECORD_SIZE_SIZE
Definition: PrmDbComponentAc.hpp:627
LogBuffer.hpp
PRIVATE
#define PRIVATE
overridable private for unit testing
Definition: BasicTypes.hpp:118
PrmGetPortAc.hpp
Svc::PrmDbComponentBase::log_ACTIVITY_HI_PrmFileSaveComplete
void log_ACTIVITY_HI_PrmFileSaveComplete(U32 records)
Definition: PrmDbComponentAc.cpp:1417
Fw::Time
Definition: Time.hpp:10
Fw::QueuedComponentBase::doDispatch
virtual MsgDispatchStatus doDispatch(void)=0
method to dispatch a single message in the queue.
Svc::PrmDbComponentBase::regCommands
void regCommands(void)
Register commands with the Command Dispatcher.
Definition: PrmDbComponentAc.cpp:255
Fw::CommandResponse
CommandResponse
Definition: CmdResponsePortAc.hpp:24
Svc::PrmDbComponentBase
Auto-generated base for PrmDb component.
Definition: PrmDbComponentAc.hpp:48
Svc::PrmDbComponentBase::get_CmdDisp_InputPort
Fw::InputCmdPort * get_CmdDisp_InputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:108
Svc::PrmDbComponentBase::args
PROTECTED U32 Fw::CmdArgBuffer & args
Definition: PrmDbComponentAc.hpp:561
Svc::PrmDbComponentBase::isConnected_CmdReg_OutputPort
bool isConnected_CmdReg_OutputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:680
Svc::PrmDbComponentBase::getNum_pingIn_InputPorts
NATIVE_INT_TYPE getNum_pingIn_InputPorts(void)
Definition: PrmDbComponentAc.cpp:590
Svc::PrmDbComponentBase::m_p_setPrm_in
static void m_p_setPrm_in(Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwPrmIdType id, Fw::ParamBuffer &val)
Definition: PrmDbComponentAc.cpp:1780
Svc::PrmDbComponentBase::EVENTID_PRMIDADDED
PROTECTED EVENTID_PRMIDADDED
Definition: PrmDbComponentAc.hpp:587
Svc::PrmDbComponentBase::PRM_READ_RECORD_SIZE_VALUE
@ PRM_READ_RECORD_SIZE_VALUE
Definition: PrmDbComponentAc.hpp:628
Svc::PrmDbComponentBase::m_setPrm_InputPort
Fw::InputPrmSetPort m_setPrm_InputPort[NUM_SETPRM_INPUT_PORTS]
Definition: PrmDbComponentAc.hpp:737
Svc::PrmDbComponentBase::NUM_CMDSTATUS_OUTPUT_PORTS
@ NUM_CMDSTATUS_OUTPUT_PORTS
Definition: PrmDbComponentAc.hpp:445
Svc::PrmDbComponentBase::EVENTID_PRMIDNOTFOUND_THROTTLE
@ EVENTID_PRMIDNOTFOUND_THROTTLE
Definition: PrmDbComponentAc.hpp:599
PrmSetPortAc.hpp
Fw::OutputCmdResponsePort
Definition: CmdResponsePortAc.hpp:58
PrmBuffer.hpp
Fw::InputCmdRegPort
Definition: CmdRegPortAc.hpp:27
CmdRegPortAc.hpp
Svc::PrmDbComponentBase::get_pingIn_InputPort
Svc::InputPingPort * get_pingIn_InputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:101
Svc::PrmDbComponentBase::set_Log_OutputPort
void set_Log_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputLogPort *port)
Definition: PrmDbComponentAc.cpp:159
Svc::PrmDbComponentBase::PRM_READ_RECORD_SIZE
@ PRM_READ_RECORD_SIZE
Definition: PrmDbComponentAc.hpp:626
Svc::PrmDbComponentBase::getNum_CmdStatus_OutputPorts
NATIVE_INT_TYPE getNum_CmdStatus_OutputPorts(void)
Definition: PrmDbComponentAc.cpp:614
Svc::PrmDbComponentBase::m_Log_OutputPort
Fw::OutputLogPort m_Log_OutputPort[NUM_LOG_OUTPUT_PORTS]
Definition: PrmDbComponentAc.hpp:771
Svc::PrmDbComponentBase::PRM_READ_DELIMETER
@ PRM_READ_DELIMETER
Definition: PrmDbComponentAc.hpp:623
Svc::PrmDbComponentBase::EVENTID_PRMFILEWRITEERROR
PROTECTED EVENTID_PRMFILEWRITEERROR
Definition: PrmDbComponentAc.hpp:588
Svc::PrmDbComponentBase::response
PROTECTED U32 Fw::CommandResponse response
Definition: PrmDbComponentAc.hpp:575
Svc::PrmDbComponentBase::log_WARNING_LO_PrmIdNotFound_ThrottleClear
void log_WARNING_LO_PrmIdNotFound_ThrottleClear(void)
Definition: PrmDbComponentAc.cpp:972
Svc::PrmDbComponentBase::log_ACTIVITY_HI_PrmFileLoadComplete
void log_ACTIVITY_HI_PrmFileLoadComplete(U32 records)
Definition: PrmDbComponentAc.cpp:1649
TextLogString.hpp
InputSerializePort.hpp
Svc::PrmDbComponentBase::PRM_WRITE_PARAMETER_VALUE_SIZE
PROTECTED PRM_WRITE_PARAMETER_VALUE_SIZE
Definition: PrmDbComponentAc.hpp:617
Svc::PrmDbComponentBase::NUM_CMDDISP_INPUT_PORTS
@ NUM_CMDDISP_INPUT_PORTS
Definition: PrmDbComponentAc.hpp:395
CmdPortAc.hpp
Svc::PrmDbComponentBase::isConnected_CmdStatus_OutputPort
bool isConnected_CmdStatus_OutputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:670
Svc::PrmDbComponentBase::isConnected_Log_OutputPort
bool isConnected_Log_OutputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:700
Svc::PrmDbComponentBase::m_CmdDisp_InputPort
Fw::InputCmdPort m_CmdDisp_InputPort[NUM_CMDDISP_INPUT_PORTS]
Definition: PrmDbComponentAc.hpp:745
Svc::PrmDbComponentBase::m_pingIn_InputPort
Svc::InputPingPort m_pingIn_InputPort[NUM_PINGIN_INPUT_PORTS]
Definition: PrmDbComponentAc.hpp:741
Svc::PrmDbComponentBase::PRM_READ_PARAMETER_VALUE
@ PRM_READ_PARAMETER_VALUE
Definition: PrmDbComponentAc.hpp:631
Svc::PrmDbComponentBase::PROTECTED
PROTECTED PROTECTED
Definition: PrmDbComponentAc.hpp:516
Fw::PassiveComponentBase
Definition: PassiveComponentBase.hpp:10
LogString.hpp
Fw::ObjBase::init
void init(void)
Object initializer.
Definition: ObjBase.cpp:26
Svc::PrmDbComponentBase::NUM_PINGIN_INPUT_PORTS
@ NUM_PINGIN_INPUT_PORTS
Definition: PrmDbComponentAc.hpp:394
Fw::OutputLogPort
Definition: LogPortAc.hpp:61
Svc::PrmDbComponentBase::PrmReadError_MAX
@ PrmReadError_MAX
Definition: PrmDbComponentAc.hpp:633
Svc::PrmDbComponentBase::setPrm_handler
virtual void setPrm_handler(NATIVE_INT_TYPE portNum, FwPrmIdType id, Fw::ParamBuffer &val)=0
Handler for input port setPrm.
Svc::PrmDbComponentBase::pingIn_preMsgHook
virtual void pingIn_preMsgHook(NATIVE_INT_TYPE portNum, U32 key)
Definition: PrmDbComponentAc.cpp:1960
Svc::InputPingPort
Definition: PingPortAc.hpp:27
Svc::PrmDbComponentBase::PRM_READ_PARAMETER_VALUE_SIZE
@ PRM_READ_PARAMETER_VALUE_SIZE
Definition: PrmDbComponentAc.hpp:632
ActiveComponentBase.hpp
Svc::PrmDbComponentBase::cmdSeq
PROTECTED U32 cmdSeq
Definition: PrmDbComponentAc.hpp:529
Svc::PrmDbComponentBase::PRM_WRITE_PARAMETER_ID_SIZE
PROTECTED PRM_WRITE_PARAMETER_ID_SIZE
Definition: PrmDbComponentAc.hpp:615
Svc::PrmDbComponentBase::m_Time_OutputPort
Fw::OutputTimePort m_Time_OutputPort[NUM_TIME_OUTPUT_PORTS]
Definition: PrmDbComponentAc.hpp:767
Svc::OutputPingPort
Definition: PingPortAc.hpp:48
Svc::PrmDbComponentBase::get_getPrm_InputPort
Fw::InputPrmGetPort * get_getPrm_InputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:87
Svc::PrmDbComponentBase::PRM_READ_DELIMETER_SIZE
@ PRM_READ_DELIMETER_SIZE
Definition: PrmDbComponentAc.hpp:624
Svc::PrmDbComponentBase::set_pingOut_OutputPort
void set_pingOut_OutputPort(NATIVE_INT_TYPE portNum, Svc::InputPingPort *port)
Definition: PrmDbComponentAc.cpp:119
Svc::PrmDbComponentBase::PRM_READ_PARAMETER_ID_SIZE
@ PRM_READ_PARAMETER_ID_SIZE
Definition: PrmDbComponentAc.hpp:630
Svc::PrmDbComponentBase::pingIn_handler
virtual void pingIn_handler(NATIVE_INT_TYPE portNum, U32 key)=0
Handler for input port pingIn.
Svc::PrmDbComponentBase::EVENTID_PRMFILELOADCOMPLETE
PROTECTED EVENTID_PRMFILELOADCOMPLETE
Definition: PrmDbComponentAc.hpp:591
Os::Mutex
Definition: Mutex.hpp:8
FwOpcodeType
#define FwOpcodeType
Type representation for a command opcode.
Definition: FpConfig.hpp:62
Svc::PrmDbComponentBase::getNum_CmdReg_OutputPorts
NATIVE_INT_TYPE getNum_CmdReg_OutputPorts(void)
Definition: PrmDbComponentAc.cpp:622
Fw::QueuedComponentBase::MsgDispatchStatus
MsgDispatchStatus
Definition: QueuedComponentBase.hpp:25
Svc::PrmDbComponentBase::PRM_READ_DELIMETER_VALUE
@ PRM_READ_DELIMETER_VALUE
Definition: PrmDbComponentAc.hpp:625
Svc::PrmDbComponentBase::setPrm_handlerBase
void setPrm_handlerBase(NATIVE_INT_TYPE portNum, FwPrmIdType id, Fw::ParamBuffer &val)
Definition: PrmDbComponentAc.cpp:1834
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition: BasicTypes.hpp:30
Svc::PrmDbComponentBase::log_ACTIVITY_HI_PrmIdAdded
void log_ACTIVITY_HI_PrmIdAdded(U32 Id)
Definition: PrmDbComponentAc.cpp:1185
Svc::PrmDbComponentBase::pingIn_handlerBase
void pingIn_handlerBase(NATIVE_INT_TYPE portNum, U32 key)
Definition: PrmDbComponentAc.cpp:1894
PingPortAc.hpp
Svc::PrmDbComponentBase::set_CmdReg_OutputPort
void set_CmdReg_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputCmdRegPort *port)
Definition: PrmDbComponentAc.cpp:139
Fw::CmdArgBuffer
Definition: CmdArgBuffer.hpp:22
Svc::PrmDbComponentBase::log_WARNING_HI_PrmFileReadError
void log_WARNING_HI_PrmFileReadError(PrmReadError stage, I32 record, I32 error)
Definition: PrmDbComponentAc.cpp:1515
CmdString.hpp
Svc::PrmDbComponentBase::log_FATAL_PrmDbFull
void log_FATAL_PrmDbFull(U32 Id)
Definition: PrmDbComponentAc.cpp:1076
Svc::PrmDbComponentBase::PrmDbComponentBaseFriend
friend class PrmDbComponentBaseFriend
Definition: PrmDbComponentAc.hpp:56
Fw::OutputCmdRegPort
Definition: CmdRegPortAc.hpp:48
Svc::PrmDbComponentBase::NUM_GETPRM_INPUT_PORTS
@ NUM_GETPRM_INPUT_PORTS
Definition: PrmDbComponentAc.hpp:392
Svc::PrmDbComponentBase::val
PROTECTED FwPrmIdType Fw::ParamBuffer & val
Definition: PrmDbComponentAc.hpp:270
Svc::PrmDbComponentBase::PrmReadError
PrmReadError
Definition: PrmDbComponentAc.hpp:621
Svc::PrmDbComponentBase::~PrmDbComponentBase
virtual ~PrmDbComponentBase(void)
Definition: PrmDbComponentAc.cpp:551
Svc::PrmDbComponentBase::m_CmdStatus_OutputPort
Fw::OutputCmdResponsePort m_CmdStatus_OutputPort[NUM_CMDSTATUS_OUTPUT_PORTS]
Definition: PrmDbComponentAc.hpp:759
Svc::PrmDbComponentBase::NUM_LOGTEXT_OUTPUT_PORTS
@ NUM_LOGTEXT_OUTPUT_PORTS
Definition: PrmDbComponentAc.hpp:449
Fw::ParamBuffer
Definition: PrmBuffer.hpp:22
Fw::ActiveComponentBase
Definition: ActiveComponentBase.hpp:20
CmdResponsePortAc.hpp
Svc::PrmDbComponentBase::NUM_PINGOUT_OUTPUT_PORTS
@ NUM_PINGOUT_OUTPUT_PORTS
Definition: PrmDbComponentAc.hpp:444
Svc::PrmDbComponentBase::PRM_READ_PARAMETER_ID
@ PRM_READ_PARAMETER_ID
Definition: PrmDbComponentAc.hpp:629
LogTextPortAc.hpp
Svc::PrmDbComponentBase::m_p_CmdDisp_in
static void m_p_CmdDisp_in(Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: PrmDbComponentAc.cpp:726
Fw::InputCmdPort
Definition: CmdPortAc.hpp:28
Svc::PrmDbComponentBase::getNum_CmdDisp_InputPorts
NATIVE_INT_TYPE getNum_CmdDisp_InputPorts(void)
Definition: PrmDbComponentAc.cpp:606
FpConfig.hpp
ISF configuration file.
Svc::PrmDbComponentBase::PRM_READ_OPEN
@ PRM_READ_OPEN
Definition: PrmDbComponentAc.hpp:622
Svc::PrmDbComponentBase::PRM_WRITE_PARAMETER_VALUE
PROTECTED PRM_WRITE_PARAMETER_VALUE
Definition: PrmDbComponentAc.hpp:616
Svc::PrmDbComponentBase::log_ACTIVITY_HI_PrmIdUpdated
void log_ACTIVITY_HI_PrmIdUpdated(U32 Id)
Definition: PrmDbComponentAc.cpp:978
Svc::PrmDbComponentBase::getNum_Log_OutputPorts
NATIVE_INT_TYPE getNum_Log_OutputPorts(void)
Definition: PrmDbComponentAc.cpp:638
Fw::InputPrmGetPort
Definition: PrmGetPortAc.hpp:36
Svc::PrmDbComponentBase::EVENTID_PRMFILESAVECOMPLETE
PROTECTED EVENTID_PRMFILESAVECOMPLETE
Definition: PrmDbComponentAc.hpp:589
Svc::PrmDbComponentBase::getNum_setPrm_InputPorts
NATIVE_INT_TYPE getNum_setPrm_InputPorts(void)
Definition: PrmDbComponentAc.cpp:582
Svc::PrmDbComponentBase::portNum
PRIVATE NATIVE_INT_TYPE portNum
Definition: PrmDbComponentAc.hpp:789
Svc::PrmDbComponentBase::NUM_CMDREG_OUTPUT_PORTS
@ NUM_CMDREG_OUTPUT_PORTS
Definition: PrmDbComponentAc.hpp:446
Svc
Definition: ActiveLoggerComponentAc.cpp:22
Svc::PrmDbComponentBase::isConnected_Time_OutputPort
bool isConnected_Time_OutputPort(NATIVE_INT_TYPE portNum)
Definition: PrmDbComponentAc.cpp:690
Svc::PrmDbComponentBase::PRM_WRITE_DELIMETER_SIZE
PROTECTED PRM_WRITE_DELIMETER_SIZE
Definition: PrmDbComponentAc.hpp:611
Svc::PrmDbComponentBase::unLock
virtual void unLock(void)
Definition: PrmDbComponentAc.cpp:1757
Svc::PrmDbComponentBase::NUM_TIME_OUTPUT_PORTS
@ NUM_TIME_OUTPUT_PORTS
Definition: PrmDbComponentAc.hpp:447
Fw::InputCmdResponsePort
Definition: CmdResponsePortAc.hpp:37
Svc::PrmDbComponentBase::m_p_pingIn_in
static void m_p_pingIn_in(Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, U32 key)
Definition: PrmDbComponentAc.cpp:1793
FwPrmIdType
#define FwPrmIdType
Type representation for a parameter id.
Definition: FpConfig.hpp:74
Fw::ParamValid
ParamValid
Definition: PrmGetPortAc.hpp:25
Svc::PrmDbComponentBase::getNum_Time_OutputPorts
NATIVE_INT_TYPE getNum_Time_OutputPorts(void)
Definition: PrmDbComponentAc.cpp:630
Fw::InputLogPort
Definition: LogPortAc.hpp:40
Fw::OutputTimePort
Definition: TimePortAc.hpp:49
Svc::PrmDbComponentBase::set_Time_OutputPort
void set_Time_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputTimePort *port)
Definition: PrmDbComponentAc.cpp:149
Svc::PrmDbComponentBase::PrmWriteError
PROTECTED PrmWriteError_MAX PrmWriteError
Definition: PrmDbComponentAc.hpp:619
Svc::PrmDbComponentBase::PRM_WRITE_DELIMETER
PROTECTED PRM_WRITE_DELIMETER
Definition: PrmDbComponentAc.hpp:610
Svc::PrmDbComponentBase::EVENTID_PRMDBFULL
PROTECTED EVENTID_PRMDBFULL
Definition: PrmDbComponentAc.hpp:586
Svc::PrmDbComponentBase::key
PROTECTED U32 key
Definition: PrmDbComponentAc.hpp:354
Svc::PrmDbComponentBase::PRM_WRITE_PARAMETER_ID
PROTECTED PRM_WRITE_PARAMETER_ID
Definition: PrmDbComponentAc.hpp:614
Svc::PrmDbComponentBase::NUM_LOG_OUTPUT_PORTS
@ NUM_LOG_OUTPUT_PORTS
Definition: PrmDbComponentAc.hpp:448
Mutex.hpp
Svc::PrmDbComponentBase::log_WARNING_HI_PrmFileWriteError
void log_WARNING_HI_PrmFileWriteError(PrmWriteError stage, I32 record, I32 error)
Definition: PrmDbComponentAc.cpp:1283
Time.hpp
Svc::PrmDbComponentBase::PRM_WRITE_RECORD_SIZE
PROTECTED PRM_WRITE_RECORD_SIZE
Definition: PrmDbComponentAc.hpp:612
Svc::PrmDbComponentBase::EVENTID_PRMIDUPDATED
PROTECTED EVENTID_PRMIDUPDATED
Definition: PrmDbComponentAc.hpp:585
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:29
Fw::InputPrmSetPort
Definition: PrmSetPortAc.hpp:28
Svc::PrmDbComponentBase::EVENTID_PRMFILEREADERROR
PROTECTED EVENTID_PRMFILEREADERROR
Definition: PrmDbComponentAc.hpp:590
OutputSerializePort.hpp
Svc::PrmDbComponentBase::m_CmdReg_OutputPort
Fw::OutputCmdRegPort m_CmdReg_OutputPort[NUM_CMDREG_OUTPUT_PORTS]
Definition: PrmDbComponentAc.hpp:763
Svc::PrmDbComponentBase::set_CmdStatus_OutputPort
void set_CmdStatus_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputCmdResponsePort *port)
Definition: PrmDbComponentAc.cpp:129
TimePortAc.hpp
Svc::PrmDbComponentBase::NUM_SETPRM_INPUT_PORTS
@ NUM_SETPRM_INPUT_PORTS
Definition: PrmDbComponentAc.hpp:393
LogPortAc.hpp
Fw::OutputLogTextPort
Definition: LogTextPortAc.hpp:61
Svc::PrmDbComponentBase::PRM_WRITE_RECORD_SIZE_SIZE
PROTECTED PRM_WRITE_RECORD_SIZE_SIZE
Definition: PrmDbComponentAc.hpp:613
CmdArgBuffer.hpp
Fw::InputLogTextPort
Definition: LogTextPortAc.hpp:40