57 #ifndef _RNR_SESSION_WIN_H 58 #define _RNR_SESSION_WIN_H 64 #include "rnr/rnrconfig.h" 101 static const char *
const VideoDevNameDft;
102 static const int VideoIndexDft = 0;
103 static const int VideoPortDft = 4000;
113 const std::string &strSessionName =
"Session",
115 Session(nSessionId, strSessionName),
261 #endif // _RNR_SESSION_WIN_H
SessionWin(int nSessionId=0, const std::string &strSessionName="Session", Win *pWin=NULL)
Default initialization contructor.
Win & win()
Get the session window object.
int getVideoIndex()
Get the video device index.
number of video source types
VideoSrcType
Video source types.
std::string m_strVideoDevName
video device name
int m_nVideoPort
video stream UDP/IP port
Win * getWin()
Get the session window object.
Finite State Machine interface.
source direct from video device
RoadNarrows Robotics Win abstract base class interface.
Win * m_pWin
application main gui window
VideoSrcType getVideoSrcType()
Get the video source type.
void setWin(Win *pWin)
Set session's window.
void setVideoPort(int nVideoPort)
Set the video stream port.
int getVideoPort()
Get the video stream port.
int m_nVideoIndex
video index (device minor number)
RNR Win window abstract base class.
State base class interface.
void setVideoSrcType(VideoSrcType eVideoSrcType)
Set the video source type.
int setVideoDevice(const std::string &strVideoDevName)
Set the video device name.
VideoSrcType m_eVideoSrcType
video source type
std::string getVideoDevName()
Get the video device name.