![]() |
appkit
1.5.1
RoadNarrows Robotics Application Kit
|
#include <State.orig.h>
Public Member Functions | |
| StateCvCamera (Session &session, const CvSize &sizeDisplay, const CameraRes eVideoRes, const CameraRes eImageRes, int nInitAction=UIActionNone) | |
| virtual int | getNextAction (Session &session, int nTimeoutMs) |
| bool | isPaused () |
| Test if state is paused. More... | |
| void | setPauseState (bool bPaused) |
| virtual void | cloneFrame (Session &session) |
| virtual void | markupImg (Session &session) |
| virtual void | showMarkupImg (Session &session) |
| virtual void | showImg (Session &session, IplImage *pImg) |
| virtual void | transRunVideo (Session &session) |
| virtual void | transRunMarkupVideo (Session &session) |
| virtual void | transStopVideo (Session &session) |
Public Member Functions inherited from rnr::State | |
| State (int nStateId, const std::string &strStateName="", const std::string &strRefTag="") | |
| Initialization constructor. More... | |
| State (int nStateId, const std::string &strStateName, const std::string &strRefTag, StateEvent *listStateEvents[]) | |
| List constructor. More... | |
| virtual | ~State () |
| Destructor. | |
| int | addStateEvents (StateEvent *pStateEvent,...) |
| Add a list of state events to this state. More... | |
| void | addStateEvent (StateEvent *pStateEvent) |
| Add state to this state. More... | |
| bool | deleteStateEvent (int nEventId) |
| Delete state event from this state. More... | |
| uint_t | setTimeOut (uint_t usecTimeOut) |
| Set recieve event time out. More... | |
| uint_t | getTimeOut () |
| Get recieve event time out. More... | |
| virtual int | receiveEvent () |
| Receive next event. More... | |
| virtual void | queueNextEvent (int nEventId) |
| Queue the next event to be "recieved". More... | |
| virtual int | dispatchEvent (int nPrevStateId, int nEventId) |
| Dispatch received event by executing associated action and transitioning to the next state. More... | |
| virtual void | actionEnterState (int nPrevStateId, int nEventId) |
| Execute 'enter state' action. More... | |
| virtual void | actionExitState (int nNextStateId, int nEventId) |
| Execute 'exit state' action. More... | |
| virtual int | actionDefault (int nPrevStateId, int nEventId) |
| Execute 'default' action. More... | |
| int | getStateId () const |
| Get state id. More... | |
| std::string | getStateName () const |
| Get state name. More... | |
| std::string | getRefTag () const |
| Get state reference tag. More... | |
| std::string | getEventName (int nEventId) |
| Get state event name. More... | |
| std::string | getActionName (int nEventId) |
| Get state action name. More... | |
| virtual void | printState (FILE *fp=stdout, int indent=0) |
| Print out state. More... | |
| State (Session &session, int nInitAction=UIActionNone) | |
| virtual int | setNextAction (int nAction) |
| Set the next input action to process. More... | |
| int | getCurAction () |
| Get the currently retrieved input action. More... | |
| bool | hasFatal () |
| Test if state has fatal condition. More... | |
| void | setFatal () |
| bool | isModified () |
| void | setModifiedState (bool bModified) |
| void | maskHardButton (bool bEnDis) |
| Enable/disable masking of hard button input. More... | |
| virtual bool | isHardButtonPushed (Session &session) |
| virtual void | prompt (Session &session) |
| Prompt user, given the state. More... | |
| virtual void | setMenuStates (Session &session) |
| virtual void | transQuit (Session &session) |
| virtual void | transPrev (Session &session) |
Public Attributes | |
| CvCamera | m_camera |
| video camera instance | |
| IplImage * | m_pImgMarked |
| pointer to marked up image | |
| IplImage * | m_pImgDisplay |
| pointer to displayed image | |
| CvSize | m_sizeDisplay |
| size of display region | |
| CameraRes | m_eVideoRes |
| video resolution | |
| WinIoI * | m_pTransIoI |
| displayed ioi transformation | |
| bool | m_bPaused |
| capturing images is [not] paused | |
Protected Member Functions | |
| virtual void | buildInterface (Session &session) |
| virtual void | destroyInterface () |
Protected Member Functions inherited from rnr::State | |
| void | init (int nStateId, const std::string &strStateName="", const std::string &strRefTag="") |
| Initialize data. More... | |
| virtual std::string | getReservedStateName (int nStateId) |
| Get the reserved state name. More... | |
| virtual void | initButtonMenu () |
Additional Inherited Members | |
Public Types inherited from rnr::State | |
| typedef std::map< int, StateEvent * > | TransTblMap_T |
| transition table type | |
Static Public Attributes inherited from rnr::State | |
| static const int | StateIdUndef = 0 |
| undefined state | |
| static const int | StateIdStart = 1 |
| start state | |
| static const int | StateIdPrev = 2 |
| the previous state | |
| static const int | StateIdThis = 3 |
| the current (this) state | |
| static const int | StateIdTerminate = 4 |
| terminate state | |
| static const int | StateIdNumOf = 5 |
| number of reserved state id's | |
Protected Attributes inherited from rnr::State | |
| int | m_nStateId |
| state id | |
| std::string | m_strStateName |
| state name | |
| std::string | m_strRefTag |
| state tag (short id string) | |
| TransTblMap_T | m_mapTransTbl |
| state transition table | |
| int | m_nQueuedEventId |
| queue state event | |
| bool | m_bHasQueuedEvent |
| [no] queued state event | |
| uint_t | m_usecTimeOut |
| receive event time out (useconds) | |
| Window * | m_pWin |
| bound window | |
| Menu * | m_pMenu |
| button menu | |
| int | m_nInitAction |
| initial state input action | |
| int | m_nCurAction |
| current state input action | |
| bool | m_bFatal |
| fatal error | |
| bool | m_bModified |
| state [not] modified | |
| bool | m_bHardBttnEnable |
| enable/disable hard button input | |
OpenCV Video Camera Control Workflow State Data Class
Definition at line 279 of file State.orig.h.
|
inline |
Test if state is paused.
Definition at line 305 of file State.orig.h.